PackagesCanonicalsLogsProblems
    Packages
    dk.ehmi.eer@1.0.0-draft
    http://medcomehmi.dk/ig/eer/StructureDefinition/EerMessageDefinition
description: A profile of the MessageDefinition resource.
package_name: dk.ehmi.eer
derivation: constraint
name: EerMessageDefinition
type: MessageDefinition
elements:
  category:
    mustSupport: true
    pattern: {type: Code, value: notification}
    index: 28
  publisher:
    mustSupport: true
    pattern: {type: String, value: 'MedCom, https://www.medcom.dk'}
    index: 11
  jurisdiction:
    mustSupport: true
    pattern:
      type: CodeableConcept
      value:
        coding:
        - {code: DK}
    index: 27
  useContext:
    elements:
      code:
        binding: {strength: required, valueSet: 'http://medcomehmi.dk/ig/terminology/ValueSet/eer-messagedefinition-use-context-code-valueset'}
        index: 25
        elements:
          system:
            pattern: {type: Uri, value: 'http://terminology.hl7.org/CodeSystem/usage-context-type'}
            index: 26
  title: {mustSupport: true, index: 9}
  identifier:
    mustSupport: true
    index: 0
    elements:
      use: {mustSupport: true, index: 1}
      type:
        binding: {strength: required, valueSet: 'http://medcomehmi.dk/ig/terminology/ValueSet/eer-medcom-message-definition-type-valueset'}
        mustSupport: true
        index: 2
        elements:
          coding:
            elements:
              system:
                pattern: {type: Uri, value: 'http://medcomehmi.dk/ig/terminology/CodeSystem/eer-medcom-message-definition-type'}
                index: 3
      system:
        binding: {strength: required, valueSet: 'http://medcomehmi.dk/ig/terminology/ValueSet/eer-messagedefinition-identifer-system-valueset'}
        index: 4
      value: {mustSupport: true, index: 5}
      period:
        elements:
          start: {mustSupport: true, index: 6}
          end: {mustSupport: true, index: 7}
        required: [start]
    required: [value, type, system, use]
  replaces:
    elements:
      value: {mustSupport: true, index: 10}
  responseRequired: {mustSupport: true, index: 29}
  version: {mustSupport: true, index: 8}
  contact:
    mustSupport: true
    index: 12
    slicing:
      rules: open
      discriminator:
      - {path: id, type: value}
      min: 1
      slices:
        InteroperabilityConsultant:
          match: {id: InteroperabilityConsultant}
          schema:
            mustSupport: true
            _required: true
            index: 13
            elements:
              id:
                mustSupport: true
                pattern: {type: String, value: InteroperabilityConsultant}
                index: 14
              name: {mustSupport: true, index: 15}
              telecom:
                elements:
                  system:
                    mustSupport: true
                    pattern: {type: Code, value: email}
                    index: 16
                  value: {mustSupport: true, index: 17}
                  use:
                    mustSupport: true
                    pattern: {type: Code, value: work}
                    index: 18
                required: [value, system, use]
            required: [id, name]
        SubjectMatterExpert:
          match: {id: SubjectMatterExpert}
          schema:
            mustSupport: true
            index: 19
            elements:
              id:
                mustSupport: true
                pattern: {type: String, value: SubjectMatterExpert}
                index: 20
              name: {mustSupport: true, index: 21}
              telecom:
                elements:
                  system:
                    mustSupport: true
                    pattern: {type: Code, value: email}
                    index: 22
                  value: {mustSupport: true, index: 23}
                  use:
                    mustSupport: true
                    pattern: {type: Code, value: work}
                    index: 24
                required: [value, system, use]
            required: [id, name]
package_version: 1.0.0-draft
class: profile
kind: resource
url: http://medcomehmi.dk/ig/eer/StructureDefinition/EerMessageDefinition
base: http://hl7.org/fhir/StructureDefinition/MessageDefinition
version: 1.0.0-draft
required: [responseRequired, identifier, jurisdiction, title, version, category, contact]