MediRecords FHIR Implementation Guide
20220926 - ci-build


Resource Profile: MediRecords Core RelatedPerson

Defining URL:https://fhir.medirecords.com/StructureDefinition/mr-related-person-core
Version:20220926
Name:MRRelatedPerson
Title:MediRecords RelatedPerson
Status:Active as of 2022-09-28 10:08:29+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
Max Binding: AllLanguages
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

IdGradePathDetailsRequirements
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-work-value-01errorRelatedPerson.telecom:workPhoneWork Phone must be of 10 digits
: value.matches('^([0-9]{10})$')
inv-mr-rp-telecom-mobile-value-01errorRelatedPerson.telecom:mobileMobile Phone must be of 10 digits
: value.matches('^([0-9]{10})$')
inv-mr-rp-telecom-mobile-value-01errorRelatedPerson.telecom:smsMobile Phone must be of 10 digits
: value.matches('^([0-9]{10})$')