CH Core (R4), published by HL7 Switzerland. This guide is not an authorized publication; it is the continuous build for version 7.0.0-ballot built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/hl7ch/ch-core/ and changes regularly. See the Directory of published versions
| Official URL: http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-patient | Version: 7.0.0-ballot | ||||
| Active as of 2026-10-21 | Computable Name: CHCorePatient | ||||
Copyright/Legal: CC0-1.0 |
|||||
Base definition of the Patient resource for use in Swiss specific use cases. Relevant are definitions by the eCH-0010 V7.0 data standard mailing address and eCH-0011 V8.1 data standard personal data. The CH Core Patient is based upon the core FHIR Patient Resource and designed to meet the applicable patient demographic data elements in Switzerland. See also BFS for further information
Usages:
You can also check for usages in the FHIR IG Statistics
Description Differentials, Snapshots, and other representations.
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | Patient | CH Core Patient Constraints: ch-pat-1, ch-pat-2 | ||||
![]() ![]() |
0..1 | uri | A set of rules under which this content was created | |||||
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | |||||
![]() ![]() ![]() |
0..1 | CHCoreAddressEch11PlaceOfBirth | Place of birth of the patient URL: http://hl7.org/fhir/StructureDefinition/patient-birthPlace profiled by http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-patient-ech-11-placeofbirth | |||||
![]() ![]() ![]() |
0..* | CHCoreAddressECH11PlaceOfOrigin | Place of origin(s) of the patient URL: http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-patient-ech-11-placeoforigin | |||||
![]() ![]() ![]() |
C | 0..* | (Complex) | Information on nationality data (eCH: Staatsangehörigkeit/Nationalité) of the patient URL: http://hl7.org/fhir/StructureDefinition/patient-citizenship Constraints: ch-pat-3 | ||||
![]() ![]() ![]() |
0..1 | CodeableConcept | Religion of the patient URL: http://hl7.org/fhir/StructureDefinition/patient-religion Binding: ReligiousAffiliation (preferred) | |||||
![]() ![]() |
0..* | Extension | Extensions that cannot be ignored | |||||
![]() ![]() |
0..* | Identifier | An identifier for this patient Slice: Unordered, Open by value:$this Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | |||||
![]() ![]() ![]() |
0..* | EPRSPIDIdentifier | EPR-SPID Required Pattern: | |||||
![]() ![]() ![]() |
0..* | AHVN13Identifier | AHVN13 / NAVS13 of the patient (13 digits starting with 756, no separation points) Required Pattern: | |||||
![]() ![]() ![]() |
0..* | Identifier | Local patient identifier(s) Required Pattern: | |||||
![]() ![]() ![]() ![]() |
0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | |||||
![]() ![]() ![]() ![]() |
1..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient | |||||
![]() ![]() ![]() ![]() |
1..1 | string | The value that is unique Example General: 123456 | |||||
![]() ![]() ![]() |
0..* | VEKAIdentifier | Insurance card number of the patient (20 digits) Required Pattern: | |||||
![]() ![]() |
0..1 | boolean | Whether this patient's record is in active use | |||||
![]() ![]() |
C | 0..* | CHCoreHumanName | A name associated with the patient Constraints: ch-core-hm-1, ch-core-hm-2, ch-core-hm-3, ch-core-hm-4 | ||||
![]() ![]() |
0..* | ContactPoint | A contact detail for the individual Slice: Unordered, Open by value:system Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | |||||
![]() ![]() ![]() |
Content/Rules for all slices | |||||||
![]() ![]() ![]() ![]() |
C | 1..1 | code | phone | fax | email | pager | url | sms | other Binding: ContactPointSystem (required): Telecommunications form for contact point. | ||||
![]() ![]() ![]() ![]() |
1..1 | string | The actual contact point details | |||||
![]() ![]() ![]() ![]() |
0..1 | code | home | work | temp | old | mobile - purpose of this contact point Binding: ContactPointUse (required): Use of contact point. | |||||
![]() ![]() ![]() |
0..* | CHCoreContactPointECH46Email | A contact detail for the individual | |||||
![]() ![]() ![]() |
0..* | CHCoreContactPointECH46Phone | A contact detail for the individual | |||||
![]() ![]() ![]() |
0..* | CHCoreContactPointECH46Internet | A contact detail for the individual | |||||
![]() ![]() |
0..1 | code | male | female | other | unknown* (* see warning 'ch-pat-2') Binding: AdministrativeGender (required): The gender of a person used for administrative purposes. | |||||
![]() ![]() |
0..1 | date | The date of birth for the individual | |||||
![]() ![]() |
0..1 | Indicates if the individual is deceased or not | ||||||
![]() ![]() ![]() |
boolean | |||||||
![]() ![]() ![]() |
dateTime | |||||||
![]() ![]() |
C | 0..* | CHCoreAddress | An address for the individual Constraints: ch-addr-2 | ||||
![]() ![]() |
0..1 | CodeableConcept | Marital (civil) status of a patient Binding: ChCoreMaritalStatus (extensible) | |||||
![]() ![]() ![]() |
Content/Rules for all slices | |||||||
![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | MaritalData Separation URL: http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-ech-11-maritaldata-separation Binding: eCH-011 MaritalData Separation (extensible): ValueSet separation type | |||||
![]() ![]() |
C | 0..* | BackboneElement | A contact party (e.g. guardian, partner, friend) for the patient Slice: Unordered, Open by value:relationship Constraints: pat-1 Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | ||||
![]() ![]() ![]() |
Content/Rules for all slices | |||||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||
![]() ![]() ![]() |
C | 0..1 | BackboneElement | Contact data if it is not the address of the patient Constraints: pat-1 | ||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||
![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | The kind of relationship Binding: PatientContactRelationship (extensible): The nature of the relationship between a patient and a contact person for that patient. Required Pattern: | |||||
![]() ![]() ![]() ![]() |
C | 1..1 | CHCoreAddressECH10 | Address for the contact person Constraints: ch-addr-2 | ||||
![]() ![]() ![]() |
C | 0..* | BackboneElement | Name of parent Constraints: pat-1 | ||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||
![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | The kind of relationship Binding: PatientContactRelationship (extensible): The nature of the relationship between a patient and a contact person for that patient. Required Pattern: | |||||
![]() ![]() ![]() ![]() |
1..1 | HumanName | A name associated with the contact person | |||||
![]() ![]() ![]() ![]() |
0..1 | code | Sex of the parent (eCH-0021: nameOfParent/sex) Binding: AdministrativeGender (required): The gender of a person used for administrative purposes. | |||||
![]() ![]() |
0..* | BackboneElement | A language which may be used to communicate with the patient about his or her health | |||||
![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||
![]() ![]() ![]() |
1..1 | CodeableConcept | The language which can be used to communicate with the patient about his or her health Binding: CommonLanguages (preferred): A human language.
| |||||
![]() ![]() |
0..* | BackboneElement | Link to another patient resource that concerns the same actual person | |||||
![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||
![]() ![]() ![]() |
1..1 | Reference(Patient | RelatedPerson) | The other patient or related person resource that the link refers to | |||||
![]() ![]() ![]() |
1..1 | code | replaced-by | replaces | refer | seealso Binding: LinkType (required): The type of link between this patient resource and another patient resource. | |||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| Patient.identifier:LocalPid.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std. |
| Patient.telecom.system | Base | required | ContactPointSystem | 📍4.0.1 | FHIR Std. |
| Patient.telecom.use | Base | required | ContactPointUse | 📍4.0.1 | FHIR Std. |
| Patient.gender | Base | required | AdministrativeGender | 📍4.0.1 | FHIR Std. |
| Patient.maritalStatus | Base | extensible | ChCoreMaritalStatus | 📦3.4.0 | CH Term v3.4 |
| Patient.contact:contact.relationship | Base | extensible | Patient Contact Relationship | 📍4.0.1 | FHIR Std. |
| Patient.contact:nameOfParent.relationship | Base | extensible | Patient Contact Relationship | 📍4.0.1 | FHIR Std. |
| Patient.contact:nameOfParent.gender | Base | required | AdministrativeGender | 📍4.0.1 | FHIR Std. |
| Patient.communication.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
| Patient.link.type | Base | required | LinkType | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| ch-addr-2 | error | Patient.address, Patient.contact:contact.address | For a Swiss address, a canton abbreviation from the value set 'eCH-0007 Canton Abbreviation' must be used. |
country.extension.where(url = 'http://hl7.org/fhir/StructureDefinition/iso21090-codedString' and (value.code = 'CH' or value.code = 'CHE')).empty() or
state.empty() or state.memberOf('http://fhir.ch/ig/ch-core/ValueSet/ech-7-cantonabbreviation')
|
| ch-core-hm-1 | error | Patient.name | if officialName with eCH-011 Extension is specified, it can only be put on a name where use attribute is official |
family.extension.where(url='http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-ech-11-name' and value='officialName').empty() or (family.extension.where(url='http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-ech-11-name' and value='officialName').exists() and use='official')
|
| ch-core-hm-2 | error | Patient.name | if originalName with eCH-011 Extension is specified, it can only be put on a name where use attribute is maiden |
family.extension.where(url='http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-ech-11-name' and value='originalName').empty() or ((family.extension.where(url='http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-ech-11-name' and value='originalName').exists() and use='maiden'))
|
| ch-core-hm-3 | error | Patient.name | ch-ext-ech-11-name can only be put on a family name |
descendants().extension.where(url='http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-ech-11-name').count()=family.extension.where(url='http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-ech-11-name').count()
|
| ch-core-hm-4 | error | Patient.name | ch-ext-ech-11-firstname can only be put on a given name |
descendants().extension.where(url='http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-ech-11-firstname').count()=given.extension.where(url='http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-ech-11-firstname').count()
|
| ch-pat-1 | warning | Patient | If one ore more human names are provided, at least one human name should have a family and a given name. |
name.where(family.exists() and given.exists()).count()>0 or name.empty()
|
| ch-pat-2 | warning | Patient | gender 'unknown' is currently not used in Switzerland in eCH and the EPR |
gender.empty() or gender!='unknown'
|
| ch-pat-3 | warning | Patient.extension:citizenship | ISO Country Alpha-2 or ISO Country Alpha-3 code |
((extension.where(url='code').value.coding.code.length()=2) and extension.where(url='code').value.coding.code.memberOf('http://hl7.org/fhir/ValueSet/iso3166-1-2')) or ((extension.where(url='code').value.coding.code.length() = 3) and extension.where(url='code').value.coding.code.memberOf('http://hl7.org/fhir/ValueSet/iso3166-1-3'))
|
| dom-2 | error | Patient | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Patient | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource |
contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | Patient | If 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-5 | error | Patient | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Patient | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| pat-1 | error | Patient.contact, Patient.contact:contact, Patient.contact:nameOfParent | SHALL at least contain a contact's details or a reference to an organization |
name.exists() or telecom.exists() or address.exists() or organization.exists()
|
This structure is derived from Patient
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | Patient | CH Core Patient Constraints: ch-pat-1, ch-pat-2 |
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | |
![]() ![]() ![]() |
0..1 | CHCoreAddressEch11PlaceOfBirth | Place of birth of the patient URL: http://hl7.org/fhir/StructureDefinition/patient-birthPlace profiled by http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-patient-ech-11-placeofbirth | |
![]() ![]() ![]() |
0..* | CHCoreAddressECH11PlaceOfOrigin | Place of origin(s) of the patient URL: http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-patient-ech-11-placeoforigin | |
![]() ![]() ![]() |
C | 0..* | (Complex) | Information on nationality data (eCH: Staatsangehörigkeit/Nationalité) of the patient URL: http://hl7.org/fhir/StructureDefinition/patient-citizenship Constraints: ch-pat-3 |
![]() ![]() ![]() |
0..1 | CodeableConcept | Religion of the patient URL: http://hl7.org/fhir/StructureDefinition/patient-religion Binding: ReligiousAffiliation (preferred) | |
![]() ![]() |
0..* | Identifier | An identifier for this patient Slice: Unordered, Open by value:$this Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | |
![]() ![]() ![]() |
0..* | EPRSPIDIdentifier | EPR-SPID Required Pattern: | |
![]() ![]() ![]() |
0..* | AHVN13Identifier | AHVN13 / NAVS13 of the patient (13 digits starting with 756, no separation points) Required Pattern: | |
![]() ![]() ![]() |
0..* | Identifier | Local patient identifier(s) Required Pattern: | |
![]() ![]() ![]() ![]() |
1..1 | uri | The namespace for the identifier value | |
![]() ![]() ![]() ![]() |
1..1 | string | The value that is unique | |
![]() ![]() ![]() |
0..* | VEKAIdentifier | Insurance card number of the patient (20 digits) Required Pattern: | |
![]() ![]() |
0..* | CHCoreHumanName | A name associated with the patient | |
![]() ![]() |
0..* | ContactPoint | A contact detail for the individual Slice: Unordered, Open by value:system Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | |
![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() |
1..1 | code | phone | fax | email | pager | url | sms | other | |
![]() ![]() ![]() ![]() |
1..1 | string | The actual contact point details | |
![]() ![]() ![]() |
0..* | CHCoreContactPointECH46Email | A contact detail for the individual | |
![]() ![]() ![]() |
0..* | CHCoreContactPointECH46Phone | A contact detail for the individual | |
![]() ![]() ![]() |
0..* | CHCoreContactPointECH46Internet | A contact detail for the individual | |
![]() ![]() |
0..1 | code | male | female | other | unknown* (* see warning 'ch-pat-2') | |
![]() ![]() |
0..1 | date | The date of birth for the individual | |
![]() ![]() |
0..1 | boolean, dateTime | Indicates if the individual is deceased or not | |
![]() ![]() |
0..* | CHCoreAddress | An address for the individual | |
![]() ![]() |
0..1 | CodeableConcept | Marital (civil) status of a patient Binding: ChCoreMaritalStatus (extensible) | |
![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | MaritalData Separation URL: http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-ech-11-maritaldata-separation Binding: eCH-011 MaritalData Separation (extensible): ValueSet separation type | |
![]() ![]() |
0..* | BackboneElement | A contact party (e.g. guardian, partner, friend) for the patient Slice: Unordered, Open by value:relationship Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | |
![]() ![]() ![]() |
0..1 | BackboneElement | Contact data if it is not the address of the patient | |
![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | The kind of relationship Required Pattern: | |
![]() ![]() ![]() ![]() |
0..0 | A contact detail for the person | ||
![]() ![]() ![]() ![]() |
1..1 | CHCoreAddressECH10 | Address for the contact person | |
![]() ![]() ![]() |
0..* | BackboneElement | Name of parent | |
![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | The kind of relationship Required Pattern: | |
![]() ![]() ![]() ![]() |
1..1 | HumanName | A name associated with the contact person | |
![]() ![]() ![]() ![]() |
0..1 | code | Sex of the parent (eCH-0021: nameOfParent/sex) | |
![]() ![]() |
0..* | BackboneElement | A language which may be used to communicate with the patient about his or her health | |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Patient.maritalStatus | Base | extensible | ChCoreMaritalStatus | 📦3.4.0 | CH Term v3.4 |
| Id | Grade | Path(s) | Description | Expression |
| ch-pat-1 | warning | Patient | If one ore more human names are provided, at least one human name should have a family and a given name. |
name.where(family.exists() and given.exists()).count()>0 or name.empty()
|
| ch-pat-2 | warning | Patient | gender 'unknown' is currently not used in Switzerland in eCH and the EPR |
gender.empty() or gender!='unknown'
|
| ch-pat-3 | warning | Patient.extension:citizenship | ISO Country Alpha-2 or ISO Country Alpha-3 code |
((extension.where(url='code').value.coding.code.length()=2) and extension.where(url='code').value.coding.code.memberOf('http://hl7.org/fhir/ValueSet/iso3166-1-2')) or ((extension.where(url='code').value.coding.code.length() = 3) and extension.where(url='code').value.coding.code.memberOf('http://hl7.org/fhir/ValueSet/iso3166-1-3'))
|
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | Patient | CH Core Patient Constraints: ch-pat-1, ch-pat-2 | ||||
![]() ![]() |
0..1 | id | Logical id of this artifact | |||||
![]() ![]() |
0..1 | Meta | Metadata about the resource | |||||
![]() ![]() |
0..1 | uri | A set of rules under which this content was created | |||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
![]() ![]() |
0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements | |||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | |||||
![]() ![]() ![]() |
0..1 | CHCoreAddressEch11PlaceOfBirth | Place of birth of the patient URL: http://hl7.org/fhir/StructureDefinition/patient-birthPlace profiled by http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-patient-ech-11-placeofbirth | |||||
![]() ![]() ![]() |
0..* | CHCoreAddressECH11PlaceOfOrigin | Place of origin(s) of the patient URL: http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-patient-ech-11-placeoforigin | |||||
![]() ![]() ![]() |
C | 0..* | (Complex) | Information on nationality data (eCH: Staatsangehörigkeit/Nationalité) of the patient URL: http://hl7.org/fhir/StructureDefinition/patient-citizenship Constraints: ch-pat-3 | ||||
![]() ![]() ![]() |
0..1 | CodeableConcept | Religion of the patient URL: http://hl7.org/fhir/StructureDefinition/patient-religion Binding: ReligiousAffiliation (preferred) | |||||
![]() ![]() |
0..* | Extension | Extensions that cannot be ignored | |||||
![]() ![]() |
0..* | Identifier | An identifier for this patient Slice: Unordered, Open by value:$this Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | |||||
![]() ![]() ![]() |
0..* | EPRSPIDIdentifier | EPR-SPID Required Pattern: | |||||
![]() ![]() ![]() |
0..* | AHVN13Identifier | AHVN13 / NAVS13 of the patient (13 digits starting with 756, no separation points) Required Pattern: | |||||
![]() ![]() ![]() |
0..* | Identifier | Local patient identifier(s) Required Pattern: | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | |||||
![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Description of identifier Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. | |||||
![]() ![]() ![]() ![]() |
1..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient | |||||
![]() ![]() ![]() ![]() |
1..1 | string | The value that is unique Example General: 123456 | |||||
![]() ![]() ![]() ![]() |
0..1 | Period | Time period when id is/was valid for use | |||||
![]() ![]() ![]() ![]() |
0..1 | Reference(Organization) | Organization that issued id (may be just text) | |||||
![]() ![]() ![]() |
0..* | VEKAIdentifier | Insurance card number of the patient (20 digits) Required Pattern: | |||||
![]() ![]() |
0..1 | boolean | Whether this patient's record is in active use | |||||
![]() ![]() |
C | 0..* | CHCoreHumanName | A name associated with the patient Constraints: ch-core-hm-1, ch-core-hm-2, ch-core-hm-3, ch-core-hm-4 | ||||
![]() ![]() |
0..* | ContactPoint | A contact detail for the individual Slice: Unordered, Open by value:system Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | |||||
![]() ![]() ![]() |
Content/Rules for all slices | |||||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
C | 1..1 | code | phone | fax | email | pager | url | sms | other Binding: ContactPointSystem (required): Telecommunications form for contact point. | ||||
![]() ![]() ![]() ![]() |
1..1 | string | The actual contact point details | |||||
![]() ![]() ![]() ![]() |
0..1 | code | home | work | temp | old | mobile - purpose of this contact point Binding: ContactPointUse (required): Use of contact point. | |||||
![]() ![]() ![]() ![]() |
0..1 | positiveInt | Specify preferred order of use (1 = highest) | |||||
![]() ![]() ![]() ![]() |
0..1 | Period | Time period when the contact point was/is in use | |||||
![]() ![]() ![]() |
0..* | CHCoreContactPointECH46Email | A contact detail for the individual | |||||
![]() ![]() ![]() |
0..* | CHCoreContactPointECH46Phone | A contact detail for the individual | |||||
![]() ![]() ![]() |
0..* | CHCoreContactPointECH46Internet | A contact detail for the individual | |||||
![]() ![]() |
0..1 | code | male | female | other | unknown* (* see warning 'ch-pat-2') Binding: AdministrativeGender (required): The gender of a person used for administrative purposes. | |||||
![]() ![]() |
0..1 | date | The date of birth for the individual | |||||
![]() ![]() |
0..1 | Indicates if the individual is deceased or not | ||||||
![]() ![]() ![]() |
boolean | |||||||
![]() ![]() ![]() |
dateTime | |||||||
![]() ![]() |
C | 0..* | CHCoreAddress | An address for the individual Constraints: ch-addr-2 | ||||
![]() ![]() |
0..1 | CodeableConcept | Marital (civil) status of a patient Binding: ChCoreMaritalStatus (extensible) | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | MaritalData Separation URL: http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-ech-11-maritaldata-separation Binding: eCH-011 MaritalData Separation (extensible): ValueSet separation type | |||||
![]() ![]() ![]() |
0..* | Coding | Code defined by a terminology system | |||||
![]() ![]() ![]() |
0..1 | string | Plain text representation of the concept | |||||
![]() ![]() |
0..1 | Whether patient is part of a multiple birth | ||||||
![]() ![]() ![]() |
boolean | |||||||
![]() ![]() ![]() |
integer | |||||||
![]() ![]() |
0..* | Attachment | Image of the patient | |||||
![]() ![]() |
C | 0..* | BackboneElement | A contact party (e.g. guardian, partner, friend) for the patient Slice: Unordered, Open by value:relationship Constraints: pat-1 Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | ||||
![]() ![]() ![]() |
Content/Rules for all slices | |||||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||
![]() ![]() ![]() ![]() |
0..* | CodeableConcept | The kind of relationship Binding: PatientContactRelationship (extensible): The nature of the relationship between a patient and a contact person for that patient. | |||||
![]() ![]() ![]() ![]() |
0..1 | HumanName | A name associated with the contact person | |||||
![]() ![]() ![]() ![]() |
0..* | ContactPoint | A contact detail for the person | |||||
![]() ![]() ![]() ![]() |
0..1 | Address | Address for the contact person | |||||
![]() ![]() ![]() ![]() |
0..1 | code | male | female | other | unknown Binding: AdministrativeGender (required): The gender of a person used for administrative purposes. | |||||
![]() ![]() ![]() ![]() |
C | 0..1 | Reference(Organization) | Organization that is associated with the contact | ||||
![]() ![]() ![]() ![]() |
0..1 | Period | The period during which this contact person or organization is valid to be contacted relating to this patient | |||||
![]() ![]() ![]() |
C | 0..1 | BackboneElement | Contact data if it is not the address of the patient Constraints: pat-1 | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||
![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | The kind of relationship Binding: PatientContactRelationship (extensible): The nature of the relationship between a patient and a contact person for that patient. Required Pattern: | |||||
![]() ![]() ![]() ![]() |
0..1 | HumanName | A name associated with the contact person | |||||
![]() ![]() ![]() ![]() |
C | 1..1 | CHCoreAddressECH10 | Address for the contact person Constraints: ch-addr-2 | ||||
![]() ![]() ![]() ![]() |
0..1 | code | male | female | other | unknown Binding: AdministrativeGender (required): The gender of a person used for administrative purposes. | |||||
![]() ![]() ![]() ![]() |
C | 0..1 | Reference(Organization) | Organization that is associated with the contact | ||||
![]() ![]() ![]() ![]() |
0..1 | Period | The period during which this contact person or organization is valid to be contacted relating to this patient | |||||
![]() ![]() ![]() |
C | 0..* | BackboneElement | Name of parent Constraints: pat-1 | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||
![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | The kind of relationship Binding: PatientContactRelationship (extensible): The nature of the relationship between a patient and a contact person for that patient. Required Pattern: | |||||
![]() ![]() ![]() ![]() |
1..1 | HumanName | A name associated with the contact person | |||||
![]() ![]() ![]() ![]() |
0..* | ContactPoint | A contact detail for the person | |||||
![]() ![]() ![]() ![]() |
0..1 | Address | Address for the contact person | |||||
![]() ![]() ![]() ![]() |
0..1 | code | Sex of the parent (eCH-0021: nameOfParent/sex) Binding: AdministrativeGender (required): The gender of a person used for administrative purposes. | |||||
![]() ![]() ![]() ![]() |
C | 0..1 | Reference(Organization) | Organization that is associated with the contact | ||||
![]() ![]() ![]() ![]() |
0..1 | Period | The period during which this contact person or organization is valid to be contacted relating to this patient | |||||
![]() ![]() |
0..* | BackboneElement | A language which may be used to communicate with the patient about his or her health | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||
![]() ![]() ![]() |
1..1 | CodeableConcept | The language which can be used to communicate with the patient about his or her health Binding: CommonLanguages (preferred): A human language.
| |||||
![]() ![]() ![]() |
0..1 | boolean | Language preference indicator | |||||
![]() ![]() |
0..* | Reference(Organization | Practitioner | PractitionerRole) | Patient's nominated primary care provider | |||||
![]() ![]() |
0..1 | Reference(Organization) | Organization that is the custodian of the patient record | |||||
![]() ![]() |
0..* | BackboneElement | Link to another patient resource that concerns the same actual person | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||
![]() ![]() ![]() |
1..1 | Reference(Patient | RelatedPerson) | The other patient or related person resource that the link refers to | |||||
![]() ![]() ![]() |
1..1 | code | replaced-by | replaces | refer | seealso Binding: LinkType (required): The type of link between this patient resource and another patient resource. | |||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| Patient.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
| Patient.identifier:LocalPid.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std. |
| Patient.identifier:LocalPid.type | Base | extensible | IdentifierType | 📍4.0.1 | FHIR Std. |
| Patient.telecom.system | Base | required | ContactPointSystem | 📍4.0.1 | FHIR Std. |
| Patient.telecom.use | Base | required | ContactPointUse | 📍4.0.1 | FHIR Std. |
| Patient.gender | Base | required | AdministrativeGender | 📍4.0.1 | FHIR Std. |
| Patient.maritalStatus | Base | extensible | ChCoreMaritalStatus | 📦3.4.0 | CH Term v3.4 |
| Patient.contact.relationship | Base | extensible | Patient Contact Relationship | 📍4.0.1 | FHIR Std. |
| Patient.contact.gender | Base | required | AdministrativeGender | 📍4.0.1 | FHIR Std. |
| Patient.contact:contact.relationship | Base | extensible | Patient Contact Relationship | 📍4.0.1 | FHIR Std. |
| Patient.contact:contact.gender | Base | required | AdministrativeGender | 📍4.0.1 | FHIR Std. |
| Patient.contact:nameOfParent.relationship | Base | extensible | Patient Contact Relationship | 📍4.0.1 | FHIR Std. |
| Patient.contact:nameOfParent.gender | Base | required | AdministrativeGender | 📍4.0.1 | FHIR Std. |
| Patient.communication.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
| Patient.link.type | Base | required | LinkType | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| ch-addr-2 | error | Patient.address, Patient.contact:contact.address | For a Swiss address, a canton abbreviation from the value set 'eCH-0007 Canton Abbreviation' must be used. |
country.extension.where(url = 'http://hl7.org/fhir/StructureDefinition/iso21090-codedString' and (value.code = 'CH' or value.code = 'CHE')).empty() or
state.empty() or state.memberOf('http://fhir.ch/ig/ch-core/ValueSet/ech-7-cantonabbreviation')
|
| ch-core-hm-1 | error | Patient.name | if officialName with eCH-011 Extension is specified, it can only be put on a name where use attribute is official |
family.extension.where(url='http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-ech-11-name' and value='officialName').empty() or (family.extension.where(url='http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-ech-11-name' and value='officialName').exists() and use='official')
|
| ch-core-hm-2 | error | Patient.name | if originalName with eCH-011 Extension is specified, it can only be put on a name where use attribute is maiden |
family.extension.where(url='http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-ech-11-name' and value='originalName').empty() or ((family.extension.where(url='http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-ech-11-name' and value='originalName').exists() and use='maiden'))
|
| ch-core-hm-3 | error | Patient.name | ch-ext-ech-11-name can only be put on a family name |
descendants().extension.where(url='http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-ech-11-name').count()=family.extension.where(url='http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-ech-11-name').count()
|
| ch-core-hm-4 | error | Patient.name | ch-ext-ech-11-firstname can only be put on a given name |
descendants().extension.where(url='http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-ech-11-firstname').count()=given.extension.where(url='http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-ech-11-firstname').count()
|
| ch-pat-1 | warning | Patient | If one ore more human names are provided, at least one human name should have a family and a given name. |
name.where(family.exists() and given.exists()).count()>0 or name.empty()
|
| ch-pat-2 | warning | Patient | gender 'unknown' is currently not used in Switzerland in eCH and the EPR |
gender.empty() or gender!='unknown'
|
| ch-pat-3 | warning | Patient.extension:citizenship | ISO Country Alpha-2 or ISO Country Alpha-3 code |
((extension.where(url='code').value.coding.code.length()=2) and extension.where(url='code').value.coding.code.memberOf('http://hl7.org/fhir/ValueSet/iso3166-1-2')) or ((extension.where(url='code').value.coding.code.length() = 3) and extension.where(url='code').value.coding.code.memberOf('http://hl7.org/fhir/ValueSet/iso3166-1-3'))
|
| dom-2 | error | Patient | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Patient | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource |
contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | Patient | If 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-5 | error | Patient | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Patient | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| pat-1 | error | Patient.contact, Patient.contact:contact, Patient.contact:nameOfParent | SHALL at least contain a contact's details or a reference to an organization |
name.exists() or telecom.exists() or address.exists() or organization.exists()
|
This structure is derived from Patient
Summary
Mandatory: 0 element(8 nested mandatory elements)
Prohibited: 1 element
Structures
This structure refers to these other structures:
Extensions
This structure refers to these extensions:
Slices
This structure defines the following Slices:
Key Elements View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | Patient | CH Core Patient Constraints: ch-pat-1, ch-pat-2 | ||||
![]() ![]() |
0..1 | uri | A set of rules under which this content was created | |||||
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | |||||
![]() ![]() ![]() |
0..1 | CHCoreAddressEch11PlaceOfBirth | Place of birth of the patient URL: http://hl7.org/fhir/StructureDefinition/patient-birthPlace profiled by http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-patient-ech-11-placeofbirth | |||||
![]() ![]() ![]() |
0..* | CHCoreAddressECH11PlaceOfOrigin | Place of origin(s) of the patient URL: http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-patient-ech-11-placeoforigin | |||||
![]() ![]() ![]() |
C | 0..* | (Complex) | Information on nationality data (eCH: Staatsangehörigkeit/Nationalité) of the patient URL: http://hl7.org/fhir/StructureDefinition/patient-citizenship Constraints: ch-pat-3 | ||||
![]() ![]() ![]() |
0..1 | CodeableConcept | Religion of the patient URL: http://hl7.org/fhir/StructureDefinition/patient-religion Binding: ReligiousAffiliation (preferred) | |||||
![]() ![]() |
0..* | Extension | Extensions that cannot be ignored | |||||
![]() ![]() |
0..* | Identifier | An identifier for this patient Slice: Unordered, Open by value:$this Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | |||||
![]() ![]() ![]() |
0..* | EPRSPIDIdentifier | EPR-SPID Required Pattern: | |||||
![]() ![]() ![]() |
0..* | AHVN13Identifier | AHVN13 / NAVS13 of the patient (13 digits starting with 756, no separation points) Required Pattern: | |||||
![]() ![]() ![]() |
0..* | Identifier | Local patient identifier(s) Required Pattern: | |||||
![]() ![]() ![]() ![]() |
0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | |||||
![]() ![]() ![]() ![]() |
1..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient | |||||
![]() ![]() ![]() ![]() |
1..1 | string | The value that is unique Example General: 123456 | |||||
![]() ![]() ![]() |
0..* | VEKAIdentifier | Insurance card number of the patient (20 digits) Required Pattern: | |||||
![]() ![]() |
0..1 | boolean | Whether this patient's record is in active use | |||||
![]() ![]() |
C | 0..* | CHCoreHumanName | A name associated with the patient Constraints: ch-core-hm-1, ch-core-hm-2, ch-core-hm-3, ch-core-hm-4 | ||||
![]() ![]() |
0..* | ContactPoint | A contact detail for the individual Slice: Unordered, Open by value:system Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | |||||
![]() ![]() ![]() |
Content/Rules for all slices | |||||||
![]() ![]() ![]() ![]() |
C | 1..1 | code | phone | fax | email | pager | url | sms | other Binding: ContactPointSystem (required): Telecommunications form for contact point. | ||||
![]() ![]() ![]() ![]() |
1..1 | string | The actual contact point details | |||||
![]() ![]() ![]() ![]() |
0..1 | code | home | work | temp | old | mobile - purpose of this contact point Binding: ContactPointUse (required): Use of contact point. | |||||
![]() ![]() ![]() |
0..* | CHCoreContactPointECH46Email | A contact detail for the individual | |||||
![]() ![]() ![]() |
0..* | CHCoreContactPointECH46Phone | A contact detail for the individual | |||||
![]() ![]() ![]() |
0..* | CHCoreContactPointECH46Internet | A contact detail for the individual | |||||
![]() ![]() |
0..1 | code | male | female | other | unknown* (* see warning 'ch-pat-2') Binding: AdministrativeGender (required): The gender of a person used for administrative purposes. | |||||
![]() ![]() |
0..1 | date | The date of birth for the individual | |||||
![]() ![]() |
0..1 | Indicates if the individual is deceased or not | ||||||
![]() ![]() ![]() |
boolean | |||||||
![]() ![]() ![]() |
dateTime | |||||||
![]() ![]() |
C | 0..* | CHCoreAddress | An address for the individual Constraints: ch-addr-2 | ||||
![]() ![]() |
0..1 | CodeableConcept | Marital (civil) status of a patient Binding: ChCoreMaritalStatus (extensible) | |||||
![]() ![]() ![]() |
Content/Rules for all slices | |||||||
![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | MaritalData Separation URL: http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-ech-11-maritaldata-separation Binding: eCH-011 MaritalData Separation (extensible): ValueSet separation type | |||||
![]() ![]() |
C | 0..* | BackboneElement | A contact party (e.g. guardian, partner, friend) for the patient Slice: Unordered, Open by value:relationship Constraints: pat-1 Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | ||||
![]() ![]() ![]() |
Content/Rules for all slices | |||||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||
![]() ![]() ![]() |
C | 0..1 | BackboneElement | Contact data if it is not the address of the patient Constraints: pat-1 | ||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||
![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | The kind of relationship Binding: PatientContactRelationship (extensible): The nature of the relationship between a patient and a contact person for that patient. Required Pattern: | |||||
![]() ![]() ![]() ![]() |
C | 1..1 | CHCoreAddressECH10 | Address for the contact person Constraints: ch-addr-2 | ||||
![]() ![]() ![]() |
C | 0..* | BackboneElement | Name of parent Constraints: pat-1 | ||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||
![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | The kind of relationship Binding: PatientContactRelationship (extensible): The nature of the relationship between a patient and a contact person for that patient. Required Pattern: | |||||
![]() ![]() ![]() ![]() |
1..1 | HumanName | A name associated with the contact person | |||||
![]() ![]() ![]() ![]() |
0..1 | code | Sex of the parent (eCH-0021: nameOfParent/sex) Binding: AdministrativeGender (required): The gender of a person used for administrative purposes. | |||||
![]() ![]() |
0..* | BackboneElement | A language which may be used to communicate with the patient about his or her health | |||||
![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||
![]() ![]() ![]() |
1..1 | CodeableConcept | The language which can be used to communicate with the patient about his or her health Binding: CommonLanguages (preferred): A human language.
| |||||
![]() ![]() |
0..* | BackboneElement | Link to another patient resource that concerns the same actual person | |||||
![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||
![]() ![]() ![]() |
1..1 | Reference(Patient | RelatedPerson) | The other patient or related person resource that the link refers to | |||||
![]() ![]() ![]() |
1..1 | code | replaced-by | replaces | refer | seealso Binding: LinkType (required): The type of link between this patient resource and another patient resource. | |||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| Patient.identifier:LocalPid.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std. |
| Patient.telecom.system | Base | required | ContactPointSystem | 📍4.0.1 | FHIR Std. |
| Patient.telecom.use | Base | required | ContactPointUse | 📍4.0.1 | FHIR Std. |
| Patient.gender | Base | required | AdministrativeGender | 📍4.0.1 | FHIR Std. |
| Patient.maritalStatus | Base | extensible | ChCoreMaritalStatus | 📦3.4.0 | CH Term v3.4 |
| Patient.contact:contact.relationship | Base | extensible | Patient Contact Relationship | 📍4.0.1 | FHIR Std. |
| Patient.contact:nameOfParent.relationship | Base | extensible | Patient Contact Relationship | 📍4.0.1 | FHIR Std. |
| Patient.contact:nameOfParent.gender | Base | required | AdministrativeGender | 📍4.0.1 | FHIR Std. |
| Patient.communication.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
| Patient.link.type | Base | required | LinkType | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| ch-addr-2 | error | Patient.address, Patient.contact:contact.address | For a Swiss address, a canton abbreviation from the value set 'eCH-0007 Canton Abbreviation' must be used. |
country.extension.where(url = 'http://hl7.org/fhir/StructureDefinition/iso21090-codedString' and (value.code = 'CH' or value.code = 'CHE')).empty() or
state.empty() or state.memberOf('http://fhir.ch/ig/ch-core/ValueSet/ech-7-cantonabbreviation')
|
| ch-core-hm-1 | error | Patient.name | if officialName with eCH-011 Extension is specified, it can only be put on a name where use attribute is official |
family.extension.where(url='http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-ech-11-name' and value='officialName').empty() or (family.extension.where(url='http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-ech-11-name' and value='officialName').exists() and use='official')
|
| ch-core-hm-2 | error | Patient.name | if originalName with eCH-011 Extension is specified, it can only be put on a name where use attribute is maiden |
family.extension.where(url='http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-ech-11-name' and value='originalName').empty() or ((family.extension.where(url='http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-ech-11-name' and value='originalName').exists() and use='maiden'))
|
| ch-core-hm-3 | error | Patient.name | ch-ext-ech-11-name can only be put on a family name |
descendants().extension.where(url='http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-ech-11-name').count()=family.extension.where(url='http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-ech-11-name').count()
|
| ch-core-hm-4 | error | Patient.name | ch-ext-ech-11-firstname can only be put on a given name |
descendants().extension.where(url='http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-ech-11-firstname').count()=given.extension.where(url='http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-ech-11-firstname').count()
|
| ch-pat-1 | warning | Patient | If one ore more human names are provided, at least one human name should have a family and a given name. |
name.where(family.exists() and given.exists()).count()>0 or name.empty()
|
| ch-pat-2 | warning | Patient | gender 'unknown' is currently not used in Switzerland in eCH and the EPR |
gender.empty() or gender!='unknown'
|
| ch-pat-3 | warning | Patient.extension:citizenship | ISO Country Alpha-2 or ISO Country Alpha-3 code |
((extension.where(url='code').value.coding.code.length()=2) and extension.where(url='code').value.coding.code.memberOf('http://hl7.org/fhir/ValueSet/iso3166-1-2')) or ((extension.where(url='code').value.coding.code.length() = 3) and extension.where(url='code').value.coding.code.memberOf('http://hl7.org/fhir/ValueSet/iso3166-1-3'))
|
| dom-2 | error | Patient | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Patient | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource |
contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | Patient | If 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-5 | error | Patient | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Patient | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| pat-1 | error | Patient.contact, Patient.contact:contact, Patient.contact:nameOfParent | SHALL at least contain a contact's details or a reference to an organization |
name.exists() or telecom.exists() or address.exists() or organization.exists()
|
Differential View
This structure is derived from Patient
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | Patient | CH Core Patient Constraints: ch-pat-1, ch-pat-2 |
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | |
![]() ![]() ![]() |
0..1 | CHCoreAddressEch11PlaceOfBirth | Place of birth of the patient URL: http://hl7.org/fhir/StructureDefinition/patient-birthPlace profiled by http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-patient-ech-11-placeofbirth | |
![]() ![]() ![]() |
0..* | CHCoreAddressECH11PlaceOfOrigin | Place of origin(s) of the patient URL: http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-patient-ech-11-placeoforigin | |
![]() ![]() ![]() |
C | 0..* | (Complex) | Information on nationality data (eCH: Staatsangehörigkeit/Nationalité) of the patient URL: http://hl7.org/fhir/StructureDefinition/patient-citizenship Constraints: ch-pat-3 |
![]() ![]() ![]() |
0..1 | CodeableConcept | Religion of the patient URL: http://hl7.org/fhir/StructureDefinition/patient-religion Binding: ReligiousAffiliation (preferred) | |
![]() ![]() |
0..* | Identifier | An identifier for this patient Slice: Unordered, Open by value:$this Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | |
![]() ![]() ![]() |
0..* | EPRSPIDIdentifier | EPR-SPID Required Pattern: | |
![]() ![]() ![]() |
0..* | AHVN13Identifier | AHVN13 / NAVS13 of the patient (13 digits starting with 756, no separation points) Required Pattern: | |
![]() ![]() ![]() |
0..* | Identifier | Local patient identifier(s) Required Pattern: | |
![]() ![]() ![]() ![]() |
1..1 | uri | The namespace for the identifier value | |
![]() ![]() ![]() ![]() |
1..1 | string | The value that is unique | |
![]() ![]() ![]() |
0..* | VEKAIdentifier | Insurance card number of the patient (20 digits) Required Pattern: | |
![]() ![]() |
0..* | CHCoreHumanName | A name associated with the patient | |
![]() ![]() |
0..* | ContactPoint | A contact detail for the individual Slice: Unordered, Open by value:system Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | |
![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() |
1..1 | code | phone | fax | email | pager | url | sms | other | |
![]() ![]() ![]() ![]() |
1..1 | string | The actual contact point details | |
![]() ![]() ![]() |
0..* | CHCoreContactPointECH46Email | A contact detail for the individual | |
![]() ![]() ![]() |
0..* | CHCoreContactPointECH46Phone | A contact detail for the individual | |
![]() ![]() ![]() |
0..* | CHCoreContactPointECH46Internet | A contact detail for the individual | |
![]() ![]() |
0..1 | code | male | female | other | unknown* (* see warning 'ch-pat-2') | |
![]() ![]() |
0..1 | date | The date of birth for the individual | |
![]() ![]() |
0..1 | boolean, dateTime | Indicates if the individual is deceased or not | |
![]() ![]() |
0..* | CHCoreAddress | An address for the individual | |
![]() ![]() |
0..1 | CodeableConcept | Marital (civil) status of a patient Binding: ChCoreMaritalStatus (extensible) | |
![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | MaritalData Separation URL: http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-ech-11-maritaldata-separation Binding: eCH-011 MaritalData Separation (extensible): ValueSet separation type | |
![]() ![]() |
0..* | BackboneElement | A contact party (e.g. guardian, partner, friend) for the patient Slice: Unordered, Open by value:relationship Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | |
![]() ![]() ![]() |
0..1 | BackboneElement | Contact data if it is not the address of the patient | |
![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | The kind of relationship Required Pattern: | |
![]() ![]() ![]() ![]() |
0..0 | A contact detail for the person | ||
![]() ![]() ![]() ![]() |
1..1 | CHCoreAddressECH10 | Address for the contact person | |
![]() ![]() ![]() |
0..* | BackboneElement | Name of parent | |
![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | The kind of relationship Required Pattern: | |
![]() ![]() ![]() ![]() |
1..1 | HumanName | A name associated with the contact person | |
![]() ![]() ![]() ![]() |
0..1 | code | Sex of the parent (eCH-0021: nameOfParent/sex) | |
![]() ![]() |
0..* | BackboneElement | A language which may be used to communicate with the patient about his or her health | |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Patient.maritalStatus | Base | extensible | ChCoreMaritalStatus | 📦3.4.0 | CH Term v3.4 |
| Id | Grade | Path(s) | Description | Expression |
| ch-pat-1 | warning | Patient | If one ore more human names are provided, at least one human name should have a family and a given name. |
name.where(family.exists() and given.exists()).count()>0 or name.empty()
|
| ch-pat-2 | warning | Patient | gender 'unknown' is currently not used in Switzerland in eCH and the EPR |
gender.empty() or gender!='unknown'
|
| ch-pat-3 | warning | Patient.extension:citizenship | ISO Country Alpha-2 or ISO Country Alpha-3 code |
((extension.where(url='code').value.coding.code.length()=2) and extension.where(url='code').value.coding.code.memberOf('http://hl7.org/fhir/ValueSet/iso3166-1-2')) or ((extension.where(url='code').value.coding.code.length() = 3) and extension.where(url='code').value.coding.code.memberOf('http://hl7.org/fhir/ValueSet/iso3166-1-3'))
|
Snapshot ViewView
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | Patient | CH Core Patient Constraints: ch-pat-1, ch-pat-2 | ||||
![]() ![]() |
0..1 | id | Logical id of this artifact | |||||
![]() ![]() |
0..1 | Meta | Metadata about the resource | |||||
![]() ![]() |
0..1 | uri | A set of rules under which this content was created | |||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
![]() ![]() |
0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements | |||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | |||||
![]() ![]() ![]() |
0..1 | CHCoreAddressEch11PlaceOfBirth | Place of birth of the patient URL: http://hl7.org/fhir/StructureDefinition/patient-birthPlace profiled by http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-patient-ech-11-placeofbirth | |||||
![]() ![]() ![]() |
0..* | CHCoreAddressECH11PlaceOfOrigin | Place of origin(s) of the patient URL: http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-patient-ech-11-placeoforigin | |||||
![]() ![]() ![]() |
C | 0..* | (Complex) | Information on nationality data (eCH: Staatsangehörigkeit/Nationalité) of the patient URL: http://hl7.org/fhir/StructureDefinition/patient-citizenship Constraints: ch-pat-3 | ||||
![]() ![]() ![]() |
0..1 | CodeableConcept | Religion of the patient URL: http://hl7.org/fhir/StructureDefinition/patient-religion Binding: ReligiousAffiliation (preferred) | |||||
![]() ![]() |
0..* | Extension | Extensions that cannot be ignored | |||||
![]() ![]() |
0..* | Identifier | An identifier for this patient Slice: Unordered, Open by value:$this Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | |||||
![]() ![]() ![]() |
0..* | EPRSPIDIdentifier | EPR-SPID Required Pattern: | |||||
![]() ![]() ![]() |
0..* | AHVN13Identifier | AHVN13 / NAVS13 of the patient (13 digits starting with 756, no separation points) Required Pattern: | |||||
![]() ![]() ![]() |
0..* | Identifier | Local patient identifier(s) Required Pattern: | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | |||||
![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Description of identifier Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. | |||||
![]() ![]() ![]() ![]() |
1..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient | |||||
![]() ![]() ![]() ![]() |
1..1 | string | The value that is unique Example General: 123456 | |||||
![]() ![]() ![]() ![]() |
0..1 | Period | Time period when id is/was valid for use | |||||
![]() ![]() ![]() ![]() |
0..1 | Reference(Organization) | Organization that issued id (may be just text) | |||||
![]() ![]() ![]() |
0..* | VEKAIdentifier | Insurance card number of the patient (20 digits) Required Pattern: | |||||
![]() ![]() |
0..1 | boolean | Whether this patient's record is in active use | |||||
![]() ![]() |
C | 0..* | CHCoreHumanName | A name associated with the patient Constraints: ch-core-hm-1, ch-core-hm-2, ch-core-hm-3, ch-core-hm-4 | ||||
![]() ![]() |
0..* | ContactPoint | A contact detail for the individual Slice: Unordered, Open by value:system Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | |||||
![]() ![]() ![]() |
Content/Rules for all slices | |||||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
C | 1..1 | code | phone | fax | email | pager | url | sms | other Binding: ContactPointSystem (required): Telecommunications form for contact point. | ||||
![]() ![]() ![]() ![]() |
1..1 | string | The actual contact point details | |||||
![]() ![]() ![]() ![]() |
0..1 | code | home | work | temp | old | mobile - purpose of this contact point Binding: ContactPointUse (required): Use of contact point. | |||||
![]() ![]() ![]() ![]() |
0..1 | positiveInt | Specify preferred order of use (1 = highest) | |||||
![]() ![]() ![]() ![]() |
0..1 | Period | Time period when the contact point was/is in use | |||||
![]() ![]() ![]() |
0..* | CHCoreContactPointECH46Email | A contact detail for the individual | |||||
![]() ![]() ![]() |
0..* | CHCoreContactPointECH46Phone | A contact detail for the individual | |||||
![]() ![]() ![]() |
0..* | CHCoreContactPointECH46Internet | A contact detail for the individual | |||||
![]() ![]() |
0..1 | code | male | female | other | unknown* (* see warning 'ch-pat-2') Binding: AdministrativeGender (required): The gender of a person used for administrative purposes. | |||||
![]() ![]() |
0..1 | date | The date of birth for the individual | |||||
![]() ![]() |
0..1 | Indicates if the individual is deceased or not | ||||||
![]() ![]() ![]() |
boolean | |||||||
![]() ![]() ![]() |
dateTime | |||||||
![]() ![]() |
C | 0..* | CHCoreAddress | An address for the individual Constraints: ch-addr-2 | ||||
![]() ![]() |
0..1 | CodeableConcept | Marital (civil) status of a patient Binding: ChCoreMaritalStatus (extensible) | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | MaritalData Separation URL: http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-ech-11-maritaldata-separation Binding: eCH-011 MaritalData Separation (extensible): ValueSet separation type | |||||
![]() ![]() ![]() |
0..* | Coding | Code defined by a terminology system | |||||
![]() ![]() ![]() |
0..1 | string | Plain text representation of the concept | |||||
![]() ![]() |
0..1 | Whether patient is part of a multiple birth | ||||||
![]() ![]() ![]() |
boolean | |||||||
![]() ![]() ![]() |
integer | |||||||
![]() ![]() |
0..* | Attachment | Image of the patient | |||||
![]() ![]() |
C | 0..* | BackboneElement | A contact party (e.g. guardian, partner, friend) for the patient Slice: Unordered, Open by value:relationship Constraints: pat-1 Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them | ||||
![]() ![]() ![]() |
Content/Rules for all slices | |||||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||
![]() ![]() ![]() ![]() |
0..* | CodeableConcept | The kind of relationship Binding: PatientContactRelationship (extensible): The nature of the relationship between a patient and a contact person for that patient. | |||||
![]() ![]() ![]() ![]() |
0..1 | HumanName | A name associated with the contact person | |||||
![]() ![]() ![]() ![]() |
0..* | ContactPoint | A contact detail for the person | |||||
![]() ![]() ![]() ![]() |
0..1 | Address | Address for the contact person | |||||
![]() ![]() ![]() ![]() |
0..1 | code | male | female | other | unknown Binding: AdministrativeGender (required): The gender of a person used for administrative purposes. | |||||
![]() ![]() ![]() ![]() |
C | 0..1 | Reference(Organization) | Organization that is associated with the contact | ||||
![]() ![]() ![]() ![]() |
0..1 | Period | The period during which this contact person or organization is valid to be contacted relating to this patient | |||||
![]() ![]() ![]() |
C | 0..1 | BackboneElement | Contact data if it is not the address of the patient Constraints: pat-1 | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||
![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | The kind of relationship Binding: PatientContactRelationship (extensible): The nature of the relationship between a patient and a contact person for that patient. Required Pattern: | |||||
![]() ![]() ![]() ![]() |
0..1 | HumanName | A name associated with the contact person | |||||
![]() ![]() ![]() ![]() |
C | 1..1 | CHCoreAddressECH10 | Address for the contact person Constraints: ch-addr-2 | ||||
![]() ![]() ![]() ![]() |
0..1 | code | male | female | other | unknown Binding: AdministrativeGender (required): The gender of a person used for administrative purposes. | |||||
![]() ![]() ![]() ![]() |
C | 0..1 | Reference(Organization) | Organization that is associated with the contact | ||||
![]() ![]() ![]() ![]() |
0..1 | Period | The period during which this contact person or organization is valid to be contacted relating to this patient | |||||
![]() ![]() ![]() |
C | 0..* | BackboneElement | Name of parent Constraints: pat-1 | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||
![]() ![]() ![]() ![]() |
1..1 | CodeableConcept | The kind of relationship Binding: PatientContactRelationship (extensible): The nature of the relationship between a patient and a contact person for that patient. Required Pattern: | |||||
![]() ![]() ![]() ![]() |
1..1 | HumanName | A name associated with the contact person | |||||
![]() ![]() ![]() ![]() |
0..* | ContactPoint | A contact detail for the person | |||||
![]() ![]() ![]() ![]() |
0..1 | Address | Address for the contact person | |||||
![]() ![]() ![]() ![]() |
0..1 | code | Sex of the parent (eCH-0021: nameOfParent/sex) Binding: AdministrativeGender (required): The gender of a person used for administrative purposes. | |||||
![]() ![]() ![]() ![]() |
C | 0..1 | Reference(Organization) | Organization that is associated with the contact | ||||
![]() ![]() ![]() ![]() |
0..1 | Period | The period during which this contact person or organization is valid to be contacted relating to this patient | |||||
![]() ![]() |
0..* | BackboneElement | A language which may be used to communicate with the patient about his or her health | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||
![]() ![]() ![]() |
1..1 | CodeableConcept | The language which can be used to communicate with the patient about his or her health Binding: CommonLanguages (preferred): A human language.
| |||||
![]() ![]() ![]() |
0..1 | boolean | Language preference indicator | |||||
![]() ![]() |
0..* | Reference(Organization | Practitioner | PractitionerRole) | Patient's nominated primary care provider | |||||
![]() ![]() |
0..1 | Reference(Organization) | Organization that is the custodian of the patient record | |||||
![]() ![]() |
0..* | BackboneElement | Link to another patient resource that concerns the same actual person | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | |||||
![]() ![]() ![]() |
0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||
![]() ![]() ![]() |
1..1 | Reference(Patient | RelatedPerson) | The other patient or related person resource that the link refers to | |||||
![]() ![]() ![]() |
1..1 | code | replaced-by | replaces | refer | seealso Binding: LinkType (required): The type of link between this patient resource and another patient resource. | |||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| Patient.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
| Patient.identifier:LocalPid.use | Base | required | IdentifierUse | 📍4.0.1 | FHIR Std. |
| Patient.identifier:LocalPid.type | Base | extensible | IdentifierType | 📍4.0.1 | FHIR Std. |
| Patient.telecom.system | Base | required | ContactPointSystem | 📍4.0.1 | FHIR Std. |
| Patient.telecom.use | Base | required | ContactPointUse | 📍4.0.1 | FHIR Std. |
| Patient.gender | Base | required | AdministrativeGender | 📍4.0.1 | FHIR Std. |
| Patient.maritalStatus | Base | extensible | ChCoreMaritalStatus | 📦3.4.0 | CH Term v3.4 |
| Patient.contact.relationship | Base | extensible | Patient Contact Relationship | 📍4.0.1 | FHIR Std. |
| Patient.contact.gender | Base | required | AdministrativeGender | 📍4.0.1 | FHIR Std. |
| Patient.contact:contact.relationship | Base | extensible | Patient Contact Relationship | 📍4.0.1 | FHIR Std. |
| Patient.contact:contact.gender | Base | required | AdministrativeGender | 📍4.0.1 | FHIR Std. |
| Patient.contact:nameOfParent.relationship | Base | extensible | Patient Contact Relationship | 📍4.0.1 | FHIR Std. |
| Patient.contact:nameOfParent.gender | Base | required | AdministrativeGender | 📍4.0.1 | FHIR Std. |
| Patient.communication.language | Base | preferred | Common Languages | 📍4.0.1 | FHIR Std. |
| Patient.link.type | Base | required | LinkType | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| ch-addr-2 | error | Patient.address, Patient.contact:contact.address | For a Swiss address, a canton abbreviation from the value set 'eCH-0007 Canton Abbreviation' must be used. |
country.extension.where(url = 'http://hl7.org/fhir/StructureDefinition/iso21090-codedString' and (value.code = 'CH' or value.code = 'CHE')).empty() or
state.empty() or state.memberOf('http://fhir.ch/ig/ch-core/ValueSet/ech-7-cantonabbreviation')
|
| ch-core-hm-1 | error | Patient.name | if officialName with eCH-011 Extension is specified, it can only be put on a name where use attribute is official |
family.extension.where(url='http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-ech-11-name' and value='officialName').empty() or (family.extension.where(url='http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-ech-11-name' and value='officialName').exists() and use='official')
|
| ch-core-hm-2 | error | Patient.name | if originalName with eCH-011 Extension is specified, it can only be put on a name where use attribute is maiden |
family.extension.where(url='http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-ech-11-name' and value='originalName').empty() or ((family.extension.where(url='http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-ech-11-name' and value='originalName').exists() and use='maiden'))
|
| ch-core-hm-3 | error | Patient.name | ch-ext-ech-11-name can only be put on a family name |
descendants().extension.where(url='http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-ech-11-name').count()=family.extension.where(url='http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-ech-11-name').count()
|
| ch-core-hm-4 | error | Patient.name | ch-ext-ech-11-firstname can only be put on a given name |
descendants().extension.where(url='http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-ech-11-firstname').count()=given.extension.where(url='http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-ech-11-firstname').count()
|
| ch-pat-1 | warning | Patient | If one ore more human names are provided, at least one human name should have a family and a given name. |
name.where(family.exists() and given.exists()).count()>0 or name.empty()
|
| ch-pat-2 | warning | Patient | gender 'unknown' is currently not used in Switzerland in eCH and the EPR |
gender.empty() or gender!='unknown'
|
| ch-pat-3 | warning | Patient.extension:citizenship | ISO Country Alpha-2 or ISO Country Alpha-3 code |
((extension.where(url='code').value.coding.code.length()=2) and extension.where(url='code').value.coding.code.memberOf('http://hl7.org/fhir/ValueSet/iso3166-1-2')) or ((extension.where(url='code').value.coding.code.length() = 3) and extension.where(url='code').value.coding.code.memberOf('http://hl7.org/fhir/ValueSet/iso3166-1-3'))
|
| dom-2 | error | Patient | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Patient | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource |
contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | Patient | If 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-5 | error | Patient | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Patient | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| pat-1 | error | Patient.contact, Patient.contact:contact, Patient.contact:nameOfParent | SHALL at least contain a contact's details or a reference to an organization |
name.exists() or telecom.exists() or address.exists() or organization.exists()
|
This structure is derived from Patient
Summary
Mandatory: 0 element(8 nested mandatory elements)
Prohibited: 1 element
Structures
This structure refers to these other structures:
Extensions
This structure refers to these extensions:
Slices
This structure defines the following Slices:
Other representations of profile: CSV, Excel, Schematron