Union of http://fhir.ch/ig/ch-epr-fhir/StructureDefinition/ch-mhd-documentreference-comprehensive and http://fhir.ch/ig/ch-epr-fhir/StructureDefinition/ch-mhd-documentreference-comprehensive

This is the set of resources that conform to either of the profiles CH MHD DocumentReference Comprehensive (http://fhir.ch/ig/ch-epr-fhir/StructureDefinition/ch-mhd-documentreference-comprehensive) and CH MHD DocumentReference Comprehensive (http://fhir.ch/ig/ch-epr-fhir/StructureDefinition/ch-mhd-documentreference-comprehensive). E.g. what you have to deal with if you get resources conforming to one of them

Structure

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. DocumentReference C0..*CH Core DocumentReference
Constraints: ch-mhd
... meta Σ0..1MetaMetadata about the resource
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... language 0..1codeLanguage of the resource content
Binding: ?? (preferred): A human language.
... contained 0..*ResourceContained, inline Resources
... extension 1..*ExtensionExtension
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... masterIdentifier SΣ1..1??Master Version Specific Identifier
... identifier SΣ0..*IdentifierOther identifiers for the document
... status ?!SΣ1..1codecurrent | superseded
Binding: ?? (required): The status of the document reference.
... type SΣ1..1CodeableConceptKind of document (LOINC if possible)
Binding: ?? (required)
... category SΣ1..1CodeableConceptCategorization of document
Binding: ?? (required)
... subject SΣ1..1Reference(CH Core Patient | CH Core Practitioner | Group | Device | #sd-ch-core-patient-ch-core-patient)Who/what is the subject of the document
.... extension 0..*ExtensionAdditional content defined by implementations
.... reference Σ0..1stringLiteral reference, Relative, internal or absolute URL
.... type Σ0..1uriType the reference refers to (e.g. "Patient")
Binding: ?? (extensible): Aa resource (or, for logical models, the URI of the logical model).
.... identifier Σ1..1??Logical reference, when literal reference is not known
.... display Σ0..1stringText alternative for the resource
... date Σ0..1instantWhen this document reference was created
... author SΣ0..*Reference(CH Core Practitioner | CH Core PractitionerRole | CH Core Organization | Device | CH Core Patient | CH Core RelatedPerson | #sd-ch-core-practitioner-ch-core-practitioner) {c}Who and/or what authored the document
... authenticator 0..1Reference(CH Core Practitioner | CH Core PractitionerRole | CH Core Organization | #sd-ch-core-practitioner-ch-core-practitioner) {c}Who/what authenticated the document
... relatesTo SΣ0..*BackboneElementRelationships to other documents
.... extension 0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... code Σ1..1codereplaces | transforms | signs | appends
Binding: ?? (required): The type of relationship between documents.
.... target Σ1..1Reference(CH Core DocumentReference | #sd-ch-core-documentreference-ch-core-documentreference)Target of the relationship
... description SΣ0..1stringHuman-readable description
... securityLabel SΣ1..*CodeableConceptDocument security-tags
Binding: ?? (required)
... content Σ1..1BackboneElementDocument referenced
.... extension 0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... attachment SΣ1..1AttachmentWhere to access the document
..... extension 0..*ExtensionAdditional content defined by implementations
..... contentType SΣC1..1codeMime type of the content, with charset etc.
Binding: ?? (required)
Constraints: ch-docref-1
Example General: text/plain; charset=UTF-8, image/png
..... language SΣ1..1codeHuman language of the content (BCP-47)
Binding: ?? (required)
Example General: en-AU
..... url SΣ1..1urlThe ITI-68 endpoint to use, or a reference to the Binary resource in the Bundle.
Example General: http://www.acme.com/logo-small.png
..... size SΣ0..1unsignedIntNumber of bytes of content (if url provided)
..... hash SΣ0..1base64BinaryHash of the data (sha-1, base64ed)
..... title SΣ1..1stringLabel to display in place of the data
Example General: Official Corporate Logo
..... creation SΣ1..1dateTimeDate attachment was first created
.... format SΣ1..1CodingFormat/content rules for the document
Binding: ?? (required): Document Format Codes.
... context Σ1..1BackboneElementClinical context of document
.... extension 0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... encounter 0..*Reference(CH Core Encounter | EpisodeOfCare | #sd-ch-core-encounter-ch-core-encounter)Context of the document content
.... event S0..*CodeableConceptMain clinical acts documented
Binding: ?? (required)
.... period SΣ0..1PeriodTime of service that is being documented
.... facilityType S1..1CodeableConceptKind of facility where patient was seen
Binding: ?? (required): XDS Facility Type.
.... practiceSetting S1..1CodeableConceptAdditional details about where the content was created (e.g. clinical specialty)
Binding: ?? (required): Additional details about where the content was created (e.g. clinical specialty).
.... sourcePatientInfo S1..1Reference(CH Core Patient | #sd-ch-core-patient-ch-core-patient) {c}Patient demographics from source
.... related 0..*Reference(Resource)Related identifiers or resources

doco Documentation for this format