{
  "resourceType": "StructureDefinition",
  "id": "MedicationOverview",
  "url": "http://nictiz.nl/fhir/StructureDefinition/MedicationOverview",
  "version": "2.0.1",
  "name": "Medication Overview",
  "status": "active",
  "publisher": "Nictiz",
  "contact": [
    {
      "name": "Nictiz",
      "telecom": [
        {
          "system": "email",
          "value": "info@nictiz.nl",
          "use": "work"
        }
      ]
    }
  ],
  "description": "Profile on the List resource which represents the medication overview conform information standard ['Medication Proces'](https://www.nictiz.nl/Paginas/Informatiestandaard-Medicatieprocess.aspx)",
  "purpose": "To define the medication overview as stated in the information standard Medication Process.",
  "copyright": "CC0",
  "fhirVersion": "3.0.1",
  "mapping": [
    {
      "identity": "Medication-Overview",
      "uri": "https://decor.nictiz.nl/medicatieproces/mp-html-20170829T141253/tr-2.16.840.1.113883.2.4.3.11.60.20.77.4.148-2016-11-08T103441.html",
      "name": "Medication Process V09: Medication Overview",
      "comment": "Source language is in Dutch."
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "List",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/List",
  "derivation": "constraint",
  "snapshot": {},
  "differential": {
    "element": [
      {
        "id": "List.extension",
        "path": "List.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "List.extension:Verification",
        "path": "List.extension",
        "sliceName": "Verification",
        "short": "Verification",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://nictiz.nl/fhir/StructureDefinition/MedicationOverview-Verification"
          }
        ],
        "mapping": [
          {
            "identity": "Medication-Overview",
            "map": "mp-dataelement900-22970",
            "comment": "Verificatie patiënt"
          },
          {
            "identity": "Medication-Overview",
            "map": "mp-dataelement900-22973",
            "comment": "Verificatie zorgverlener"
          }
        ]
      },
      {
        "id": "List.extension:Verification.extension:VerificationPatient",
        "path": "List.extension.extension",
        "sliceName": "VerificationPatient",
        "mapping": [
          {
            "identity": "Medication-Overview",
            "map": "mp-dataelement900-22971",
            "comment": "Geverifieerd met patiënt?"
          }
        ]
      },
      {
        "id": "List.extension:Verification.extension:VerificationPatientDate",
        "path": "List.extension.extension",
        "sliceName": "VerificationPatientDate",
        "mapping": [
          {
            "identity": "Medication-Overview",
            "map": "mp-dataelement900-22972",
            "comment": "VerificatieDatum"
          }
        ]
      },
      {
        "id": "List.extension:Verification.extension:VerificationHealthProfessional",
        "path": "List.extension.extension",
        "sliceName": "VerificationHealthProfessional",
        "mapping": [
          {
            "identity": "Medication-Overview",
            "map": "mp-dataelement900-22974",
            "comment": "Geverifieerd met zorgverlener?"
          }
        ]
      },
      {
        "id": "List.extension:Verification.extension:VerificationHealthProfessionalDate",
        "path": "List.extension.extension",
        "sliceName": "VerificationHealthProfessionalDate",
        "mapping": [
          {
            "identity": "Medication-Overview",
            "map": "mp-dataelement900-22975",
            "comment": "VerificatieDatum"
          }
        ]
      },
      {
        "id": "List.identifier",
        "path": "List.identifier",
        "mapping": [
          {
            "identity": "Medication-Overview",
            "map": "mp-dataelement900-22093",
            "comment": "Identificatie"
          }
        ]
      },
      {
        "id": "List.code",
        "path": "List.code",
        "min": 1
      },
      {
        "id": "List.code.coding",
        "path": "List.code.coding",
        "min": 1,
        "max": "1"
      },
      {
        "id": "List.code.coding.system",
        "path": "List.code.coding.system",
        "min": 1,
        "fixedUri": "http://snomed.info/sct"
      },
      {
        "id": "List.code.coding.code",
        "path": "List.code.coding.code",
        "min": 1,
        "fixedCode": "11181000146103"
      },
      {
        "id": "List.code.coding.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "List.code.coding.display",
        "defaultValueString": "Actual medication overview (record artifact)"
      },
      {
        "id": "List.subject",
        "path": "List.subject",
        "min": 1,
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://fhir.nl/fhir/StructureDefinition/nl-core-patient"
          }
        ]
      },
      {
        "id": "List.date",
        "path": "List.date",
        "short": "Medication Overview date",
        "definition": "The date that the medication overview was prepared.",
        "alias": [
          "DocumentDatum"
        ],
        "min": 1,
        "mapping": [
          {
            "identity": "Medication-Overview",
            "map": "mp-dataelement900-22969",
            "comment": "DocumentDatum"
          }
        ]
      },
      {
        "id": "List.source",
        "path": "List.source",
        "min": 1,
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Practitioner"
          },
          {
            "code": "Reference",
            "targetProfile": "http://fhir.nl/fhir/StructureDefinition/nl-core-patient"
          },
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Device"
          }
        ],
        "mapping": [
          {
            "identity": "Medication-Overview",
            "map": "mp-dataelement900-23381",
            "comment": "Auteur"
          }
        ]
      },
      {
        "id": "List.source.extension",
        "path": "List.source.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "List.source.extension:Organization",
        "path": "List.source.extension",
        "sliceName": "Organization",
        "min": 1,
        "type": [
          {
            "code": "Extension",
            "profile": "http://nictiz.nl/fhir/StructureDefinition/MedicationOverview-SourceOrganization"
          }
        ],
        "mapping": [
          {
            "identity": "Medication-Overview",
            "map": "mp-dataelement900-23383",
            "comment": "HealthcareProvider"
          }
        ]
      },
      {
        "id": "List.source.extension:Organization.valueReference:valueReference",
        "path": "List.source.extension.valueReference",
        "sliceName": "valueReference",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://fhir.nl/fhir/StructureDefinition/nl-core-organization"
          }
        ]
      },
      {
        "id": "List.entry",
        "path": "List.entry",
        "slicing": {
          "discriminator": [
            {
              "type": "profile",
              "path": "item.reference.resolve()"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "List.entry:MedicationAgreement",
        "path": "List.entry",
        "sliceName": "MedicationAgreement",
        "mapping": [
          {
            "identity": "Medication-Overview",
            "map": "mp-dataelement900-9580",
            "comment": "Medicatieafspraak"
          }
        ]
      },
      {
        "id": "List.entry:MedicationAgreement.item",
        "path": "List.entry.item",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://nictiz.nl/fhir/StructureDefinition/zib-MedicationAgreement",
            "aggregation": [
              "bundled"
            ]
          }
        ]
      },
      {
        "id": "List.entry:AdministrationAgreement",
        "path": "List.entry",
        "sliceName": "AdministrationAgreement",
        "mapping": [
          {
            "identity": "Medication-Overview",
            "map": "mp-dataelement900-20132",
            "comment": "Toedieningsafspraak"
          }
        ]
      },
      {
        "id": "List.entry:AdministrationAgreement.item",
        "path": "List.entry.item",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://nictiz.nl/fhir/StructureDefinition/zib-AdministrationAgreement",
            "aggregation": [
              "bundled"
            ]
          }
        ]
      },
      {
        "id": "List.entry:MedicationUsage",
        "path": "List.entry",
        "sliceName": "MedicationUsage",
        "mapping": [
          {
            "identity": "Medication-Overview",
            "map": "mp-dataelement900-21338",
            "comment": "MedicatieGebruik"
          }
        ]
      },
      {
        "id": "List.entry:MedicationUsage.item",
        "path": "List.entry.item",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://nictiz.nl/fhir/StructureDefinition/zib-MedicationUse",
            "aggregation": [
              "bundled"
            ]
          }
        ],
        "mapping": [
          {
            "identity": "Medication-Overview",
            "map": "mp-dataelement900-21338",
            "comment": "MedicatieGebruik"
          }
        ]
      }
    ]
  }
}