{
  "resourceType": "StructureDefinition",
  "id": "pharmacological-therapy-immunoglobulins",
  "url": "https://www.netzwerk-universitaetsmedizin.de/fhir/StructureDefinition/pharmacological-therapy-immunoglobulins",
  "version": "1.0.6",
  "name": "PharmacologicalTherapyImmunoglobulins",
  "title": "Pharmacological Therapy Immunoglobulins",
  "status": "active",
  "experimental": false,
  "date": "2020-10-29",
  "publisher": "Berlin Institute of Health at Charité (BIH)",
  "contact": [
    {
      "telecom": [
        {
          "system": "url",
          "value": "https://www.bihealth.org/en/research/core-facilities/interoperability/"
        }
      ]
    }
  ],
  "description": "Pharmacological therapy using immunoglobulins in the context of Covid-19",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "MedicationStatement",
  "baseDefinition": "https://www.medizininformatik-initiative.de/fhir/core/modul-medikation/StructureDefinition/MedicationStatement",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "MedicationStatement.medication[x]",
        "path": "MedicationStatement.medication[x]",
        "type": [
          {
            "code": "CodeableConcept"
          }
        ]
      },
      {
        "id": "MedicationStatement.medication[x].coding",
        "path": "MedicationStatement.medication[x].coding",
        "slicing": {
          "discriminator": [
            {
              "type": "pattern",
              "path": "$this"
            }
          ],
          "rules": "open"
        },
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.medication[x].coding:snomed",
        "path": "MedicationStatement.medication[x].coding",
        "sliceName": "snomed",
        "min": 1,
        "max": "1",
        "patternCoding": {
          "code": "333710000",
          "system": "http://snomed.info/sct"
        },
        "mustSupport": false
      },
      {
        "id": "MedicationStatement.medication[x].coding:snomed.system",
        "path": "MedicationStatement.medication[x].coding.system",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.medication[x].coding:snomed.code",
        "path": "MedicationStatement.medication[x].coding.code",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "MedicationStatement.medication[x].coding:atcClassDe",
        "path": "MedicationStatement.medication[x].coding",
        "sliceName": "atcClassDe",
        "min": 0,
        "max": "*",
        "patternCoding": {
          "system": "http://fhir.de/CodeSystem/bfarm/atc"
        },
        "binding": {
          "strength": "extensible",
          "valueSet": "https://www.netzwerk-universitaetsmedizin.de/fhir/ValueSet/immunoglobulins-atc"
        }
      },
      {
        "id": "MedicationStatement.medication[x].coding:atcClassDe.system",
        "path": "MedicationStatement.medication[x].coding.system",
        "min": 1
      },
      {
        "id": "MedicationStatement.medication[x].coding:atcClassDe.code",
        "path": "MedicationStatement.medication[x].coding.code",
        "min": 1
      }
    ]
  }
}