This page is part of the CH-CRL (R4) (v0.2.1: STU) based on FHIR R4. This is the current published version. For a full list of available versions, see the Directory of published versions
The official URL for this profile is:
http://fhir.ch/ig/ch-crl/StructureDefinition/ch-crl-documentreference
Document reference for the report as pdf
This profile builds on CHCoreDocumentReference.
This profile was published on Fri Nov 08 00:00:00 CET 2019 as a draft by Bundesamt für Gesundheit BAG.
Description of Profiles, Differentials, Snapshots, and how the XML and JSON presentations work.
This structure is derived from CHCoreDocumentReference
This structure is derived from CHCoreDocumentReference
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
DocumentReference | 0..* | CHCoreDocumentReference | CH CRL DocumentReference | |
subject | 1..1 | Reference(CH CRL Patient Profile) | Patient | |
reference | 1..1 | string | ||
author | 1..* | Reference(CH CRL Practitioner Profile | CH CRL Organization Department Profile) | Practitioner if resident physician or Organization Department if hospital | |
reference | 1..1 | string | ||
description | 1..1 | string | ||
content | 1..* | BackboneElement | ||
attachment | 1..1 | Attachment | ||
contentType | 1..1 | code | ||
data | 1..1 | base64Binary | ||
size | 0..1 | unsignedInt | ||
title | 1..1 | string | ||
creation | 0..1 | dateTime | ||
Documentation for this format |
This structure is derived from CHCoreDocumentReference
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
DocumentReference | I | 0..* | CHCoreDocumentReference | CH CRL DocumentReference |
id | Σ | 0..1 | string | Logical id of this artifact |
meta | ΣI | 0..1 | Meta | Metadata about the resource |
implicitRules | ?!ΣI | 0..1 | uri | A set of rules under which this content was created |
language | I | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred) Max Binding: AllLanguages |
text | I | 0..1 | Narrative | Text summary of the resource, for human interpretation |
contained | 0..* | Resource | Contained, inline Resources | |
extension | I | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!I | 0..* | Extension | Extensions that cannot be ignored |
masterIdentifier | ΣI | 0..1 | Identifier | Master Version Specific Identifier |
identifier | ΣI | 0..* | Identifier | Other identifiers for the document |
status | ?!ΣI | 1..1 | code | current | superseded | entered-in-error Binding: DocumentReferenceStatus (required) |
docStatus | ΣI | 0..1 | code | preliminary | final | amended | entered-in-error Binding: CompositionStatus (required) |
type | ΣI | 0..1 | CodeableConcept | Kind of document (LOINC if possible) Binding: DocumentEntry.typeCode (preferred) |
category | ΣI | 0..* | CodeableConcept | Categorization of document Binding: DocumentEntry.classCode (preferred) |
subject | ΣI | 1..1 | Reference(CH CRL Patient Profile) | Patient |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | I | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url |
reference | ΣI | 1..1 | string | Literal reference, Relative, internal or absolute URL |
type | ΣI | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible) |
identifier | ΣI | 0..1 | Identifier | Logical reference, when literal reference is not known |
display | ΣI | 0..1 | string | Text alternative for the resource |
date | ΣI | 0..1 | instant | When this document reference was created |
author | ΣI | 1..* | Reference(CH CRL Practitioner Profile | CH CRL Organization Department Profile) | Practitioner if resident physician or Organization Department if hospital |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | I | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url |
reference | ΣI | 1..1 | string | Literal reference, Relative, internal or absolute URL |
type | ΣI | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible) |
identifier | ΣI | 0..1 | Identifier | Logical reference, when literal reference is not known |
display | ΣI | 0..1 | string | Text alternative for the resource |
authenticator | I | 0..1 | Reference(Practitioner | PractitionerRole | Organization) | Who/what authenticated the document |
custodian | I | 0..1 | Reference(Organization) | Organization which maintains the document |
relatesTo | ΣI | 0..* | BackboneElement | Relationships to other documents |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | I | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!ΣI | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
code | ΣI | 1..1 | code | replaces | transforms | signs | appends Binding: DocumentRelationshipType (required) |
target | ΣI | 1..1 | Reference(DocumentReference) | Target of the relationship |
description | ΣI | 1..1 | string | Human-readable description |
securityLabel | ΣI | 0..* | CodeableConcept | Document security-tags Binding: DocumentEntry.confidentialityCode (preferred) |
content | ΣI | 1..* | BackboneElement | Document referenced |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | I | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!ΣI | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
attachment | ΣI | 1..1 | Attachment | Where to access the document |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | I | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url |
contentType | ΣI | 1..1 | code | Mime type of the content, with charset etc. Binding: DocumentEntry.mimeType (preferred) Example General: text/plain; charset=UTF-8, image/png |
language | ΣI | 0..1 | code | Human language of the content (BCP-47) Binding: DocumentEntry.languageCode (preferred) Example General: en-AU |
data | I | 1..1 | base64Binary | Data inline, base64ed |
url | ΣI | 0..1 | url | Uri where the data can be found Example General: http://www.acme.com/logo-small.png |
size | ΣI | 0..1 | unsignedInt | Number of bytes of content (if url provided) |
hash | ΣI | 0..1 | base64Binary | Hash of the data (sha-1, base64ed) |
title | ΣI | 1..1 | string | Label to display in place of the data Example General: Official Corporate Logo |
creation | ΣI | 0..1 | dateTime | Date attachment was first created |
format | ΣI | 0..1 | Coding | Format/content rules for the document Binding: DocumentEntry.formatCode (preferred) |
context | ΣI | 0..1 | BackboneElement | Clinical context of document |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | I | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!ΣI | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
encounter | I | 0..* | Reference(Encounter | EpisodeOfCare) | Context of the document content |
event | I | 0..* | CodeableConcept | Main clinical acts documented Binding: v3 Code System ActCode (example) |
period | ΣI | 0..1 | Period | Time of service that is being documented |
facilityType | I | 0..1 | CodeableConcept | Kind of facility where patient was seen Binding: DocumentEntry.healthcareFacilityTypeCode (preferred) |
practiceSetting | I | 0..1 | CodeableConcept | Additional details about where the content was created (e.g. clinical specialty) Binding: DocumentEntry.practiceSettingCode (preferred) |
sourcePatientInfo | I | 0..1 | Reference(Patient) | Patient demographics from source |
related | I | 0..* | Reference(Resource) | Related identifiers or resources |
Documentation for this format |
This structure is derived from CHCoreDocumentReference
Differential View
This structure is derived from CHCoreDocumentReference
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
DocumentReference | 0..* | CHCoreDocumentReference | CH CRL DocumentReference | |
subject | 1..1 | Reference(CH CRL Patient Profile) | Patient | |
reference | 1..1 | string | ||
author | 1..* | Reference(CH CRL Practitioner Profile | CH CRL Organization Department Profile) | Practitioner if resident physician or Organization Department if hospital | |
reference | 1..1 | string | ||
description | 1..1 | string | ||
content | 1..* | BackboneElement | ||
attachment | 1..1 | Attachment | ||
contentType | 1..1 | code | ||
data | 1..1 | base64Binary | ||
size | 0..1 | unsignedInt | ||
title | 1..1 | string | ||
creation | 0..1 | dateTime | ||
Documentation for this format |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
DocumentReference | I | 0..* | CHCoreDocumentReference | CH CRL DocumentReference |
id | Σ | 0..1 | string | Logical id of this artifact |
meta | ΣI | 0..1 | Meta | Metadata about the resource |
implicitRules | ?!ΣI | 0..1 | uri | A set of rules under which this content was created |
language | I | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred) Max Binding: AllLanguages |
text | I | 0..1 | Narrative | Text summary of the resource, for human interpretation |
contained | 0..* | Resource | Contained, inline Resources | |
extension | I | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!I | 0..* | Extension | Extensions that cannot be ignored |
masterIdentifier | ΣI | 0..1 | Identifier | Master Version Specific Identifier |
identifier | ΣI | 0..* | Identifier | Other identifiers for the document |
status | ?!ΣI | 1..1 | code | current | superseded | entered-in-error Binding: DocumentReferenceStatus (required) |
docStatus | ΣI | 0..1 | code | preliminary | final | amended | entered-in-error Binding: CompositionStatus (required) |
type | ΣI | 0..1 | CodeableConcept | Kind of document (LOINC if possible) Binding: DocumentEntry.typeCode (preferred) |
category | ΣI | 0..* | CodeableConcept | Categorization of document Binding: DocumentEntry.classCode (preferred) |
subject | ΣI | 1..1 | Reference(CH CRL Patient Profile) | Patient |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | I | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url |
reference | ΣI | 1..1 | string | Literal reference, Relative, internal or absolute URL |
type | ΣI | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible) |
identifier | ΣI | 0..1 | Identifier | Logical reference, when literal reference is not known |
display | ΣI | 0..1 | string | Text alternative for the resource |
date | ΣI | 0..1 | instant | When this document reference was created |
author | ΣI | 1..* | Reference(CH CRL Practitioner Profile | CH CRL Organization Department Profile) | Practitioner if resident physician or Organization Department if hospital |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | I | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url |
reference | ΣI | 1..1 | string | Literal reference, Relative, internal or absolute URL |
type | ΣI | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible) |
identifier | ΣI | 0..1 | Identifier | Logical reference, when literal reference is not known |
display | ΣI | 0..1 | string | Text alternative for the resource |
authenticator | I | 0..1 | Reference(Practitioner | PractitionerRole | Organization) | Who/what authenticated the document |
custodian | I | 0..1 | Reference(Organization) | Organization which maintains the document |
relatesTo | ΣI | 0..* | BackboneElement | Relationships to other documents |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | I | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!ΣI | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
code | ΣI | 1..1 | code | replaces | transforms | signs | appends Binding: DocumentRelationshipType (required) |
target | ΣI | 1..1 | Reference(DocumentReference) | Target of the relationship |
description | ΣI | 1..1 | string | Human-readable description |
securityLabel | ΣI | 0..* | CodeableConcept | Document security-tags Binding: DocumentEntry.confidentialityCode (preferred) |
content | ΣI | 1..* | BackboneElement | Document referenced |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | I | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!ΣI | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
attachment | ΣI | 1..1 | Attachment | Where to access the document |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | I | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url |
contentType | ΣI | 1..1 | code | Mime type of the content, with charset etc. Binding: DocumentEntry.mimeType (preferred) Example General: text/plain; charset=UTF-8, image/png |
language | ΣI | 0..1 | code | Human language of the content (BCP-47) Binding: DocumentEntry.languageCode (preferred) Example General: en-AU |
data | I | 1..1 | base64Binary | Data inline, base64ed |
url | ΣI | 0..1 | url | Uri where the data can be found Example General: http://www.acme.com/logo-small.png |
size | ΣI | 0..1 | unsignedInt | Number of bytes of content (if url provided) |
hash | ΣI | 0..1 | base64Binary | Hash of the data (sha-1, base64ed) |
title | ΣI | 1..1 | string | Label to display in place of the data Example General: Official Corporate Logo |
creation | ΣI | 0..1 | dateTime | Date attachment was first created |
format | ΣI | 0..1 | Coding | Format/content rules for the document Binding: DocumentEntry.formatCode (preferred) |
context | ΣI | 0..1 | BackboneElement | Clinical context of document |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | I | 0..* | Extension | Additional content defined by implementations |
modifierExtension | ?!ΣI | 0..* | Extension | Extensions that cannot be ignored even if unrecognized |
encounter | I | 0..* | Reference(Encounter | EpisodeOfCare) | Context of the document content |
event | I | 0..* | CodeableConcept | Main clinical acts documented Binding: v3 Code System ActCode (example) |
period | ΣI | 0..1 | Period | Time of service that is being documented |
facilityType | I | 0..1 | CodeableConcept | Kind of facility where patient was seen Binding: DocumentEntry.healthcareFacilityTypeCode (preferred) |
practiceSetting | I | 0..1 | CodeableConcept | Additional details about where the content was created (e.g. clinical specialty) Binding: DocumentEntry.practiceSettingCode (preferred) |
sourcePatientInfo | I | 0..1 | Reference(Patient) | Patient demographics from source |
related | I | 0..* | Reference(Resource) | Related identifiers or resources |
Documentation for this format |
Path | Conformance | ValueSet |
DocumentReference.language | preferred | CommonLanguages Max Binding: AllLanguages |
DocumentReference.status | required | DocumentReferenceStatus |
DocumentReference.docStatus | required | CompositionStatus |
DocumentReference.type | preferred | DocumentEntry.typeCode |
DocumentReference.category | preferred | DocumentEntry.classCode |
DocumentReference.subject.type | extensible | ResourceType |
DocumentReference.author.type | extensible | ResourceType |
DocumentReference.relatesTo.code | required | DocumentRelationshipType |
DocumentReference.securityLabel | preferred | DocumentEntry.confidentialityCode |
DocumentReference.content.attachment.contentType | preferred | DocumentEntry.mimeType |
DocumentReference.content.attachment.language | preferred | DocumentEntry.languageCode |
DocumentReference.content.format | preferred | DocumentEntry.formatCode |
DocumentReference.context.event | example | v3.ActCode |
DocumentReference.context.facilityType | preferred | DocumentEntry.healthcareFacilityTypeCode |
DocumentReference.context.practiceSetting | preferred | DocumentEntry.practiceSettingCode |
Id | Path | Details | Requirements |
dom-2 | DocumentReference | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | DocumentReference | 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 | DocumentReference | 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 | DocumentReference | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | DocumentReference | A resource should have narrative for robust management : text.`div`.exists() | |
ele-1 | DocumentReference.meta | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | DocumentReference.implicitRules | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | DocumentReference.language | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | DocumentReference.text | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | DocumentReference.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | DocumentReference.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | DocumentReference.modifierExtension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | DocumentReference.modifierExtension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | DocumentReference.masterIdentifier | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | DocumentReference.identifier | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | DocumentReference.status | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | DocumentReference.docStatus | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | DocumentReference.type | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | DocumentReference.category | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | DocumentReference.subject | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | DocumentReference.subject.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | DocumentReference.subject.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | DocumentReference.subject.reference | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | DocumentReference.subject.type | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | DocumentReference.subject.identifier | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | DocumentReference.subject.display | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | DocumentReference.date | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | DocumentReference.author | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | DocumentReference.author.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | DocumentReference.author.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | DocumentReference.author.reference | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | DocumentReference.author.type | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | DocumentReference.author.identifier | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | DocumentReference.author.display | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | DocumentReference.authenticator | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | DocumentReference.custodian | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | DocumentReference.relatesTo | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | DocumentReference.relatesTo.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | DocumentReference.relatesTo.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | DocumentReference.relatesTo.modifierExtension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | DocumentReference.relatesTo.modifierExtension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | DocumentReference.relatesTo.code | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | DocumentReference.relatesTo.target | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | DocumentReference.description | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | DocumentReference.securityLabel | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | DocumentReference.content | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | DocumentReference.content.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | DocumentReference.content.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | DocumentReference.content.modifierExtension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | DocumentReference.content.modifierExtension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | DocumentReference.content.attachment | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | DocumentReference.content.attachment.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | DocumentReference.content.attachment.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | DocumentReference.content.attachment.contentType | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | DocumentReference.content.attachment.language | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | DocumentReference.content.attachment.data | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | DocumentReference.content.attachment.url | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | DocumentReference.content.attachment.size | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | DocumentReference.content.attachment.hash | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | DocumentReference.content.attachment.title | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | DocumentReference.content.attachment.creation | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | DocumentReference.content.format | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | DocumentReference.context | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | DocumentReference.context.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | DocumentReference.context.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | DocumentReference.context.modifierExtension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | DocumentReference.context.modifierExtension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | DocumentReference.context.encounter | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | DocumentReference.context.event | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | DocumentReference.context.period | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | DocumentReference.context.facilityType | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | DocumentReference.context.practiceSetting | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | DocumentReference.context.sourcePatientInfo | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | DocumentReference.context.related | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |