description: The Bundle profile for a document package_name: medcom.fhir.dk.document derivation: constraint name: MedComDocumentBundle type: Bundle elements: id: constraint: medcom-document-bundle-id-uuid: {human: The value shall correspond to the structure of an UUID, source: 'http://medcomfhir.dk/ig/document/StructureDefinition/medcom-document-bundle', severity: error, expression: '$this.matches(''(?i)^[0-9a-f]{8}-[0-9a-f]{4}-[45][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$'')'} mustSupport: true index: 0 identifier: {mustSupport: true, index: 1} type: short: Always a document mustSupport: true pattern: {type: Code, value: document} index: 2 timestamp: short: '[DocumentEntry.creationTime] Date and time that the FHIR Document is created.' constraint: medcom-datetime-has-time-offset-zulu: {human: 'dateTime must include date, time, and time zone.', source: 'http://medcomfhir.dk/ig/document/StructureDefinition/medcom-document-bundle', severity: error, expression: '$this.toString().matches(''^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[12][0-9]|3[01])T([01][0-9]|2[0-3]):[0-5][0-9]:[0-5][0-9]([.][0-9]+)?(Z|[+-][0-9]{2}:[0-9]{2})$'')'} mustSupport: true index: 3 entry: mustSupport: true index: 4 elements: fullUrl: {mustSupport: true, index: 5} resource: {mustSupport: true, index: 6} required: [resource, fullUrl] package_version: 2.0.0 class: profile kind: resource url: http://medcomfhir.dk/ig/document/StructureDefinition/medcom-document-bundle base: http://hl7.org/fhir/StructureDefinition/Bundle version: 2.0.0 required: [entry, id, timestamp, identifier]