Left: | CH Core DocumentReference (http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-documentreference) |
Right: | CH Core DocumentReference (http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-documentreference) |
Error | StructureDefinition.version | Values for version differ: '4.0.0' vs '4.0.1' |
Information | StructureDefinition.date | Values for date differ: '2023-12-19T13:50:36+01:00' vs '2023-12-28T08:43:06+01:00' |
Error | DocumentReference.relatesTo.target | Type Mismatch: Reference([CanonicalType[http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-documentreference]]) vs Reference([CanonicalType[http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-documentreference]]) |
Name | Value | Comments | |
---|---|---|---|
abstract | false | ||
baseDefinition | http://hl7.org/fhir/StructureDefinition/DocumentReference | ||
copyright | CC0-1.0 | ||
date | 2023-12-19T13:50:36+01:00 | 2023-12-28T08:43:06+01:00 |
|
description | Base definition for a document reference with the CH Core profiles. | ||
experimental | |||
fhirVersion | 4.0.1 | ||
jurisdiction | |||
jurisdiction[0] | urn:iso:std:iso:3166#CH | ||
kind | resource | ||
name | CHCoreDocumentReference | ||
publisher | HL7 Switzerland | ||
purpose | |||
status | active | ||
title | CH Core DocumentReference | ||
type | DocumentReference | ||
url | http://fhir.ch/ig/ch-core/StructureDefinition/ch-core-documentreference | ||
version | 4.0.0 | 4.0.1 |
|
Name | L Flags | L Card. | L Type | L Description & Constraints | R Flags | R Card. | L Type | L Description & Constraints | Comments | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
DocumentReference | 0..* | DocumentReference | CH Core DocumentReference | 0..* | DocumentReference | CH Core DocumentReference | |||||||||||
id | Σ | 0..1 | id | Logical id of this artifact | Σ | 0..1 | id | Logical id of this artifact | |||||||||
meta | Σ | 0..1 | Meta | Metadata about the resource | Σ | 0..1 | Meta | Metadata about the resource | |||||||||
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created | ?!Σ | 0..1 | uri | A set of rules under which this content was created | |||||||||
language | 0..1 | code | Language of the resource content Binding: ?? (preferred): A human language.
| 0..1 | code | Language of the resource content Binding: ?? (preferred): A human language.
| |||||||||||
text | 0..1 | Narrative | Text summary of the resource, for human interpretation | 0..1 | Narrative | Text summary of the resource, for human interpretation | |||||||||||
contained | 0..* | Resource | Contained, inline Resources | 0..* | Resource | Contained, inline Resources | |||||||||||
extension | 0..* | Extension | Additional content defined by implementations | 0..* | Extension | Additional content defined by implementations | |||||||||||
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored | ?! | 0..* | Extension | Extensions that cannot be ignored | |||||||||
masterIdentifier | Σ | 0..1 | Identifier | Master Version Specific Identifier | Σ | 0..1 | Identifier | Master Version Specific Identifier | |||||||||
identifier | Σ | 0..* | Identifier | Other identifiers for the document | Σ | 0..* | Identifier | Other identifiers for the document | |||||||||
status | ?!Σ | 1..1 | code | current | superseded | entered-in-error Binding: ?? (required): The status of the document reference. | ?!Σ | 1..1 | code | current | superseded | entered-in-error Binding: ?? (required): The status of the document reference. | |||||||||
docStatus | Σ | 0..1 | code | preliminary | final | amended | entered-in-error Binding: ?? (required): Status of the underlying document. | Σ | 0..1 | code | preliminary | final | amended | entered-in-error Binding: ?? (required): Status of the underlying document. | |||||||||
type | Σ | 0..1 | CodeableConcept | Kind of document (LOINC if possible) Binding: ?? (preferred) | Σ | 0..1 | CodeableConcept | Kind of document (LOINC if possible) Binding: ?? (preferred) | |||||||||
category | Σ | 0..* | CodeableConcept | Categorization of document Binding: ?? (preferred) | Σ | 0..* | CodeableConcept | Categorization of document Binding: ?? (preferred) | |||||||||
subject | Σ | 0..1 | Reference(CH Core Patient | CH Core Practitioner | Group | Device) | Who/what is the subject of the document | Σ | 0..1 | Reference(CH Core Patient | CH Core Practitioner | Group | Device) | Who/what is the subject of the document | |||||||||
date | Σ | 0..1 | instant | When this document reference was created | Σ | 0..1 | instant | When this document reference was created | |||||||||
author | Σ | 0..* | Reference(CH Core Practitioner | CH Core PractitionerRole | CH Core Organization | Device | CH Core Patient | RelatedPerson) | Who and/or what authored the document | Σ | 0..* | Reference(CH Core Practitioner | CH Core PractitionerRole | CH Core Organization | Device | CH Core Patient | RelatedPerson) | Who and/or what authored the document | |||||||||
authenticator | 0..1 | Reference(CH Core Practitioner | CH Core PractitionerRole | CH Core Organization) | Who/what authenticated the document | 0..1 | Reference(CH Core Practitioner | CH Core PractitionerRole | CH Core Organization) | Who/what authenticated the document | |||||||||||
custodian | 0..1 | Reference(CH Core Organization) | Organization which maintains the document | 0..1 | Reference(CH Core Organization) | Organization which maintains the document | |||||||||||
relatesTo | Σ | 0..* | BackboneElement | Relationships to other documents | Σ | 0..* | BackboneElement | Relationships to other documents | |||||||||
id | 0..1 | string | Unique id for inter-element referencing | 0..1 | string | Unique id for inter-element referencing | |||||||||||
extension | 0..* | Extension | Additional content defined by implementations | 0..* | Extension | Additional content defined by implementations | |||||||||||
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||||||
code | Σ | 1..1 | code | replaces | transforms | signs | appends Binding: ?? (required): The type of relationship between documents. | Σ | 1..1 | code | replaces | transforms | signs | appends Binding: ?? (required): The type of relationship between documents. | |||||||||
target | Σ | 1..1 | Reference(CH Core DocumentReference) | Target of the relationship | Σ | 1..1 | Reference(CH Core DocumentReference) | Target of the relationship |
| ||||||||
description | Σ | 0..1 | string | Human-readable description | Σ | 0..1 | string | Human-readable description | |||||||||
securityLabel | Σ | 0..* | CodeableConcept | Document security-tags Binding: ?? (extensible) | Σ | 0..* | CodeableConcept | Document security-tags Binding: ?? (extensible) | |||||||||
content | Σ | 1..* | BackboneElement | Document referenced | Σ | 1..* | BackboneElement | Document referenced | |||||||||
id | 0..1 | string | Unique id for inter-element referencing | 0..1 | string | Unique id for inter-element referencing | |||||||||||
extension | 0..* | Extension | Additional content defined by implementations | 0..* | Extension | Additional content defined by implementations | |||||||||||
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||||||
attachment | Σ | 1..1 | Attachment | Where to access the document | Σ | 1..1 | Attachment | Where to access the document | |||||||||
id | 0..1 | string | Unique id for inter-element referencing | 0..1 | string | Unique id for inter-element referencing | |||||||||||
Slices for extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||||||||
contentType | ΣC | 0..1 | code | Mime type of the content, with charset etc. Binding: ?? (required): The mime type of an attachment. Any valid mime type is allowed. ch-docref-1: The codes from the following ValueSet are 'preferred': http://fhir.ch/ig/ch-epr-term/ValueSet/DocumentEntry.mimeType Example General: text/plain; charset=UTF-8, image/png | ΣC | 0..1 | code | Mime type of the content, with charset etc. Binding: ?? (required): The mime type of an attachment. Any valid mime type is allowed. ch-docref-1: The codes from the following ValueSet are 'preferred': http://fhir.ch/ig/ch-epr-term/ValueSet/DocumentEntry.mimeType Example General: text/plain; charset=UTF-8, image/png | |||||||||
language | Σ | 0..1 | code | Human language of the content (BCP-47) Binding: ?? (preferred) Example General: en-AU | Σ | 0..1 | code | Human language of the content (BCP-47) Binding: ?? (preferred) Example General: en-AU | |||||||||
data | 0..1 | base64Binary | Data inline, base64ed | 0..1 | base64Binary | Data inline, base64ed | |||||||||||
url | Σ | 0..1 | url | Uri where the data can be found Example General: http://www.acme.com/logo-small.png | Σ | 0..1 | url | Uri where the data can be found Example General: http://www.acme.com/logo-small.png | |||||||||
size | Σ | 0..1 | unsignedInt | Number of bytes of content (if url provided) | Σ | 0..1 | unsignedInt | Number of bytes of content (if url provided) | |||||||||
hash | Σ | 0..1 | base64Binary | Hash of the data (sha-1, base64ed) | Σ | 0..1 | base64Binary | Hash of the data (sha-1, base64ed) | |||||||||
title | Σ | 0..1 | string | Label to display in place of the data Example General: Official Corporate Logo | Σ | 0..1 | string | Label to display in place of the data Example General: Official Corporate Logo | |||||||||
creation | Σ | 0..1 | dateTime | Date attachment was first created | Σ | 0..1 | dateTime | Date attachment was first created | |||||||||
format | Σ | 0..1 | Coding | Format/content rules for the document Binding: ?? (preferred) | Σ | 0..1 | Coding | Format/content rules for the document Binding: ?? (preferred) | |||||||||
context | Σ | 0..1 | BackboneElement | Clinical context of document | Σ | 0..1 | BackboneElement | Clinical context of document | |||||||||
id | 0..1 | string | Unique id for inter-element referencing | 0..1 | string | Unique id for inter-element referencing | |||||||||||
extension | 0..* | Extension | Additional content defined by implementations | 0..* | Extension | Additional content defined by implementations | |||||||||||
modifierExtension | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | ?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||||||
encounter | 0..* | Reference(CH Core Encounter | EpisodeOfCare) | Context of the document content | 0..* | Reference(CH Core Encounter | EpisodeOfCare) | Context of the document content | |||||||||||
event | 0..* | CodeableConcept | Main clinical acts documented Binding: ?? (example): This list of codes represents the main clinical acts being documented. | 0..* | CodeableConcept | Main clinical acts documented Binding: ?? (example): This list of codes represents the main clinical acts being documented. | |||||||||||
period | Σ | 0..1 | Period | Time of service that is being documented | Σ | 0..1 | Period | Time of service that is being documented | |||||||||
facilityType | 0..1 | CodeableConcept | Kind of facility where patient was seen Binding: ?? (preferred) | 0..1 | CodeableConcept | Kind of facility where patient was seen Binding: ?? (preferred) | |||||||||||
practiceSetting | 0..1 | CodeableConcept | Additional details about where the content was created (e.g. clinical specialty) Binding: ?? (preferred) | 0..1 | CodeableConcept | Additional details about where the content was created (e.g. clinical specialty) Binding: ?? (preferred) | |||||||||||
sourcePatientInfo | 0..1 | Reference(CH Core Patient) | Patient demographics from source | 0..1 | Reference(CH Core Patient) | Patient demographics from source | |||||||||||
related | 0..* | Reference(Resource) | Related identifiers or resources | 0..* | Reference(Resource) | Related identifiers or resources | |||||||||||
Documentation for this format |