Current Build

D.4.1 StructureDefinition: fpar-patient

D.4.1.1 Formal Views of Profile Content

The official URL for this profile is:

http://hl7.org/fhir/fpar/StructureDefinition/fpar-patient

This profile builds on http://hl7.org/fhir/fpar/StructureDefinition/hspc-patient.

This profile was published on Tue May 02 00:00:00 EDT 2017 as a draft by HSPC on behalf of FPAR.

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

This structure is derived from

Summary

Mandatory: 0 element (8 nested mandatory elements)
Must-Support: 12 elements
Fixed Value: 1 element
Prohibited: 1 element

Extensions

This structure refers to these extensions:

Slices

This structure defines the following Slices:

  • The element Patient.contact is sliced based on the value of value:contact.name (Open at End)

This structure is derived from

NameFlagsCard.TypeDescription & Constraintsdoco
.. Patient FPAR Patient Profile
... us-core-race S0..1(Complex)US Core Race Extension
URL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-race
... us-core-ethnicity S0..1(Complex)US Core ethnicity Extension
URL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity
... us-core-birthsex S0..1codeExtension
URL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex
Binding: US Core Birth Sex Value Set (required)
... identifier S1..*Identifier
.... system S1..1uri
.... value S1..1stringThe value that is unique within the system.
... name S1..*HumanName
.... family S1..1string
.... given S1..*string
... gender S1..1codeBinding: AdministrativeGender (required)
... address
.... primaryIndicator 0..1CodeableConceptExtension
URL: http://hl7.org/fhir/fpar/StructureDefinition/extensions-primaryIndicator profiled by http://hl7.org/fhir/fpar/StructureDefinition/primaryIndicator
Binding: v2 Yes/no Indicator (preferred)
... contact Slice: Unordered, Open At End by value:contact.name
... contact Emergency Contact
.... extension 0..1Identifier
.... relationship 0..1CodeableConceptFixed Value: {"coding":[{"system":"http://hl7.org/fhir/v2/0131","code":"C","display":"Emergency Contact"}]}
... contact
.... extension 0..1Identifier
... communication
.... communicationMode 0..1CodeableConceptExtension
URL: http://hl7.org/fhir/fpar/StructureDefinition/hspc-genencounter-CommunicationMode profiled by http://hl7.org/fhir/fpar/StructureDefinition/communicationMode
Binding: HSPC Communication Mode (preferred)
.... language S1..1CodeableConceptBinding: Language codes with language and optionally a region modifier (extensible)
... birthDate S0..1date
.... extension 0..1CodeableConceptBinding: HSPC Verification Method Value Set (preferred)
... animal 0..0

doco Documentation for this format

This structure is derived from

