Union of http://medcomfhir.dk/ig/document/StructureDefinition/medcom-documentreference and http://medcomfhir.dk/ig/document/StructureDefinition/medcom-documentreference

This is the set of resources that conform to either of the profiles MedComDocumentReference (http://medcomfhir.dk/ig/document/StructureDefinition/medcom-documentreference) and MedComDocumentReference (http://medcomfhir.dk/ig/document/StructureDefinition/medcom-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 2..*ExtensionExtension
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 SΣ1..1Identifier[DocumentEntry.uniqueId] Master Version Specific Identifier
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
.... use ?!Σ0..1codeusual | official | temp | secondary | old (If known)
Binding: ?? (required): Identifies the purpose for this identifier, if known .


ele-1: All FHIR elements must have a @value or children
.... type Σ0..1CodeableConceptDescription of identifier
Binding: ?? (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.


ele-1: All FHIR elements must have a @value or children
.... system Σ0..1uriThe namespace for the identifier value
ele-1: All FHIR elements must have a @value or children
Example General: http://www.acme.com/identifiers/patient
.... value SΣ1..1stringThe value that is unique
ele-1: All FHIR elements must have a @value or children
Example General: 123456
.... period Σ0..1PeriodTime period when id is/was valid for use
ele-1: All FHIR elements must have a @value or children
.... assigner Σ0..1Reference(Organization)Organization that issued id (may be just text)
ele-1: All FHIR elements must have a @value or children
... identifier SΣC1..1Identifier[DocumentEntry.entryUUID] Identifier for the document
ele-1: All FHIR elements must have a @value or children
uuid: General UUID expression
.... 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
.... use ?!Σ0..1codeusual | official | temp | secondary | old (If known)
Binding: ?? (required): Identifies the purpose for this identifier, if known .


ele-1: All FHIR elements must have a @value or children
.... type Σ0..1CodeableConceptDescription of identifier
Binding: ?? (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.


ele-1: All FHIR elements must have a @value or children
.... system Σ0..1uriThe namespace for the identifier value
ele-1: All FHIR elements must have a @value or children
Example General: http://www.acme.com/identifiers/patient
.... value SΣ1..1stringThe value that is unique
ele-1: All FHIR elements must have a @value or children
Example General: 123456
.... period Σ0..1PeriodTime period when id is/was valid for use
ele-1: All FHIR elements must have a @value or children
.... assigner Σ0..1Reference(Organization)Organization that issued id (may be just text)
ele-1: All FHIR elements must have a @value or children
... status ?!SΣ1..1code[DocumentEntry.availabilityStatus] current = active | superseded = deprecated
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 SΣ1..1CodeableConcept[DocumentEntry.typeCode] Kind of document
Binding: ?? (preferred): Precise type of clinical 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
.... coding Σ0..*CodingCode defined by a terminology system
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
..... system SΣ1..1uriIdentity of the terminology system
ele-1: All FHIR elements must have a @value or children
..... version Σ0..1stringVersion of the system - if relevant
ele-1: All FHIR elements must have a @value or children
..... code SΣ1..1codeSymbol in syntax defined by the system
ele-1: All FHIR elements must have a @value or children
..... display Σ0..1stringRepresentation defined by the system
ele-1: All FHIR elements must have a @value or children
..... userSelected Σ0..1booleanIf this coding was chosen directly by the user
ele-1: All FHIR elements must have a @value or children
.... text Σ0..1stringPlain text representation of the concept
ele-1: All FHIR elements must have a @value or children
... category SΣ1..1CodeableConcept[DocumentEntry.class] Categorization of document
Binding: ?? (extensible)
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
.... coding Σ0..*CodingCode defined by a terminology system
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
..... system SΣ1..1uriIdentity of the terminology system
ele-1: All FHIR elements must have a @value or children
..... version Σ0..1stringVersion of the system - if relevant
ele-1: All FHIR elements must have a @value or children
..... code SΣ1..1codeSymbol in syntax defined by the system
ele-1: All FHIR elements must have a @value or children
..... display Σ0..1stringRepresentation defined by the system
ele-1: All FHIR elements must have a @value or children
..... userSelected Σ0..1booleanIf this coding was chosen directly by the user
ele-1: All FHIR elements must have a @value or children
.... text Σ0..1stringPlain text representation of the concept
ele-1: All FHIR elements must have a @value or children
... subject SΣ1..1Reference(MedComDocumentPatient | #sd-medcom-document-patient-medcom-document-patient) {c}[DocumentEntry.sourcePatientInfo, DocumentEntry.sourcePatientId] 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 SΣ1..2Reference(Practitioner | PractitionerRole | Organization | Device | Patient | RelatedPerson) {c}[DocumentEntry.author] Who and/or what authored the document
ele-1: All FHIR elements must have a @value or children
... authenticator S0..1Reference(MedComDocumentPractitioner | #sd-medcom-document-practitioner-medcom-document-practitioner) {c}[DocumentEntry.legalAuthenticator] Who authenticated the document
ele-1: All FHIR elements must have a @value or children
... custodian 0..1Reference(Organization)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(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 SΣ1..*CodeableConcept[DocumentEntry.confidentialityCode] Document 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 SΣ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
..... 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
..... contentType SΣ1..1code[DocumentEntry.mimeType] Mime type of the content, with charset etc.
Binding: ?? (required)
ele-1: All FHIR elements must have a @value or children
Example General: text/plain; charset=UTF-8, image/png
..... language SΣ1..1code[DocumentEntry.languageCode] Human language of the content
Binding: ?? (extensible)
ele-1: All FHIR elements must have a @value or children
Example General: en-AU
..... data 0..1base64BinaryData inline, base64ed
ele-1: All FHIR elements must have a @value or children
..... url SΣ0..1url[DocumentEntry.URI] Uri where the data can be found
ele-1: All FHIR elements must have a @value or children
Example General: http://www.acme.com/logo-small.png
..... size SΣ0..1unsignedInt[DocumentEntry.size] Number of bytes of content
ele-1: All FHIR elements must have a @value or children
..... hash SΣ0..1base64Binary[DocumentEntry.hash] Hash of the data (sha-1)
ele-1: All FHIR elements must have a @value or children
..... title SΣ1..1string[DocumentEntry.title] Label to display in place of the data
ele-1: All FHIR elements must have a @value or children
Example General: Official Corporate Logo
..... creation SΣ1..1dateTime[DocumentEntry.creationTime] Date attachment was first created
ele-1: All FHIR elements must have a @value or children
.... format SΣ1..1Coding[DocumentEntry.formatCode] Format/content rules for the document
Binding: ?? (preferred): Document Format Codes.


ele-1: All FHIR elements must have a @value or children
... context SΣ1..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 S0..1CodeableConcept[DocumentEntry.eventCodeList] Main clinical acts documented
Binding: ?? (example): This list of codes represents the main clinical acts being documented.


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
..... coding Σ0..*CodingCode defined by a terminology system
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
...... system SΣ1..1uriIdentity of the terminology system
ele-1: All FHIR elements must have a @value or children
...... version Σ0..1stringVersion of the system - if relevant
ele-1: All FHIR elements must have a @value or children
...... code SΣ1..1codeSymbol in syntax defined by the system
ele-1: All FHIR elements must have a @value or children
...... display Σ0..1stringRepresentation defined by the system
ele-1: All FHIR elements must have a @value or children
...... userSelected Σ0..1booleanIf this coding was chosen directly by the user
ele-1: All FHIR elements must have a @value or children
..... text Σ0..1stringPlain text representation of the concept
ele-1: All FHIR elements must have a @value or children
.... period SΣ0..1Period[DocumentEntry.serviceStartTime, DocumentEntry.serviceStopTime] Time of service that is being documented
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
..... start SΣ0..1dateTimeStarting time with inclusive boundary
ele-1: All FHIR elements must have a @value or children
..... end SΣ0..1dateTimeEnd time with inclusive boundary, if not ongoing
ele-1: All FHIR elements must have a @value or children
.... facilityType S1..1CodeableConcept[DocumentEntry.healthcareFacilityTypeCode] Kind of facility where patient was seen
Binding: ?? (example): XDS Facility Type.


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
..... coding Σ0..*CodingCode defined by a terminology system
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
...... system SΣ1..1uriIdentity of the terminology system
Binding: ?? (extensible)
ele-1: All FHIR elements must have a @value or children
...... version Σ0..1stringVersion of the system - if relevant
ele-1: All FHIR elements must have a @value or children
...... code SΣ1..1codeSymbol in syntax defined by the system
ele-1: All FHIR elements must have a @value or children
...... display Σ0..1stringRepresentation defined by the system
ele-1: All FHIR elements must have a @value or children
...... userSelected Σ0..1booleanIf this coding was chosen directly by the user
ele-1: All FHIR elements must have a @value or children
..... text Σ0..1stringPlain text representation of the concept
ele-1: All FHIR elements must have a @value or children
.... practiceSetting S1..1CodeableConcept[DocumentEntry.practiceSettingCode] Additional details about where the content was created (e.g. clinical specialty)
Binding: ?? (example): Additional details about where the content was created (e.g. clinical specialty).


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
..... coding Σ0..*CodingCode defined by a terminology system
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
...... system SΣ1..1uriIdentity of the terminology system
Binding: ?? (extensible)
ele-1: All FHIR elements must have a @value or children
...... version Σ0..1stringVersion of the system - if relevant
ele-1: All FHIR elements must have a @value or children
...... code SΣ1..1codeSymbol in syntax defined by the system
ele-1: All FHIR elements must have a @value or children
...... display Σ0..1stringRepresentation defined by the system
ele-1: All FHIR elements must have a @value or children
...... userSelected Σ0..1booleanIf this coding was chosen directly by the user
ele-1: All FHIR elements must have a @value or children
..... text Σ0..1stringPlain text representation of the concept
ele-1: All FHIR elements must have a @value or children
.... sourcePatientInfo S1..1Reference(Patient)[DocumentEntry.sourcePatientId and DocumentEntry.sourcePatientInfo] Patient demographics from source. Must be the same reference as in DocumentReference.subject.
ele-1: All FHIR elements must have a @value or children
.... related S0..*Reference(Resource)[DocumentEntry.referenceIdList] Related identifiers or resources
ele-1: All FHIR elements must have a @value or children

doco Documentation for this format