{
  "resourceType": "StructureDefinition",
  "url": "https://talkingeyes.de/fhir/StructureDefinition/DIGA_FamilyMemberHistory",
  "name": "DIGA_FamilyMemberHistory",
  "status": "draft",
  "fhirVersion": "4.0.1",
  "mapping": [
    {
      "identity": "workflow",
      "uri": "http://hl7.org/fhir/workflow",
      "name": "Workflow Pattern"
    },
    {
      "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"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "FamilyMemberHistory",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/FamilyMemberHistory",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "FamilyMemberHistory.identifier",
        "path": "FamilyMemberHistory.identifier",
        "max": "0"
      },
      {
        "id": "FamilyMemberHistory.instantiatesCanonical",
        "path": "FamilyMemberHistory.instantiatesCanonical",
        "max": "0"
      },
      {
        "id": "FamilyMemberHistory.instantiatesUri",
        "path": "FamilyMemberHistory.instantiatesUri",
        "max": "0"
      },
      {
        "id": "FamilyMemberHistory.status",
        "path": "FamilyMemberHistory.status",
        "fixedCode": "completed"
      },
      {
        "id": "FamilyMemberHistory.dataAbsentReason",
        "path": "FamilyMemberHistory.dataAbsentReason",
        "max": "0"
      },
      {
        "id": "FamilyMemberHistory.patient.reference",
        "path": "FamilyMemberHistory.patient.reference",
        "max": "0"
      },
      {
        "id": "FamilyMemberHistory.patient.type",
        "path": "FamilyMemberHistory.patient.type",
        "max": "0"
      },
      {
        "id": "FamilyMemberHistory.patient.identifier.use",
        "path": "FamilyMemberHistory.patient.identifier.use",
        "max": "0"
      },
      {
        "id": "FamilyMemberHistory.patient.identifier.type",
        "path": "FamilyMemberHistory.patient.identifier.type",
        "max": "0"
      },
      {
        "id": "FamilyMemberHistory.patient.identifier.system",
        "path": "FamilyMemberHistory.patient.identifier.system",
        "min": 1,
        "fixedUri": "http://www.talkingeyes-portal.de/tonotracker/patientId"
      },
      {
        "id": "FamilyMemberHistory.patient.identifier.value",
        "path": "FamilyMemberHistory.patient.identifier.value",
        "min": 1
      },
      {
        "id": "FamilyMemberHistory.patient.identifier.period",
        "path": "FamilyMemberHistory.patient.identifier.period",
        "max": "0"
      },
      {
        "id": "FamilyMemberHistory.patient.identifier.assigner",
        "path": "FamilyMemberHistory.patient.identifier.assigner",
        "max": "0"
      },
      {
        "id": "FamilyMemberHistory.patient.display",
        "path": "FamilyMemberHistory.patient.display",
        "max": "0"
      },
      {
        "id": "FamilyMemberHistory.date",
        "path": "FamilyMemberHistory.date",
        "max": "0"
      },
      {
        "id": "FamilyMemberHistory.name",
        "path": "FamilyMemberHistory.name",
        "max": "0"
      },
      {
        "id": "FamilyMemberHistory.relationship.coding",
        "path": "FamilyMemberHistory.relationship.coding",
        "min": 1,
        "max": "1"
      },
      {
        "id": "FamilyMemberHistory.relationship.coding.system",
        "path": "FamilyMemberHistory.relationship.coding.system",
        "min": 1,
        "fixedUri": "http://snomed.info/sct"
      },
      {
        "id": "FamilyMemberHistory.relationship.coding.version",
        "path": "FamilyMemberHistory.relationship.coding.version",
        "max": "0"
      },
      {
        "id": "FamilyMemberHistory.relationship.coding.code",
        "path": "FamilyMemberHistory.relationship.coding.code",
        "min": 1,
        "fixedCode": "125678001"
      },
      {
        "id": "FamilyMemberHistory.relationship.coding.display",
        "path": "FamilyMemberHistory.relationship.coding.display",
        "min": 1,
        "fixedString": "Blutsverwandschaft ersten Grades (Person)"
      },
      {
        "id": "FamilyMemberHistory.relationship.coding.userSelected",
        "path": "FamilyMemberHistory.relationship.coding.userSelected",
        "max": "0"
      },
      {
        "id": "FamilyMemberHistory.relationship.text",
        "path": "FamilyMemberHistory.relationship.text",
        "max": "0"
      },
      {
        "id": "FamilyMemberHistory.sex",
        "path": "FamilyMemberHistory.sex",
        "max": "0"
      },
      {
        "id": "FamilyMemberHistory.born[x]",
        "path": "FamilyMemberHistory.born[x]",
        "max": "0"
      },
      {
        "id": "FamilyMemberHistory.age[x]",
        "path": "FamilyMemberHistory.age[x]",
        "max": "0"
      },
      {
        "id": "FamilyMemberHistory.estimatedAge",
        "path": "FamilyMemberHistory.estimatedAge",
        "max": "0"
      },
      {
        "id": "FamilyMemberHistory.deceased[x]",
        "path": "FamilyMemberHistory.deceased[x]",
        "max": "0"
      },
      {
        "id": "FamilyMemberHistory.reasonCode",
        "path": "FamilyMemberHistory.reasonCode",
        "max": "0"
      },
      {
        "id": "FamilyMemberHistory.reasonReference",
        "path": "FamilyMemberHistory.reasonReference",
        "max": "0"
      },
      {
        "id": "FamilyMemberHistory.note",
        "path": "FamilyMemberHistory.note",
        "max": "0"
      },
      {
        "id": "FamilyMemberHistory.condition",
        "path": "FamilyMemberHistory.condition",
        "min": 1,
        "max": "1"
      },
      {
        "id": "FamilyMemberHistory.condition.code.coding",
        "path": "FamilyMemberHistory.condition.code.coding",
        "min": 1,
        "max": "1"
      },
      {
        "id": "FamilyMemberHistory.condition.code.coding.system",
        "path": "FamilyMemberHistory.condition.code.coding.system",
        "min": 1,
        "fixedUri": "http://snomed.info/sct"
      },
      {
        "id": "FamilyMemberHistory.condition.code.coding.version",
        "path": "FamilyMemberHistory.condition.code.coding.version",
        "max": "0"
      },
      {
        "id": "FamilyMemberHistory.condition.code.coding.code",
        "path": "FamilyMemberHistory.condition.code.coding.code",
        "min": 1,
        "fixedCode": "160347007"
      },
      {
        "id": "FamilyMemberHistory.condition.code.coding.display",
        "path": "FamilyMemberHistory.condition.code.coding.display",
        "min": 1,
        "fixedString": "Familienvorgeschichte: Glaukom (Gegebenheit)"
      },
      {
        "id": "FamilyMemberHistory.condition.code.coding.userSelected",
        "path": "FamilyMemberHistory.condition.code.coding.userSelected",
        "max": "0"
      },
      {
        "id": "FamilyMemberHistory.condition.code.text",
        "path": "FamilyMemberHistory.condition.code.text",
        "max": "0"
      },
      {
        "id": "FamilyMemberHistory.condition.outcome",
        "path": "FamilyMemberHistory.condition.outcome",
        "max": "0"
      },
      {
        "id": "FamilyMemberHistory.condition.contributedToDeath",
        "path": "FamilyMemberHistory.condition.contributedToDeath",
        "max": "0"
      },
      {
        "id": "FamilyMemberHistory.condition.onset[x]",
        "path": "FamilyMemberHistory.condition.onset[x]",
        "max": "0"
      },
      {
        "id": "FamilyMemberHistory.condition.note",
        "path": "FamilyMemberHistory.condition.note",
        "max": "0"
      }
    ]
  }
}