NameFlagsCard.TypeDescription & Constraintsdoco
.. Patient I0..*FPAR Patient Profile
... id Σ0..1idLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... language 0..1codeLanguage of the resource content
Binding: Common Languages (extensible)
... text I0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
... us-core-race S0..1(Complex)Extension
URL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-race
... us-core-ethnicity S0..1(Complex)Extension
URL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity
... us-core-birthsex S0..1codeExtension
URL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex
Binding: US Core Birth Sex Value Set (required)
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
Binding: FPAR English Proficiency value set (preferred)
... identifier SΣ1..*IdentifierAn identifier for this patient
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
Slice: Unordered, Open by value:url
.... use ?!Σ0..1codeusual | official | temp | secondary (If known)
Binding: IdentifierUse (required)
.... type Σ0..1CodeableConceptDescription of identifier
Binding: Identifier Type Codes (extensible)
.... system SΣ1..1uriThe namespace for the identifier value
Example General': http://www.acme.com/identifiers/patient
.... value SΣ1..1stringThe value that is unique within the system.
Example General': 123456
.... period Σ0..1PeriodTime period when id is/was valid for use
.... assigner Σ0..1Reference(Organization)Organization that issued id (may be just text)
... active ?!Σ0..1booleanWhether this patient's record is in active use
... name SΣ1..*HumanNameA name associated with the patient
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
Slice: Unordered, Open by value:url
.... use ?!Σ0..1codeusual | official | temp | nickname | anonymous | old | maiden
Binding: NameUse (required)
.... text Σ0..1stringText representation of the full name
.... family SΣ1..1stringFamily name (often called 'Surname')
.... given SΣ1..*stringGiven names (not always 'first'). Includes middle names
This repeating element order: Given Names appear in the correct order for presenting the name
.... prefix Σ0..*stringParts that come before the name
This repeating element order: Prefixes appear in the correct order for presenting the name
.... suffix Σ0..*stringParts that come after the name
This repeating element order: Suffixes appear in the correct order for presenting the name
.... period Σ0..1PeriodTime period when name was/is in use
... telecom Σ0..*ContactPointA contact detail for the individual
... gender SΣ1..1codemale | female | other | unknown
Binding: AdministrativeGender (required)
... birthDate SΣ0..1dateThe date of birth for the individual
.... extension I0..1CodeableConceptExtension
Binding: HSPC Verification Method Value Set (preferred)
ext-1: Must have either extensions or value[x], not both
... deceased[x] ?!Σ0..1boolean, dateTimeIndicates if the individual is deceased or not
... address Σ0..*AddressAddresses for the individual
.... id 0..1stringxml:id (or equivalent in JSON)
.... primaryIndicator I0..1CodeableConceptExtension
URL: http://hl7.org/fhir/fpar/StructureDefinition/extensions-primaryIndicator profiled by http://hl7.org/fhir/fpar/StructureDefinition/primaryIndicator
Binding: v2 Yes/no Indicator (preferred)
ext-1: Must have either extensions or value[x], not both
.... use ?!Σ0..1codehome | work | temp | old - purpose of this address
Binding: AddressUse (required)
.... type 0..1codepostal | physical | both
Binding: AddressType (required)
.... text Σ0..1stringText representation of the address
.... line Σ0..*stringStreet name, number, direction, and P.O. Box etc.
.... city Σ0..1stringName of city, town etc.
.... district Σ0..1stringDistrict name (aka county)
.... state Σ0..1stringSub-unit of country (abbreviations ok)
.... postalCode Σ0..1stringPostal code for area
.... country Σ0..1stringCountry (can be ISO 3166 3 letter code)
.... period Σ0..1PeriodTime period when address was/is in use
... maritalStatus 0..1CodeableConceptMarital (civil) status of a patient
Binding: Marital Status Codes (extensible)
... multipleBirth[x] 0..1boolean, integerWhether patient is part of a multiple birth
... photo 0..*AttachmentImage of the patient
... contact BackboneElementSlice: Unordered, Open At End by value:contact.name
... contact I0..1BackboneElementEmergency Contact
pat-1: SHALL at least contain a contact's details or a reference to an organization
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension I0..1IdentifierContact Party Id
ext-1: Must have either extensions or value[x], not both
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored
.... relationship 0..1CodeableConceptConcept - reference to a terminology or just text
Binding: v2 Contact Role (extensible)

Fixed Value: {"coding":[{"system":"http://hl7.org/fhir/v2/0131","code":"C","display":"Emergency Contact"}]}
.... name 0..1HumanNameA name associated with the contact person
.... telecom 0..*ContactPointA contact detail for the person
.... address 0..1AddressAddress for the contact person
.... gender 0..1codemale | female | other | unknown
Binding: AdministrativeGender (required)
.... organization I0..1Reference()Organization that is associated with the contact
.... period 0..1PeriodThe period during which this contact person or organization is valid to be contacted relating to this patient
... contact I0..*BackboneElementA contact party (e.g. guardian, partner, friend) for the patient
pat-1: SHALL at least contain a contact's details or a reference to an organization
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension I0..1ExtensionExtension
ext-1: Must have either extensions or value[x], not both
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored
.... relationship 0..*CodeableConceptThe kind of relationship
Binding: v2 Contact Role (extensible)
.... name 0..1HumanNameA name associated with the contact person
.... telecom 0..*ContactPointA contact detail for the person
.... address 0..1AddressAddress for the contact person
.... gender 0..1codemale | female | other | unknown
Binding: AdministrativeGender (required)
.... organization I0..1Reference(Organization)Organization that is associated with the contact
.... period 0..1PeriodThe period during which this contact person or organization is valid to be contacted relating to this patient
... communication SI0..*BackboneElementA list of Languages which may be used to communicate with the patient about his or her health
.... id 0..1stringxml:id (or equivalent in JSON)
.... communicationMode I0..1CodeableConceptExtension
URL: http://hl7.org/fhir/fpar/StructureDefinition/hspc-genencounter-CommunicationMode profiled by http://hl7.org/fhir/fpar/StructureDefinition/communicationMode
Binding: HSPC Communication Mode (preferred)
ext-1: Must have either extensions or value[x], not both
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored
.... language S1..1CodeableConceptThe language which can be used to communicate with the patient about his or her health
Binding: Language codes with language and optionally a region modifier (extensible)
.... preferred 0..1booleanLanguage preference indicator
... generalPractitioner 0..*Reference(Organization | Practitioner)Patient's nominated primary care provider
... managingOrganization Σ0..1Reference(Organization)Organization that is the custodian of the patient record
... link ?!ΣI0..*BackboneElementLink to another patient resource that concerns the same actual person
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored
.... other Σ1..1Reference(Patient | RelatedPerson)The other patient or related person resource that the link refers to
.... type Σ1..1codereplaced-by | replaces | refer | seealso - type of link
Binding: LinkType (required)

