{
  "resourceType": "StructureDefinition",
  "id": "cio-ReplyProposalContraIndication",
  "url": "http://nictiz.nl/fhir/StructureDefinition/cio-ReplyProposalContraIndication",
  "version": "1.0.0-beta.5",
  "name": "CioReplyProposalContraIndication",
  "title": "cio ReplyProposalContraIndication",
  "status": "draft",
  "publisher": "Nictiz",
  "contact": [
    {
      "name": "Nictiz",
      "telecom": [
        {
          "system": "url",
          "value": "https://www.nictiz.nl",
          "use": "work"
        }
      ]
    }
  ],
  "description": "Profile on the Communication resource which represents the reply proposal contraindication conform information standard [CiO](https://informatiestandaarden.nictiz.nl/wiki/Landingspagina_Contra-indicaties_en_Overgevoeligheden).",
  "purpose": "To define the reply proposal contraindication as stated in the information standard CiO.",
  "copyright": "Copyright and related rights waived via CC0, https://creativecommons.org/publicdomain/zero/1.0/. This does not apply to information from third parties, for example a medical terminology system. The implementer alone is responsible for identifying and obtaining any necessary licenses or authorizations to utilize third party IP in connection with the specification or otherwise.",
  "fhirVersion": "4.0.1",
  "mapping": [
    {
      "identity": "cio-dataset-200-beta3-20241023",
      "uri": "https://decor.nictiz.nl/pub/cio/cio-html-20241023T071643/ds-2.16.840.1.113883.2.4.3.11.60.26.1.2-2020-04-02T000000.html",
      "name": "ART-DECOR Dataset Contraindications and hypersensitivities 2.0.0-beta.3 20241023"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "Communication",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Communication",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Communication",
        "path": "Communication",
        "short": "ReplyProposalContraIndication",
        "definition": "The response to the proposal for registering, retracting, or modifying a medication contraindication.",
        "comment": "Since all concepts within the ReplyProposalContraIndication building block are mapped to elements within this profile, it is not necessary to use the [cio-RegistrationInformation](http://nictiz.nl/fhir/StructureDefinition/cio-RegistrationInformation) profile to convey the RegistrationInformation concepts.",
        "alias": [
          "AntwoordVoorstelContraIndicatie"
        ],
        "mapping": [
          {
            "identity": "cio-dataset-200-beta3-20241023",
            "map": "cio-dataelement-20-937",
            "comment": "ReplyProposalContraIndication"
          },
          {
            "identity": "cio-dataset-200-beta3-20241023",
            "map": "cio-dataelement-20-943",
            "comment": "RegistrationInformation"
          }
        ]
      },
      {
        "id": "Communication.meta",
        "path": "Communication.meta"
      },
      {
        "id": "Communication.meta.tag",
        "path": "Communication.meta.tag",
        "slicing": {
          "discriminator": [
            {
              "type": "pattern",
              "path": "$this"
            }
          ],
          "rules": "open"
        },
        "min": 1
      },
      {
        "id": "Communication.meta.tag:actionable",
        "path": "Communication.meta.tag",
        "sliceName": "actionable",
        "min": 1,
        "max": "1",
        "patternCoding": {
          "system": "http://terminology.hl7.org/CodeSystem/common-tags",
          "code": "actionable"
        }
      },
      {
        "id": "Communication.identifier",
        "path": "Communication.identifier",
        "short": "IdentificationNumber",
        "definition": "Globally unique number that identifies the instantiation of the information model. The number is composed of an identification of the issuer organization and a unique number assigned by this organization.",
        "alias": [
          "Identificatienummer"
        ],
        "min": 1,
        "max": "1",
        "mapping": [
          {
            "identity": "cio-dataset-200-beta3-20241023",
            "map": "cio-dataelement-20-780",
            "comment": "IdentificationNumber"
          }
        ]
      },
      {
        "id": "Communication.basedOn",
        "path": "Communication.basedOn",
        "short": "RelationProposalContraIndication",
        "definition": "Relation to the proposal contraindication to which the reply is made.",
        "alias": [
          "RelatieVoorstelContraIndicatie"
        ],
        "min": 1,
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Resource",
              "http://nictiz.nl/fhir/StructureDefinition/cio-MedicationContraIndication"
            ]
          }
        ],
        "mapping": [
          {
            "identity": "cio-dataset-200-beta3-20241023",
            "map": "cio-dataelement-20-945",
            "comment": "RelationProposalContraIndication"
          }
        ]
      },
      {
        "id": "Communication.subject",
        "path": "Communication.subject",
        "short": "Patient",
        "definition": "The patient that was the focus of this communication.",
        "alias": [
          "Patient"
        ],
        "min": 1,
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Patient",
              "http://nictiz.nl/fhir/StructureDefinition/nl-core-Patient"
            ]
          }
        ],
        "mapping": [
          {
            "identity": "cio-dataset-200-beta3-20241023",
            "map": "cio-dataelement-20-302",
            "comment": "Patient"
          }
        ]
      },
      {
        "id": "Communication.sent",
        "path": "Communication.sent",
        "short": "CreationDateTime",
        "definition": "Date and of the response to the proposal.",
        "alias": [
          "OntstaansDatumTijd"
        ],
        "min": 1,
        "mapping": [
          {
            "identity": "cio-dataset-200-beta3-20241023",
            "map": "cio-dataelement-20-783",
            "comment": "CreationDateTime"
          }
        ]
      },
      {
        "id": "Communication.sender",
        "path": "Communication.sender",
        "short": "Author",
        "definition": "Author of the response to the proposal.",
        "alias": [
          "Auteur"
        ],
        "min": 1,
        "type": [
          {
            "code": "Reference",
            "profile": [
              "http://nictiz.nl/fhir/StructureDefinition/pattern-NlCoreHealthProfessionalReference"
            ],
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Practitioner",
              "http://hl7.org/fhir/StructureDefinition/PractitionerRole",
              "http://nictiz.nl/fhir/StructureDefinition/nl-core-HealthProfessional-PractitionerRole"
            ]
          }
        ],
        "mapping": [
          {
            "identity": "cio-dataset-200-beta3-20241023",
            "map": "cio-dataelement-20-781",
            "comment": "Author"
          }
        ]
      },
      {
        "id": "Communication.payload",
        "path": "Communication.payload",
        "slicing": {
          "discriminator": [
            {
              "type": "exists",
              "path": "content.extension(url='http://nictiz.nl/fhir/5.0/StructureDefinition/extension-Communication.payload.content%5Bx%5D:contentCodeableConcept')"
            }
          ],
          "rules": "open"
        },
        "min": 1,
        "max": "2"
      },
      {
        "id": "Communication.payload:responseProposalContraIndication",
        "path": "Communication.payload",
        "sliceName": "responseProposalContraIndication",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Communication.payload:responseProposalContraIndication.content[x]",
        "path": "Communication.payload.content[x]",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "Communication.payload:responseProposalContraIndication.content[x].extension",
        "path": "Communication.payload.content[x].extension",
        "min": 1
      },
      {
        "id": "Communication.payload:responseProposalContraIndication.content[x].extension:contentCodeableConcept",
        "path": "Communication.payload.content[x].extension",
        "sliceName": "contentCodeableConcept",
        "comment": "This is a pre-adopt of R5 in which the string data type of `.payload.content` is changed to a CodeableConcept.",
        "min": 1,
        "type": [
          {
            "code": "Extension",
            "profile": [
              "http://nictiz.nl/fhir/5.0/StructureDefinition/extension-Communication.payload.content%5Bx%5D:contentCodeableConcept"
            ]
          }
        ]
      },
      {
        "id": "Communication.payload:responseProposalContraIndication.content[x].extension:contentCodeableConcept.value[x]",
        "path": "Communication.payload.content[x].extension.value[x]",
        "short": "ResponseProposalContraIndication",
        "definition": "The response to the proposal for registering, retracting, or modifying a medication contraindication. The proposed medication contraindication is either accepted or rejected.",
        "alias": [
          "BeantwoordingVoorstelContraIndicatie"
        ],
        "min": 1,
        "binding": {
          "strength": "required",
          "valueSet": "http://decor.nictiz.nl/fhir/ValueSet/2.16.840.1.113883.2.4.3.11.60.26.11.38--20240709000000"
        },
        "mapping": [
          {
            "identity": "cio-dataset-200-beta3-20241023",
            "map": "cio-dataelement-20-944",
            "comment": "ResponseProposalContraIndication"
          }
        ]
      },
      {
        "id": "Communication.payload:comment",
        "path": "Communication.payload",
        "sliceName": "comment",
        "max": "1"
      },
      {
        "id": "Communication.payload:comment.content[x]",
        "path": "Communication.payload.content[x]",
        "short": "Comment",
        "definition": "Textual explanation of the response to the proposal contraindication. This free text field can be used to provide the reason for rejecting the proposed medication contraindication.",
        "alias": [
          "Toelichting"
        ],
        "type": [
          {
            "code": "string"
          }
        ],
        "mapping": [
          {
            "identity": "cio-dataset-200-beta3-20241023",
            "map": "cio-dataelement-20-942",
            "comment": "Comment"
          }
        ]
      }
    ]
  }
}