description: An example profile of the MessageDefinition-fhir resource. package_name: medcom.fhir.dk.messaging derivation: constraint name: MedComMessagingMessageDefinitionFhir type: MessageDefinition elements: description: {mustSupport: true, index: 16} date: {mustSupport: true, index: 9} jurisdiction: elements: coding: mustSupport: true index: 27 elements: code: {mustSupport: true, index: 28} purpose: {mustSupport: true, index: 29} useContext: mustSupport: true index: 17 elements: code: pattern: type: Coding value: {code: workflow, system: 'http://terminology.hl7.org/CodeSystem/usage-context-type'} mustSupport: true type: Coding index: 18 elements: system: {mustSupport: true, index: 19} code: {mustSupport: true, index: 20} value: mustSupport: true choices: [] index: 22 slicing: rules: open ordered: false discriminator: - {path: $this, type: type} min: null slices: valueCodeableConcept: match: {} schema: mustSupport: true choices: [valueCodeableConcept] index: 24 min: 0 max: 1 valueCodeableConcept: type: CodeableConcept mustSupport: true choiceOf: value index: 25 slicing: slices: valueCodeableConcept: match: {} schema: {type: CodeableConcept, mustSupport: true, choiceOf: value, index: 25} min: 0 max: 1 value[x]: elements: text: {mustSupport: true, index: 26} event: mustSupport: true choices: [] index: 31 status: {short: Must always be defined in the individual MessageDefinition, mustSupport: true, index: 8} id: {mustSupport: true, index: 0} allowedResponse: elements: message: elements: value: pattern: {type: string, value: 'http://medcomfhir.dk/ig/acknowledgement/ImplementationGuide/medcom.fhir.dk.acknowledgement'} type: string index: 32 url: {mustSupport: true, index: 1} identifier: elements: type: pattern: type: CodeableConcept value: coding: - {code: FHIR, system: 'http://medcomfhir.dk/ig/terminology/CodeSystem/medcom-message-definition-type'} type: CodeableConcept index: 2 elements: coding: elements: system: {mustSupport: true, index: 3} code: {mustSupport: true, index: 4} system: pattern: {type: uri, value: 'urn:dk:healthcare:medcom:messaging:fhir'} mustSupport: true type: uri index: 5 period: {mustSupport: true, index: 6} replaces: {short: Takes the place of a MessageDefinition that is superseded by this MessageDefinition., index: 7} contact: index: 10 slicing: slices: InteroperabilityConsultant: match: {} schema: index: 10 elements: name: pattern: {type: string, value: MedCom FHIR Team} type: string index: 11 telecom: mustSupport: true index: 12 elements: value: pattern: {type: string, value: fhir@medcom.dk} type: string index: 13 SubjectMatterExpert: match: {} schema: index: 14 elements: telecom: {mustSupport: true, index: 15} package_version: 3.0.0 class: profile kind: resource url: http://medcomfhir.dk/ig/messaging/StructureDefinition/medcom-messaging-messagedefinition-fhir base: http://medcomfhir.dk/ig/messaging/StructureDefinition/medcom-messaging-messagedefinition version: 3.0.0