doco Documentation for this format

This structure is derived from

Summary

Mandatory: 0 element (8 nested mandatory elements)
Must-Support: 12 elements
Fixed Value: 1 element
Prohibited: 1 element

Extensions

This structure refers to these extensions:

Slices

This structure defines the following Slices:

  • The element Patient.contact is sliced based on the value of value:contact.name (Open at End)

Differential View

This structure is derived from

NameFlagsCard.TypeDescription & Constraintsdoco
.. Patient FPAR Patient Profile
... us-core-race S0..1(Complex)US Core Race Extension
URL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-race
... us-core-ethnicity S0..1(Complex)US Core ethnicity Extension
URL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity
... us-core-birthsex S0..1codeExtension
URL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex
Binding: US Core Birth Sex Value Set (required)
... identifier S1..*Identifier
.... system S1..1uri
.... value S1..1stringThe value that is unique within the system.
... name S1..*HumanName
.... family S1..1string
.... given S1..*string
... gender S1..1codeBinding: AdministrativeGender (required)
... address
.... primaryIndicator 0..1CodeableConceptExtension
URL: http://hl7.org/fhir/fpar/StructureDefinition/extensions-primaryIndicator profiled by http://hl7.org/fhir/fpar/StructureDefinition/primaryIndicator
Binding: v2 Yes/no Indicator (preferred)
... contact Slice: Unordered, Open At End by value:contact.name
... contact Emergency Contact
.... extension 0..1Identifier
.... relationship 0..1CodeableConceptFixed Value: {"coding":[{"system":"http://hl7.org/fhir/v2/0131","code":"C","display":"Emergency Contact"}]}
... contact
.... extension 0..1Identifier
... communication
.... communicationMode 0..1CodeableConceptExtension
URL: http://hl7.org/fhir/fpar/StructureDefinition/hspc-genencounter-CommunicationMode profiled by http://hl7.org/fhir/fpar/StructureDefinition/communicationMode
Binding: HSPC Communication Mode (preferred)
.... language S1..1CodeableConceptBinding: Language codes with language and optionally a region modifier (extensible)
... birthDate S0..1date
.... extension 0..1CodeableConceptBinding: HSPC Verification Method Value Set (preferred)
... animal 0..0

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Patient I0..*FPAR Patient Profile
... id Σ0..1idLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... language 0..1codeLanguage of the resource content
Binding: Common Languages (extensible)
... text I0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
... us-core-race S0..1(Complex)Extension
URL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-race
... us-core-ethnicity S0..1(Complex)Extension
URL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-ethnicity
... us-core-birthsex S0..1codeExtension
URL: http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex
Binding: US Core Birth Sex Value Set (required)
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
Binding: FPAR English Proficiency value set (preferred)
... identifier SΣ1..*IdentifierAn identifier for this patient
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
Slice: Unordered, Open by value:url
.... use ?!Σ0..1codeusual | official | temp | secondary (If known)
Binding: IdentifierUse (required)
.... type Σ0..1CodeableConceptDescription of identifier
Binding: Identifier Type Codes (extensible)
.... system SΣ1..1uriThe namespace for the identifier value
Example General': http://www.acme.com/identifiers/patient
.... value SΣ1..1stringThe value that is unique within the system.
Example General': 123456
.... period Σ0..1PeriodTime period when id is/was valid for use
.... assigner Σ0..1Reference(Organization)Organization that issued id (may be just text)
... active ?!Σ0..1booleanWhether this patient's record is in active use
... name SΣ1..*HumanNameA name associated with the patient
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
Slice: Unordered, Open by value:url
.... use ?!Σ0..1codeusual | official | temp | nickname | anonymous | old | maiden
Binding: NameUse (required)
.... text Σ0..1stringText representation of the full name
.... family SΣ1..1stringFamily name (often called 'Surname')
.... given SΣ1..*stringGiven names (not always 'first'). Includes middle names
This repeating element order: Given Names appear in the correct order for presenting the name
.... prefix Σ0..*stringParts that come before the name
This repeating element order: Prefixes appear in the correct order for presenting the name
.... suffix Σ0..*stringParts that come after the name
This repeating element order: Suffixes appear in the correct order for presenting the name
.... period Σ0..1PeriodTime period when name was/is in use
... telecom Σ0..*ContactPointA contact detail for the individual
... gender SΣ1..1codemale | female | other | unknown
Binding: AdministrativeGender (required)
... birthDate SΣ0..1dateThe date of birth for the individual
.... extension I0..1CodeableConceptExtension
Binding: HSPC Verification Method Value Set (preferred)
ext-1: Must have either extensions or value[x], not both
... deceased[x] ?!Σ0..1boolean, dateTimeIndicates if the individual is deceased or not
... address Σ0..*AddressAddresses for the individual
.... id 0..1stringxml:id (or equivalent in JSON)
.... primaryIndicator I0..1CodeableConceptExtension
URL: http://hl7.org/fhir/fpar/StructureDefinition/extensions-primaryIndicator profiled by http://hl7.org/fhir/fpar/StructureDefinition/primaryIndicator
Binding: v2 Yes/no Indicator (preferred)
ext-1: Must have either extensions or value[x], not both
.... use ?!Σ0..1codehome | work | temp | old - purpose of this address
Binding: AddressUse (required)
.... type 0..1codepostal | physical | both
Binding: AddressType (required)
.... text Σ0..1stringText representation of the address
.... line Σ0..*stringStreet name, number, direction, and P.O. Box etc.
.... city Σ0..1stringName of city, town etc.
.... district Σ0..1stringDistrict name (aka county)
.... state Σ0..1stringSub-unit of country (abbreviations ok)
.... postalCode Σ0..1stringPostal code for area
.... country Σ0..1stringCountry (can be ISO 3166 3 letter code)
.... period Σ0..1PeriodTime period when address was/is in use
... maritalStatus 0..1CodeableConceptMarital (civil) status of a patient
Binding: Marital Status Codes (extensible)
... multipleBirth[x] 0..1boolean, integerWhether patient is part of a multiple birth
... photo 0..*AttachmentImage of the patient
... contact BackboneElementSlice: Unordered, Open At End by value:contact.name
... contact I0..1BackboneElementEmergency Contact
pat-1: SHALL at least contain a contact's details or a reference to an organization
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension I0..1IdentifierContact Party Id
ext-1: Must have either extensions or value[x], not both
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored
.... relationship 0..1CodeableConceptConcept - reference to a terminology or just text
Binding: v2 Contact Role (extensible)

