MedNet interface implementation guide
0.15.0 - CI Build
MedNet interface implementation guide - Local Development build (v0.15.0). See the Directory of published versions
Official URL: https://mednet.swiss/fhir/StructureDefinition/mni-relatedPerson | Version: 0.15.0 | |||
Active as of 2020-11-06 | Computable Name: MNIRelatedPerson | |||
Copyright/Legal: novcom AG |
MedNet Interface (MNI) - RelatedPerson Profile
Usage:
Description of Profiles, Differentials, Snapshots and how the different presentations work.
This structure is derived from RelatedPerson
Summary
Mandatory: 0 element (4 nested mandatory elements)
Must-Support: 20 elements
Fixed Value: 3 elements
Structures
This structure refers to these other structures:
Slices
This structure defines the following Slices:
This structure is derived from RelatedPerson
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
RelatedPerson | 0..* | RelatedPerson | MedNet Interface (MNI) - RelatedPerson | |
id | S | 0..1 | string | The id is unique within the space of all resources of the same type on the same server It can be any combination of upper- or lower-case ASCII letters 'A'..'Z', and 'a'..'z', numerals ('0'..'9'), '-' and '.' with a length limit of 64 characters. (This might be an integer, an un-prefixed OID, UUID or any other identifier pattern that meets these constraints.) |
active | S | 0..1 | boolean | Whether this related person's record is in active use Fixed Value: true |
patient | S | 1..1 | Reference(MedNet Interface (MNI) - Patient) | Link to the Patient |
Slices for relationship | S | 0..* | CodeableConcept | The nature of the relationship Slice: Unordered, Open by value:coding.system, value:coding.code |
relationship:KIND | S | 0..1 | CodeableConcept | Kind of relation ship, for example Emergency contact, Employer |
coding | S | 0..* | Coding | Code defined by a terminology system |
system | S | 1..1 | uri | Identity of the terminology system Fixed Value: http://terminology.hl7.org/CodeSystem/v2-0131 |
code | S | 1..1 | code | C (Emergency Contact) | E (Employer) | F (Federal Agency) | I (Insurance Company) | N (Next-of-Kin) | S (State Agency) | U (Unknown) |
display | S | 0..1 | string | Representation defined by the system |
text | S | 0..1 | string | If the relationship can not be coded, it can be described in plain text in this field |
relationship:FamilyMember | S | 0..1 | CodeableConcept | FamilyMember relation ship, for example sister |
coding | S | 0..* | Coding | Code defined by a terminology system |
system | S | 1..1 | uri | Identity of the terminology system Fixed Value: http://terminology.hl7.org/CodeSystem/v3-RoleCode |
code | S | 1..1 | code | CHILD (child) | DAU (natural daugher) | SON (natural son) | FTH (father) | MTH (mother) | ... |
display | S | 0..1 | string | Representation defined by the system |
text | S | 0..1 | string | If the relationship can not be coded, it can be described in plain text in this field |
name | S | 0..* | MNIHumanName | Name of a human - parts and usage |
telecom | S | 0..* | MNIContactPoint | Details of a Technology mediated contact point (phone, fax, email, etc.) |
gender | S | 0..1 | code | male | female | other | unknown |
address | S | 0..* | MNIAddress | An address expressed using postal conventions (as opposed to GPS or other location definition formats) |
Documentation for this format |
Name | Flags | Card. | Type | Description & Constraints | ||||
---|---|---|---|---|---|---|---|---|
RelatedPerson | 0..* | RelatedPerson | MedNet Interface (MNI) - RelatedPerson | |||||
id | SΣ | 0..1 | string | The id is unique within the space of all resources of the same type on the same server It can be any combination of upper- or lower-case ASCII letters 'A'..'Z', and 'a'..'z', numerals ('0'..'9'), '-' and '.' with a length limit of 64 characters. (This might be an integer, an un-prefixed OID, UUID or any other identifier pattern that meets these constraints.) | ||||
meta | Σ | 0..1 | Meta | Metadata about the resource | ||||
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
language | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
text | 0..1 | Narrative | Text summary of the resource, for human interpretation | |||||
contained | 0..* | Resource | Contained, inline Resources | |||||
extension | 0..* | Extension | Additional content defined by implementations | |||||
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored | ||||
identifier | Σ | 0..* | Identifier | A human identifier for this person | ||||
active | ?!SΣ | 0..1 | boolean | Whether this related person's record is in active use Fixed Value: true | ||||
patient | SΣ | 1..1 | Reference(MedNet Interface (MNI) - Patient) | Link to the Patient | ||||
Slices for relationship | SΣ | 0..* | CodeableConcept | The nature of the relationship Slice: Unordered, Open by value:coding.system, value:coding.code Binding: PatientRelationshipType (preferred): The nature of the relationship between a patient and the related person. | ||||
relationship:KIND | SΣ | 0..1 | CodeableConcept | Kind of relation ship, for example Emergency contact, Employer Binding: PatientRelationshipType (preferred): The nature of the relationship between a patient and the related person. | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
coding | SΣ | 0..* | Coding | Code defined by a terminology system | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
system | SΣ | 1..1 | uri | Identity of the terminology system Fixed Value: http://terminology.hl7.org/CodeSystem/v2-0131 | ||||
version | Σ | 0..1 | string | Version of the system - if relevant | ||||
code | SΣ | 1..1 | code | C (Emergency Contact) | E (Employer) | F (Federal Agency) | I (Insurance Company) | N (Next-of-Kin) | S (State Agency) | U (Unknown) | ||||
display | SΣ | 0..1 | string | Representation defined by the system | ||||
userSelected | Σ | 0..1 | boolean | If this coding was chosen directly by the user | ||||
text | SΣ | 0..1 | string | If the relationship can not be coded, it can be described in plain text in this field | ||||
relationship:FamilyMember | SΣ | 0..1 | CodeableConcept | FamilyMember relation ship, for example sister Binding: PatientRelationshipType (preferred): The nature of the relationship between a patient and the related person. | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
coding | SΣ | 0..* | Coding | Code defined by a terminology system | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
system | SΣ | 1..1 | uri | Identity of the terminology system Fixed Value: http://terminology.hl7.org/CodeSystem/v3-RoleCode | ||||
version | Σ | 0..1 | string | Version of the system - if relevant | ||||
code | SΣ | 1..1 | code | CHILD (child) | DAU (natural daugher) | SON (natural son) | FTH (father) | MTH (mother) | ... | ||||
display | SΣ | 0..1 | string | Representation defined by the system | ||||
userSelected | Σ | 0..1 | boolean | If this coding was chosen directly by the user | ||||
text | SΣ | 0..1 | string | If the relationship can not be coded, it can be described in plain text in this field | ||||
name | SI | 0..* | MNIHumanName | Name of a human - parts and usage | ||||
telecom | SI | 0..* | MNIContactPoint | Details of a Technology mediated contact point (phone, fax, email, etc.) | ||||
gender | SΣ | 0..1 | code | male | female | other | unknown Binding: AdministrativeGender (required): The gender of a person used for administrative purposes. | ||||
birthDate | Σ | 0..1 | date | The date on which the related person was born | ||||
address | S | 0..* | MNIAddress | An address expressed using postal conventions (as opposed to GPS or other location definition formats) | ||||
photo | 0..* | Attachment | Image of the person | |||||
period | 0..1 | Period | Period of time that this relationship is considered valid | |||||
communication | 0..* | BackboneElement | A language which may be used to communicate with about the patient's health | |||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations | |||||
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
language | 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.
| |||||
preferred | 0..1 | boolean | Language preference indicator | |||||
Documentation for this format |
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
RelatedPerson | 0..* | RelatedPerson | MedNet Interface (MNI) - RelatedPerson | |
id | Σ | 0..1 | string | The id is unique within the space of all resources of the same type on the same server It can be any combination of upper- or lower-case ASCII letters 'A'..'Z', and 'a'..'z', numerals ('0'..'9'), '-' and '.' with a length limit of 64 characters. (This might be an integer, an un-prefixed OID, UUID or any other identifier pattern that meets these constraints.) |
active | ?!Σ | 0..1 | boolean | Whether this related person's record is in active use Fixed Value: true |
patient | Σ | 1..1 | Reference(MedNet Interface (MNI) - Patient) | Link to the Patient |
Slices for relationship | Σ | 0..* | CodeableConcept | The nature of the relationship Slice: Unordered, Open by value:coding.system, value:coding.code Binding: PatientRelationshipType (preferred): The nature of the relationship between a patient and the related person. |
relationship:KIND | Σ | 0..1 | CodeableConcept | Kind of relation ship, for example Emergency contact, Employer Binding: PatientRelationshipType (preferred): The nature of the relationship between a patient and the related person. |
coding | Σ | 0..* | Coding | Code defined by a terminology system |
system | Σ | 1..1 | uri | Identity of the terminology system Fixed Value: http://terminology.hl7.org/CodeSystem/v2-0131 |
code | Σ | 1..1 | code | C (Emergency Contact) | E (Employer) | F (Federal Agency) | I (Insurance Company) | N (Next-of-Kin) | S (State Agency) | U (Unknown) |
display | Σ | 0..1 | string | Representation defined by the system |
text | Σ | 0..1 | string | If the relationship can not be coded, it can be described in plain text in this field |
relationship:FamilyMember | Σ | 0..1 | CodeableConcept | FamilyMember relation ship, for example sister Binding: PatientRelationshipType (preferred): The nature of the relationship between a patient and the related person. |
coding | Σ | 0..* | Coding | Code defined by a terminology system |
system | Σ | 1..1 | uri | Identity of the terminology system Fixed Value: http://terminology.hl7.org/CodeSystem/v3-RoleCode |
code | Σ | 1..1 | code | CHILD (child) | DAU (natural daugher) | SON (natural son) | FTH (father) | MTH (mother) | ... |
display | Σ | 0..1 | string | Representation defined by the system |
text | Σ | 0..1 | string | If the relationship can not be coded, it can be described in plain text in this field |
name | I | 0..* | MNIHumanName | Name of a human - parts and usage |
telecom | I | 0..* | MNIContactPoint | Details of a Technology mediated contact point (phone, fax, email, etc.) |
gender | Σ | 0..1 | code | male | female | other | unknown Binding: AdministrativeGender (required): The gender of a person used for administrative purposes. |
address | 0..* | MNIAddress | An address expressed using postal conventions (as opposed to GPS or other location definition formats) | |
Documentation for this format |
This structure is derived from RelatedPerson
Summary
Mandatory: 0 element (4 nested mandatory elements)
Must-Support: 20 elements
Fixed Value: 3 elements
Structures
This structure refers to these other structures:
Slices
This structure defines the following Slices:
Differential View
This structure is derived from RelatedPerson
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
RelatedPerson | 0..* | RelatedPerson | MedNet Interface (MNI) - RelatedPerson | |
id | S | 0..1 | string | The id is unique within the space of all resources of the same type on the same server It can be any combination of upper- or lower-case ASCII letters 'A'..'Z', and 'a'..'z', numerals ('0'..'9'), '-' and '.' with a length limit of 64 characters. (This might be an integer, an un-prefixed OID, UUID or any other identifier pattern that meets these constraints.) |
active | S | 0..1 | boolean | Whether this related person's record is in active use Fixed Value: true |
patient | S | 1..1 | Reference(MedNet Interface (MNI) - Patient) | Link to the Patient |
Slices for relationship | S | 0..* | CodeableConcept | The nature of the relationship Slice: Unordered, Open by value:coding.system, value:coding.code |
relationship:KIND | S | 0..1 | CodeableConcept | Kind of relation ship, for example Emergency contact, Employer |
coding | S | 0..* | Coding | Code defined by a terminology system |
system | S | 1..1 | uri | Identity of the terminology system Fixed Value: http://terminology.hl7.org/CodeSystem/v2-0131 |
code | S | 1..1 | code | C (Emergency Contact) | E (Employer) | F (Federal Agency) | I (Insurance Company) | N (Next-of-Kin) | S (State Agency) | U (Unknown) |
display | S | 0..1 | string | Representation defined by the system |
text | S | 0..1 | string | If the relationship can not be coded, it can be described in plain text in this field |
relationship:FamilyMember | S | 0..1 | CodeableConcept | FamilyMember relation ship, for example sister |
coding | S | 0..* | Coding | Code defined by a terminology system |
system | S | 1..1 | uri | Identity of the terminology system Fixed Value: http://terminology.hl7.org/CodeSystem/v3-RoleCode |
code | S | 1..1 | code | CHILD (child) | DAU (natural daugher) | SON (natural son) | FTH (father) | MTH (mother) | ... |
display | S | 0..1 | string | Representation defined by the system |
text | S | 0..1 | string | If the relationship can not be coded, it can be described in plain text in this field |
name | S | 0..* | MNIHumanName | Name of a human - parts and usage |
telecom | S | 0..* | MNIContactPoint | Details of a Technology mediated contact point (phone, fax, email, etc.) |
gender | S | 0..1 | code | male | female | other | unknown |
address | S | 0..* | MNIAddress | An address expressed using postal conventions (as opposed to GPS or other location definition formats) |
Documentation for this format |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints | ||||
---|---|---|---|---|---|---|---|---|
RelatedPerson | 0..* | RelatedPerson | MedNet Interface (MNI) - RelatedPerson | |||||
id | SΣ | 0..1 | string | The id is unique within the space of all resources of the same type on the same server It can be any combination of upper- or lower-case ASCII letters 'A'..'Z', and 'a'..'z', numerals ('0'..'9'), '-' and '.' with a length limit of 64 characters. (This might be an integer, an un-prefixed OID, UUID or any other identifier pattern that meets these constraints.) | ||||
meta | Σ | 0..1 | Meta | Metadata about the resource | ||||
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
language | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
text | 0..1 | Narrative | Text summary of the resource, for human interpretation | |||||
contained | 0..* | Resource | Contained, inline Resources | |||||
extension | 0..* | Extension | Additional content defined by implementations | |||||
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored | ||||
identifier | Σ | 0..* | Identifier | A human identifier for this person | ||||
active | ?!SΣ | 0..1 | boolean | Whether this related person's record is in active use Fixed Value: true | ||||
patient | SΣ | 1..1 | Reference(MedNet Interface (MNI) - Patient) | Link to the Patient | ||||
Slices for relationship | SΣ | 0..* | CodeableConcept | The nature of the relationship Slice: Unordered, Open by value:coding.system, value:coding.code Binding: PatientRelationshipType (preferred): The nature of the relationship between a patient and the related person. | ||||
relationship:KIND | SΣ | 0..1 | CodeableConcept | Kind of relation ship, for example Emergency contact, Employer Binding: PatientRelationshipType (preferred): The nature of the relationship between a patient and the related person. | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
coding | SΣ | 0..* | Coding | Code defined by a terminology system | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
system | SΣ | 1..1 | uri | Identity of the terminology system Fixed Value: http://terminology.hl7.org/CodeSystem/v2-0131 | ||||
version | Σ | 0..1 | string | Version of the system - if relevant | ||||
code | SΣ | 1..1 | code | C (Emergency Contact) | E (Employer) | F (Federal Agency) | I (Insurance Company) | N (Next-of-Kin) | S (State Agency) | U (Unknown) | ||||
display | SΣ | 0..1 | string | Representation defined by the system | ||||
userSelected | Σ | 0..1 | boolean | If this coding was chosen directly by the user | ||||
text | SΣ | 0..1 | string | If the relationship can not be coded, it can be described in plain text in this field | ||||
relationship:FamilyMember | SΣ | 0..1 | CodeableConcept | FamilyMember relation ship, for example sister Binding: PatientRelationshipType (preferred): The nature of the relationship between a patient and the related person. | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
coding | SΣ | 0..* | Coding | Code defined by a terminology system | ||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
system | SΣ | 1..1 | uri | Identity of the terminology system Fixed Value: http://terminology.hl7.org/CodeSystem/v3-RoleCode | ||||
version | Σ | 0..1 | string | Version of the system - if relevant | ||||
code | SΣ | 1..1 | code | CHILD (child) | DAU (natural daugher) | SON (natural son) | FTH (father) | MTH (mother) | ... | ||||
display | SΣ | 0..1 | string | Representation defined by the system | ||||
userSelected | Σ | 0..1 | boolean | If this coding was chosen directly by the user | ||||
text | SΣ | 0..1 | string | If the relationship can not be coded, it can be described in plain text in this field | ||||
name | SI | 0..* | MNIHumanName | Name of a human - parts and usage | ||||
telecom | SI | 0..* | MNIContactPoint | Details of a Technology mediated contact point (phone, fax, email, etc.) | ||||
gender | SΣ | 0..1 | code | male | female | other | unknown Binding: AdministrativeGender (required): The gender of a person used for administrative purposes. | ||||
birthDate | Σ | 0..1 | date | The date on which the related person was born | ||||
address | S | 0..* | MNIAddress | An address expressed using postal conventions (as opposed to GPS or other location definition formats) | ||||
photo | 0..* | Attachment | Image of the person | |||||
period | 0..1 | Period | Period of time that this relationship is considered valid | |||||
communication | 0..* | BackboneElement | A language which may be used to communicate with about the patient's health | |||||
id | 0..1 | string | Unique id for inter-element referencing | |||||
extension | 0..* | Extension | Additional content defined by implementations | |||||
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ||||
language | 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.
| |||||
preferred | 0..1 | boolean | Language preference indicator | |||||
Documentation for this format |
Other representations of profile: CSV, Excel, Schematron
Path | Conformance | ValueSet |
RelatedPerson.language | preferred | CommonLanguages Max Binding: AllLanguages |
RelatedPerson.relationship | preferred | PatientRelationshipType |
RelatedPerson.relationship:KIND | preferred | PatientRelationshipType |
RelatedPerson.relationship:FamilyMember | preferred | PatientRelationshipType |
RelatedPerson.gender | required | AdministrativeGender |
RelatedPerson.communication.language | preferred | CommonLanguages Max Binding: AllLanguages |
Id | Grade | Path | Details | Requirements |
dom-2 | error | RelatedPerson | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | error | RelatedPerson | 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 | RelatedPerson | 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 | RelatedPerson | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | Best Practice | RelatedPerson | A resource should have narrative for robust management : text.`div`.exists() | |
ele-1 | error | RelatedPerson.meta | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | RelatedPerson.implicitRules | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | RelatedPerson.language | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | RelatedPerson.text | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | RelatedPerson.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | RelatedPerson.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | error | RelatedPerson.modifierExtension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | RelatedPerson.modifierExtension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | error | RelatedPerson.identifier | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | RelatedPerson.active | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | RelatedPerson.patient | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | RelatedPerson.relationship | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | RelatedPerson.relationship:KIND | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | RelatedPerson.relationship:KIND.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | RelatedPerson.relationship:KIND.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | error | RelatedPerson.relationship:KIND.coding | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | RelatedPerson.relationship:KIND.coding.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | RelatedPerson.relationship:KIND.coding.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | error | RelatedPerson.relationship:KIND.coding.system | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | RelatedPerson.relationship:KIND.coding.version | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | RelatedPerson.relationship:KIND.coding.code | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | RelatedPerson.relationship:KIND.coding.display | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | RelatedPerson.relationship:KIND.coding.userSelected | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | RelatedPerson.relationship:KIND.text | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | RelatedPerson.relationship:FamilyMember | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | RelatedPerson.relationship:FamilyMember.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | RelatedPerson.relationship:FamilyMember.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | error | RelatedPerson.relationship:FamilyMember.coding | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | RelatedPerson.relationship:FamilyMember.coding.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | RelatedPerson.relationship:FamilyMember.coding.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | error | RelatedPerson.relationship:FamilyMember.coding.system | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | RelatedPerson.relationship:FamilyMember.coding.version | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | RelatedPerson.relationship:FamilyMember.coding.code | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | RelatedPerson.relationship:FamilyMember.coding.display | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | RelatedPerson.relationship:FamilyMember.coding.userSelected | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | RelatedPerson.relationship:FamilyMember.text | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | RelatedPerson.name | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ch-core-hm-1 | error | RelatedPerson.name | if officalName 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 valueCode='officialName').empty() or (family.extension.where(url='http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-ech-11-name' and valueCode='officialName').exists() and use='official') | |
ch-core-hm-2 | error | RelatedPerson.name | if orginalName 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 valueCode='originalName').empty() or ((family.extension.where(url='http://fhir.ch/ig/ch-core/StructureDefinition/ch-ext-ech-11-name' and valueCode='originalName').exists() and use='maiden')) | |
ch-core-hm-3 | error | RelatedPerson.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 | RelatedPerson.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() | |
cpt-2 | error | RelatedPerson.telecom | A system is required if a value is provided. : value.empty() or system.exists() | |
ele-1 | error | RelatedPerson.telecom | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | RelatedPerson.gender | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | RelatedPerson.birthDate | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | RelatedPerson.address | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | RelatedPerson.photo | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | RelatedPerson.period | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | RelatedPerson.communication | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | RelatedPerson.communication.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | RelatedPerson.communication.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | error | RelatedPerson.communication.modifierExtension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | RelatedPerson.communication.modifierExtension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | error | RelatedPerson.communication.language | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | RelatedPerson.communication.preferred | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |