Union of http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-documentreference and http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-documentreference

This is the set of resources that conform to either of the profiles ehealth-documentreference (http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-documentreference) and ehealth-documentreference (http://ehealth.sundhed.dk/fhir/StructureDefinition/ehealth-documentreference). E.g. what you have to deal with if you get resources conforming to one of them

Structure

NameFlagsCard.TypeDescription & Constraintsdoco
.. DocumentReference 0..*A reference to a document
dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources
dom-3: 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
dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
dom-5: If a resource is contained in another resource, it SHALL NOT have a security label
dom-6: A resource should have narrative for robust management
... meta Σ0..1MetaMetadata about the resource
ele-1: All FHIR elements must have a @value or children
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
ele-1: All FHIR elements must have a @value or children
... language 0..1codeLanguage of the resource content
Binding: ?? (preferred): A human language.


ele-1: All FHIR elements must have a @value or children
... contained 0..*ResourceContained, inline Resources
... extension 0..*ExtensionAdditional content defined by implementations
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
... masterIdentifier Σ0..1IdentifierMaster Version Specific Identifier
ele-1: All FHIR elements must have a @value or children
... identifier Σ0..*IdentifierOther identifiers for the document
ele-1: All FHIR elements must have a @value or children
... status ?!Σ1..1codecurrent | superseded | entered-in-error
Binding: ?? (required): The status of the document reference.


ele-1: All FHIR elements must have a @value or children
... docStatus Σ0..1codepreliminary | final | amended | entered-in-error
Binding: ?? (required): Status of the underlying document.


ele-1: All FHIR elements must have a @value or children
... type Σ0..1CodeableConceptKind of document (LOINC if possible)
Binding: ?? (required)
ele-1: All FHIR elements must have a @value or children
... category Σ0..1CodeableConceptCategorization of document
Binding: ?? (required)
ele-1: All FHIR elements must have a @value or children
... subject Σ0..1Reference(ehealth-patient | ehealth-practitioner | Group | ehealth-device | #sd-ehealth-patient-ehealth-patient) {r}Who/what is the subject of the document
ele-1: All FHIR elements must have a @value or children
... date Σ0..1instantWhen this document reference was created
ele-1: All FHIR elements must have a @value or children
... author Σ0..*Reference(ehealth-practitioner | ehealth-organization | ehealth-device | ehealth-patient | ehealth-relatedperson | #sd-ehealth-practitioner-ehealth-practitioner) {r}Who and/or what authored the document
ele-1: All FHIR elements must have a @value or children
... authenticator 0..1Reference(ehealth-practitioner | ehealth-organization | #sd-ehealth-practitioner-ehealth-practitioner) {r}Who/what authenticated the document
ele-1: All FHIR elements must have a @value or children
... custodian 0..1Reference(ehealth-organization | #sd-ehealth-organization-ehealth-organization) {r}Organization which maintains the document
ele-1: All FHIR elements must have a @value or children
... relatesTo Σ0..*BackboneElementRelationships to other documents
ele-1: All FHIR elements must have a @value or children
.... extension 0..*ExtensionAdditional content defined by implementations
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... code Σ1..1codereplaces | transforms | signs | appends
Binding: ?? (required): The type of relationship between documents.


ele-1: All FHIR elements must have a @value or children
.... target Σ1..1Reference(ehealth-documentreference), Reference(ehealth-documentreference)Target of the relationship
ele-1: All FHIR elements must have a @value or children
... description Σ0..1stringHuman-readable description
ele-1: All FHIR elements must have a @value or children
... securityLabel Σ0..*CodeableConceptDocument security-tags
Binding: ?? (extensible): Security Labels from the Healthcare Privacy and Security Classification System.


ele-1: All FHIR elements must have a @value or children
... content Σ1..*BackboneElementDocument referenced
ele-1: All FHIR elements must have a @value or children
.... extension 0..*ExtensionAdditional content defined by implementations
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... attachment Σ1..1AttachmentWhere to access the document
ele-1: All FHIR elements must have a @value or children
.... format Σ0..1CodingFormat/content rules for the document
Binding: ?? (required)
ele-1: All FHIR elements must have a @value or children
... context Σ0..1BackboneElementClinical context of document
ele-1: All FHIR elements must have a @value or children
.... extension 0..*ExtensionAdditional content defined by implementations
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... encounter 0..*Reference(Encounter | EpisodeOfCare)Context of the document content
ele-1: All FHIR elements must have a @value or children
.... event 0..*CodeableConceptMain clinical acts documented
Binding: ?? (required)
ele-1: All FHIR elements must have a @value or children
.... period Σ0..1PeriodTime of service that is being documented
ele-1: All FHIR elements must have a @value or children
.... facilityType 0..1CodeableConceptKind of facility where patient was seen
Binding: ?? (required)
ele-1: All FHIR elements must have a @value or children
.... practiceSetting 0..1CodeableConceptAdditional details about where the content was created (e.g. clinical specialty)
Binding: ?? (required)
ele-1: All FHIR elements must have a @value or children
.... sourcePatientInfo 0..1Reference(ehealth-patient | #sd-ehealth-patient-ehealth-patient)Patient demographics from source
ele-1: All FHIR elements must have a @value or children
.... related 0..*Reference(Resource)Related identifiers or resources
ele-1: All FHIR elements must have a @value or children

doco Documentation for this format