Fixed Value: {"coding":[{"system":"http://hl7.org/fhir/v2/0131","code":"C","display":"Emergency Contact"}]}
.... name 0..1HumanNameA name associated with the contact person
.... telecom 0..*ContactPointA contact detail for the person
.... address 0..1AddressAddress for the contact person
.... gender 0..1codemale | female | other | unknown
Binding: AdministrativeGender (required)
.... organization I0..1Reference()Organization that is associated with the contact
.... period 0..1PeriodThe period during which this contact person or organization is valid to be contacted relating to this patient
... contact I0..*BackboneElementA contact party (e.g. guardian, partner, friend) for the patient
pat-1: SHALL at least contain a contact's details or a reference to an organization
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension I0..1ExtensionExtension
ext-1: Must have either extensions or value[x], not both
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored
.... relationship 0..*CodeableConceptThe kind of relationship
Binding: v2 Contact Role (extensible)
.... name 0..1HumanNameA name associated with the contact person
.... telecom 0..*ContactPointA contact detail for the person
.... address 0..1AddressAddress for the contact person
.... gender 0..1codemale | female | other | unknown
Binding: AdministrativeGender (required)
.... organization I0..1Reference(Organization)Organization that is associated with the contact
.... period 0..1PeriodThe period during which this contact person or organization is valid to be contacted relating to this patient
... communication SI0..*BackboneElementA list of Languages which may be used to communicate with the patient about his or her health
.... id 0..1stringxml:id (or equivalent in JSON)
.... communicationMode I0..1CodeableConceptExtension
URL: http://hl7.org/fhir/fpar/StructureDefinition/hspc-genencounter-CommunicationMode profiled by http://hl7.org/fhir/fpar/StructureDefinition/communicationMode
Binding: HSPC Communication Mode (preferred)
ext-1: Must have either extensions or value[x], not both
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored
.... language S1..1CodeableConceptThe language which can be used to communicate with the patient about his or her health
Binding: Language codes with language and optionally a region modifier (extensible)
.... preferred 0..1booleanLanguage preference indicator
... generalPractitioner 0..*Reference(Organization | Practitioner)Patient's nominated primary care provider
... managingOrganization Σ0..1Reference(Organization)Organization that is the custodian of the patient record
... link ?!ΣI0..*BackboneElementLink to another patient resource that concerns the same actual person
.... id 0..1stringxml:id (or equivalent in JSON)
.... extension 0..*ExtensionAdditional Content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored
.... other Σ1..1Reference(Patient | RelatedPerson)The other patient or related person resource that the link refers to
.... type Σ1..1codereplaced-by | replaces | refer | seealso - type of link
Binding: LinkType (required)

