MediRecords FHIR Implementation Guide
1.3.0 - release


Resource Profile: MediRecords RelatedPerson

Defining URL:https://fhir.medirecords.com/StructureDefinition/mr-related-person-core
Version:1.3.0
Name:MRRelatedPerson
Title:MediRecords RelatedPerson
Status:Active as of 2023-12-21 01:01:27+0000
Definition:

MediRecords RelatedPerson profile to represent Patient's relationship with other individual

Source Resource:XML / JSON / Turtle

The official URL for this profile is:

https://fhir.medirecords.com/StructureDefinition/mr-related-person-core

Formal Views of Profile Content

Description of Profiles, Differentials, Snapshots and how the different presentations work.

This structure is derived from AUBaseRelatedPerson

Summary

Mandatory: 2 elements (18 nested mandatory elements)
Must-Support: 23 elements
Fixed Value: 12 elements
Prohibited: 1 element

Structures

This structure refers to these other structures:

Slices

This structure defines the following Slices:

  • The element RelatedPerson.telecom is sliced based on the values of value:use, value:system

This structure is derived from AUBaseRelatedPerson

This structure is derived from AUBaseRelatedPerson

Summary

Mandatory: 2 elements (18 nested mandatory elements)
Must-Support: 23 elements
Fixed Value: 12 elements
Prohibited: 1 element

Structures

This structure refers to these other structures:

Slices

This structure defines the following Slices:

  • The element RelatedPerson.telecom is sliced based on the values of value:use, value:system

Differential View

This structure is derived from AUBaseRelatedPerson

Snapshot View

 

Other representations of profile: CSV, Excel, Schematron

Terminology Bindings

PathConformanceValueSet / Code
RelatedPerson.meta.securityextensibleAll Security Labels
RelatedPerson.meta.tagexampleCommonTags
RelatedPerson.languagepreferredCommonLanguages
Additional Bindings Purpose
AllLanguages Max Binding
RelatedPerson.relationshipextensiblehttps://healthterminologies.gov.au/fhir/ValueSet/related-person-relationship-type-1
RelatedPerson.name.userequiredNameUse
RelatedPerson.telecom:email.systemrequiredFixed Value: email
RelatedPerson.telecom:email.userequiredFixed Value: home
RelatedPerson.telecom:homePhone.systemrequiredFixed Value: phone
RelatedPerson.telecom:homePhone.userequiredFixed Value: home
RelatedPerson.telecom:workPhone.systemrequiredFixed Value: phone
RelatedPerson.telecom:workPhone.userequiredFixed Value: work
RelatedPerson.telecom:mobile.systemrequiredFixed Value: phone
RelatedPerson.telecom:mobile.userequiredFixed Value: mobile
RelatedPerson.telecom:sms.systemrequiredFixed Value: sms
RelatedPerson.telecom:sms.userequiredFixed Value: mobile
RelatedPerson.telecom:letter.systemrequiredFixed Value: other
RelatedPerson.telecom:letter.userequiredFixed Value: home
RelatedPerson.genderrequiredAdministrativeGender
RelatedPerson.communication.languageextensiblehttps://healthterminologies.gov.au/fhir/ValueSet/common-languages-australia-2

Constraints

IdGradePath(s)DetailsRequirements
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
inv-mr-rp-telecom-email-value-01errorRelatedPerson.telecom:emailPlease Provide a valid email id
: value.matches('^[a-zA-Z0-9_!#$%&’*+/=?`{|}~^.-]+@[a-zA-Z0-9.-]+$')
inv-mr-rp-telecom-home-value-01errorRelatedPerson.telecom:homePhoneHome Phone must be of 10 digits
: value.matches('^([0-9]{10})$')
inv-mr-rp-telecom-mobile-value-01errorRelatedPerson.telecom:mobile, RelatedPerson.telecom:smsMobile Phone must be of 10 digits
: value.matches('^([0-9]{10})$')
inv-mr-rp-telecom-work-value-01errorRelatedPerson.telecom:workPhoneWork Phone must be of 10 digits
: value.matches('^([0-9]{10})$')