{
  "resourceType": "StructureDefinition",
  "id": "6c4b2a78-5b4d-49a1-a4b3-dbbfe4ddc1b1",
  "meta": {
    "lastUpdated": "2021-04-08T15:37:14.698+00:00"
  },
  "url": "http://pbme.solutions/fhir/StructureDefinition/PBMConditionICD10GM",
  "name": "PBMConditionICD10GM",
  "status": "draft",
  "date": "2021-04-06T06:47:17.6553733+00:00",
  "fhirVersion": "4.0.1",
  "mapping": [
    {
      "identity": "workflow",
      "uri": "http://hl7.org/fhir/workflow",
      "name": "Workflow Pattern"
    },
    {
      "identity": "sct-concept",
      "uri": "http://snomed.info/conceptdomain",
      "name": "SNOMED CT Concept Domain Binding"
    },
    {
      "identity": "v2",
      "uri": "http://hl7.org/v2",
      "name": "HL7 v2 Mapping"
    },
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    },
    {
      "identity": "w5",
      "uri": "http://hl7.org/fhir/fivews",
      "name": "FiveWs Pattern Mapping"
    },
    {
      "identity": "sct-attr",
      "uri": "http://snomed.org/attributebinding",
      "name": "SNOMED CT Attribute Binding"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "Condition",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Condition",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Condition.identifier",
        "path": "Condition.identifier",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Condition.identifier.system",
        "path": "Condition.identifier.system",
        "comment": "Identifier.system is always case sensitive.\r\n\r\nFor PBMe.Solutions, it shall be consistent in this format: \r\nhttp://pbme.solutions/[localHospitalName]/fhir/",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Condition.identifier.value",
        "path": "Condition.identifier.value",
        "comment": "Use the internally used identifier for a condition, if available",
        "mustSupport": true
      },
      {
        "id": "Condition.code",
        "path": "Condition.code",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Condition.code.coding",
        "path": "Condition.code.coding",
        "min": 1
      },
      {
        "id": "Condition.code.coding.system",
        "path": "Condition.code.coding.system",
        "definition": "The identification of the code system that defines the meaning of the symbol in the code.\r\n\r\nPlease use either\r\nhttp://fhir.de/CodeSystem/dimdi/icd-10-gm\r\nor\r\nhttp://snomed.info/sct",
        "min": 1,
        "fixedUri": "http://fhir.de/CodeSystem/dimdi/icd-10-gm",
        "mustSupport": true
      },
      {
        "id": "Condition.code.coding.version",
        "path": "Condition.code.coding.version",
        "mustSupport": true
      },
      {
        "id": "Condition.code.coding.code",
        "path": "Condition.code.coding.code",
        "comment": "You find ICD10GM Expressions here: https://www.dimdi.de/static/de/klassifikationen/icd/icd-10-gm/kode-suche/htmlgm2020/index.htm",
        "min": 1,
        "mustSupport": true
      },
      {
        "id": "Condition.code.coding.display",
        "path": "Condition.code.coding.display",
        "mustSupport": true
      },
      {
        "id": "Condition.subject",
        "path": "Condition.subject",
        "mustSupport": true
      },
      {
        "id": "Condition.subject.reference",
        "path": "Condition.subject.reference",
        "comment": "To be able to allow delta changes etc. use PUT for transfer an use references like this:\r\n\r\n\"Patient?identifier=localHospitalName|patientID\"",
        "mustSupport": true
      },
      {
        "id": "Condition.encounter",
        "path": "Condition.encounter",
        "mustSupport": true
      },
      {
        "id": "Condition.encounter.reference",
        "path": "Condition.encounter.reference",
        "mustSupport": true
      },
      {
        "id": "Condition.onset[x]",
        "path": "Condition.onset[x]",
        "definition": "Estimated or actual date or date-time the condition began, in the opinion of the clinician.",
        "min": 1,
        "type": [
          {
            "code": "dateTime"
          }
        ],
        "mustSupport": true
      }
    ]
  }
}