doco Documentation for this format

 

D.4.1.2 Terminology Bindings

Terminology Bindings

PathNameConformanceValueSet
Patient.languageCommon LanguagesextensibleCommon Languages
Patient.extension
[CanonicalType[http://hl7.org/fhir/us/core/StructureDefinition/us-core-birthsex]]
US Core Birth Sex Value SetrequiredUS Core Birth Sex Value Set
Patient.modifierExtension
[]
FPAR English Proficiency value setpreferredFPAR English Proficiency value set
Patient.identifier.useIdentifierUserequiredIdentifierUse
Patient.identifier.typeIdentifier Type CodesextensibleIdentifier Type Codes
Patient.name.useNameUserequiredNameUse
Patient.genderAdministrativeGenderrequiredAdministrativeGender
Patient.birthDate.extensionHSPC Verification Method Value SetpreferredHSPC Verification Method Value Set
Patient.address.extensionv2 Yes/no Indicatorpreferredv2 Yes/no Indicator
Patient.address.useAddressUserequiredAddressUse
Patient.address.typeAddressTyperequiredAddressType
Patient.maritalStatusMarital Status CodesextensibleMarital Status Codes
Patient.contact.relationshipv2 Contact Roleextensiblev2 Contact Role
Patient.contact.genderAdministrativeGenderrequiredAdministrativeGender
Patient.contact.relationshipv2 Contact Roleextensiblev2 Contact Role
Patient.contact.genderAdministrativeGenderrequiredAdministrativeGender
Patient.animal.speciesAnimalSpeciesexampleAnimalSpecies
Patient.animal.breedAnimalBreedsexampleAnimalBreeds
Patient.animal.genderStatusGenderStatusexampleGenderStatus
Patient.communication.extensionHSPC Communication ModepreferredHSPC Communication Mode
Patient.communication.languageLanguage codes with language and optionally a region modifierextensibleLanguage codes with language and optionally a region modifier
Patient.link.typeLinkTyperequiredLinkType

D.4.1.3 Constraints

Constraints

IdPathDetailsRequirements
dom-2PatientIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-1PatientIf the resource is contained in another resource, it SHALL NOT contain any narrative
: contained.text.empty()
dom-4PatientIf a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
: contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-3PatientIf the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource
: contained.where(('#'+id in %resource.descendants().reference).not()).empty()
ext-1Patient.birthDate.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ext-1Patient.address.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
pat-1Patient.contactSHALL at least contain a contact's details or a reference to an organization
: name.exists() or telecom.exists() or address.exists() or organization.exists()
pat-1Patient.contactSHALL at least contain a contact's details or a reference to an organization
: name.exists() or telecom.exists() or address.exists() or organization.exists()
ext-1Patient.contact.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
pat-1Patient.contactSHALL at least contain a contact's details or a reference to an organization
: name.exists() or telecom.exists() or address.exists() or organization.exists()
ext-1Patient.contact.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1Patient.communicationAll FHIR elements must have a @value or children
: children().count() > id.count()
ext-1Patient.communication.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1Patient.linkAll FHIR elements must have a @value or children
: children().count() > id.count()
.