{
  "resourceType": "StructureDefinition",
  "id": "iwlz-StoornisScore",
  "url": "http://nictiz.nl/fhir/StructureDefinition/iwlz-StoornisScore",
  "name": "iwlz-StoornisScore",
  "title": "iWlz StoornisScore",
  "status": "draft",
  "description": "Scoregegevens over ziektebeeld / stoornis van de client.",
  "fhirVersion": "3.0.2",
  "mapping": [
    {
      "identity": "iwlz-gegevensmatrix",
      "uri": "https://decor.nictiz.nl/decor/services/RetrieveDataSet?id=2.16.840.1.113883.2.4.3.11.60.128.1.1&language=nl-NL&effectiveDate=2021-05-19T17:43:12&format=html",
      "name": "iWlz Gegevensmatrix"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "Observation",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Observation",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Observation",
        "path": "Observation",
        "mapping": [
          {
            "identity": "iwlz-gegevensmatrix",
            "map": "iwlz-dataelement-3",
            "comment": "Stoornisscore"
          }
        ]
      },
      {
        "id": "Observation.identifier",
        "path": "Observation.identifier",
        "max": "0"
      },
      {
        "id": "Observation.basedOn",
        "path": "Observation.basedOn",
        "max": "0"
      },
      {
        "id": "Observation.category",
        "path": "Observation.category",
        "max": "0"
      },
      {
        "id": "Observation.code",
        "path": "Observation.code",
        "binding": {
          "strength": "required",
          "description": "COD824: Vraag stoornis",
          "valueSetReference": {
            "reference": "http://istandaarden.nl/ibieb/codelijsten/COD824"
          }
        },
        "mapping": [
          {
            "identity": "iwlz-gegevensmatrix",
            "map": "iwlz-dataelement-10",
            "comment": "Stoornis vraag"
          }
        ]
      },
      {
        "id": "Observation.subject",
        "path": "Observation.subject",
        "min": 1,
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://nictiz.nl/fhir/StructureDefinition/iwlz-Persoon"
          }
        ]
      },
      {
        "id": "Observation.context",
        "path": "Observation.context",
        "max": "0"
      },
      {
        "id": "Observation.effective[x]",
        "path": "Observation.effective[x]",
        "max": "0"
      },
      {
        "id": "Observation.issued",
        "path": "Observation.issued",
        "max": "0"
      },
      {
        "id": "Observation.performer",
        "path": "Observation.performer",
        "max": "0"
      },
      {
        "id": "Observation.value[x]:valueCodeableConcept",
        "path": "Observation.valueCodeableConcept",
        "sliceName": "valueCodeableConcept",
        "min": 1,
        "type": [
          {
            "code": "CodeableConcept"
          }
        ],
        "binding": {
          "strength": "required",
          "description": "COD827: Score vraag stoornis",
          "valueSetReference": {
            "reference": "http://istandaarden.nl/ibieb/codelijsten/COD827"
          }
        },
        "mapping": [
          {
            "identity": "iwlz-gegevensmatrix",
            "map": "iwlz-dataelement-11",
            "comment": "Stoornis score"
          }
        ]
      },
      {
        "id": "Observation.dataAbsentReason",
        "path": "Observation.dataAbsentReason",
        "max": "0"
      },
      {
        "id": "Observation.interpretation",
        "path": "Observation.interpretation",
        "max": "0"
      },
      {
        "id": "Observation.comment",
        "path": "Observation.comment",
        "mapping": [
          {
            "identity": "iwlz-gegevensmatrix",
            "map": "iwlz-dataelement-12",
            "comment": "Commentaar"
          }
        ]
      },
      {
        "id": "Observation.bodySite",
        "path": "Observation.bodySite",
        "max": "0"
      },
      {
        "id": "Observation.method",
        "path": "Observation.method",
        "max": "0"
      },
      {
        "id": "Observation.specimen",
        "path": "Observation.specimen",
        "max": "0"
      },
      {
        "id": "Observation.device",
        "path": "Observation.device",
        "max": "0"
      },
      {
        "id": "Observation.referenceRange",
        "path": "Observation.referenceRange",
        "max": "0"
      },
      {
        "id": "Observation.related",
        "path": "Observation.related",
        "max": "0"
      },
      {
        "id": "Observation.component",
        "path": "Observation.component",
        "max": "0"
      }
    ]
  }
}