{
  "resourceType": "StructureDefinition",
  "id": "DhdCataractRefractie",
  "url": "http://dhd.nl/fhir/StructureDefinition/DhdCataractRefractie",
  "version": "0.1.1",
  "name": "DhdCataractRefractie",
  "status": "draft",
  "description": "Refraction target as defined in proposed ZIB for Refractie.\r\nFor the target refraction, only the Spherical Equivalent has to be filled in.",
  "purpose": "Bij afwijkende refractie vallen lichtstralen niet precies op het netvlies (ver- of bijziend), wat door middel van bril of lenzen is te corrigeren. Met een refractiemeting wordt de correctie (door middel van bril of lenzen) bepaald waarmee de patiënt optimaal kan zien.",
  "fhirVersion": "3.0.2",
  "kind": "resource",
  "abstract": false,
  "type": "Observation",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Observation",
  "derivation": "constraint",
  "snapshot": {},
  "differential": {
    "element": [
      {
        "id": "Observation.code.coding.system",
        "path": "Observation.code.coding.system",
        "fixedUri": "http://snomed.info/sct"
      },
      {
        "id": "Observation.code.coding.code",
        "path": "Observation.code.coding.code",
        "fixedCode": "251718005"
      },
      {
        "id": "Observation.subject",
        "path": "Observation.subject",
        "min": 1,
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://dhd.nl/fhir/StructureDefinition/DhdCataractPatient"
          }
        ]
      },
      {
        "id": "Observation.effective[x]:effectiveDateTime",
        "path": "Observation.effectiveDateTime",
        "sliceName": "effectiveDateTime",
        "definition": "The time or time-period the observed value is asserted as being true. For biological subjects - e.g. human patients - this is usually called the physiologically relevant time\". This is usually either the time of the procedure or of specimen collection, but very often the source of the date/time is not known, only the date/time itself.",
        "min": 1,
        "type": [
          {
            "code": "dateTime"
          }
        ]
      },
      {
        "id": "Observation.value[x]",
        "path": "Observation.value[x]",
        "max": "0"
      },
      {
        "id": "Observation.bodySite",
        "path": "Observation.bodySite",
        "min": 1
      },
      {
        "id": "Observation.bodySite.extension",
        "path": "Observation.bodySite.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Observation.bodySite.extension:RefractionLaterality",
        "path": "Observation.bodySite.extension",
        "sliceName": "RefractionLaterality",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": "http://nictiz.nl/fhir/StructureDefinition/BodySite-Qualifier"
          }
        ]
      },
      {
        "id": "Observation.bodySite.extension:RefractionLaterality.valueCodeableConcept:valueCodeableConcept",
        "path": "Observation.bodySite.extension.valueCodeableConcept",
        "sliceName": "valueCodeableConcept",
        "binding": {
          "strength": "extensible",
          "description": "RefractionLateralityCodelist",
          "valueSetUri": "http://dhd.nl/fhir/ValueSet/RefractieLateraliteitCodelijst"
        }
      },
      {
        "id": "Observation.method.coding",
        "path": "Observation.method.coding",
        "binding": {
          "strength": "extensible",
          "description": "RefractieMeetmethodeCodelijst",
          "valueSetUri": "http://dhd.nl/fhir/ValueSet/RefractieMeetmethodeCodelijst"
        }
      },
      {
        "id": "Observation.component",
        "path": "Observation.component",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "code.coding.code"
            }
          ],
          "rules": "open"
        },
        "min": 1
      },
      {
        "id": "Observation.component:SferischeEquivalent",
        "path": "Observation.component",
        "sliceName": "SferischeEquivalent",
        "short": "Sferische equivalent",
        "max": "1"
      },
      {
        "id": "Observation.component:SferischeEquivalent.code",
        "path": "Observation.component.code",
        "comment": "The code for refractive power is used here, since there is no good equivalent concept in Snomed CT."
      },
      {
        "id": "Observation.component:SferischeEquivalent.code.coding.system",
        "path": "Observation.component.code.coding.system",
        "fixedUri": "http://snomed.info/sct"
      },
      {
        "id": "Observation.component:SferischeEquivalent.code.coding.code",
        "path": "Observation.component.code.coding.code",
        "fixedCode": "251718005"
      },
      {
        "id": "Observation.component:SferischeEquivalent.value[x]:valueQuantity",
        "path": "Observation.component.valueQuantity",
        "sliceName": "valueQuantity",
        "min": 1,
        "type": [
          {
            "code": "Quantity"
          }
        ]
      },
      {
        "id": "Observation.component:SferischeEquivalent.value[x]:valueQuantity.value",
        "path": "Observation.component.valueQuantity.value",
        "min": 1
      },
      {
        "id": "Observation.component:SferischeEquivalent.value[x]:valueQuantity.system",
        "path": "Observation.component.valueQuantity.system",
        "fixedUri": "http://unitsofmeasure.org"
      },
      {
        "id": "Observation.component:SferischeEquivalent.value[x]:valueQuantity.code",
        "path": "Observation.component.valueQuantity.code",
        "fixedCode": "[diop]"
      },
      {
        "id": "Observation.component:SferischeRefractieWaarde",
        "path": "Observation.component",
        "sliceName": "SferischeRefractieWaarde",
        "short": "Sferische refractiewaarde",
        "max": "1"
      },
      {
        "id": "Observation.component:SferischeRefractieWaarde.code.coding.system",
        "path": "Observation.component.code.coding.system",
        "fixedUri": "http://snomed.info/sct"
      },
      {
        "id": "Observation.component:SferischeRefractieWaarde.code.coding.code",
        "path": "Observation.component.code.coding.code",
        "fixedCode": "251795007"
      },
      {
        "id": "Observation.component:SferischeRefractieWaarde.value[x]:valueQuantity",
        "path": "Observation.component.valueQuantity",
        "sliceName": "valueQuantity",
        "min": 1,
        "type": [
          {
            "code": "Quantity"
          }
        ]
      },
      {
        "id": "Observation.component:SferischeRefractieWaarde.value[x]:valueQuantity.value",
        "path": "Observation.component.valueQuantity.value",
        "min": 1
      },
      {
        "id": "Observation.component:SferischeRefractieWaarde.value[x]:valueQuantity.system",
        "path": "Observation.component.valueQuantity.system",
        "fixedUri": "http://unitsofmeasure.org"
      },
      {
        "id": "Observation.component:SferischeRefractieWaarde.value[x]:valueQuantity.code",
        "path": "Observation.component.valueQuantity.code",
        "fixedCode": "[diop]"
      },
      {
        "id": "Observation.component:CilindrischeRefractieWaarde",
        "path": "Observation.component",
        "sliceName": "CilindrischeRefractieWaarde",
        "short": "Cilindrische refractiewaarde",
        "max": "1"
      },
      {
        "id": "Observation.component:CilindrischeRefractieWaarde.code.coding.system",
        "path": "Observation.component.code.coding.system",
        "fixedUri": "http://snomed.info/sct"
      },
      {
        "id": "Observation.component:CilindrischeRefractieWaarde.code.coding.code",
        "path": "Observation.component.code.coding.code",
        "fixedCode": "251797004"
      },
      {
        "id": "Observation.component:CilindrischeRefractieWaarde.value[x]:valueQuantity",
        "path": "Observation.component.valueQuantity",
        "sliceName": "valueQuantity",
        "min": 1,
        "type": [
          {
            "code": "Quantity"
          }
        ]
      },
      {
        "id": "Observation.component:CilindrischeRefractieWaarde.value[x]:valueQuantity.value",
        "path": "Observation.component.valueQuantity.value",
        "min": 1
      },
      {
        "id": "Observation.component:CilindrischeRefractieWaarde.value[x]:valueQuantity.system",
        "path": "Observation.component.valueQuantity.system",
        "fixedUri": "http://unitsofmeasure.org"
      },
      {
        "id": "Observation.component:CilindrischeRefractieWaarde.value[x]:valueQuantity.code",
        "path": "Observation.component.valueQuantity.code",
        "fixedCode": "[diop]"
      },
      {
        "id": "Observation.component:CilindrischeRefractieAs",
        "path": "Observation.component",
        "sliceName": "CilindrischeRefractieAs",
        "short": "Cilindrische refractie-as",
        "max": "1"
      },
      {
        "id": "Observation.component:CilindrischeRefractieAs.code.coding.system",
        "path": "Observation.component.code.coding.system",
        "fixedUri": "http://snomed.info/sct"
      },
      {
        "id": "Observation.component:CilindrischeRefractieAs.code.coding.code",
        "path": "Observation.component.code.coding.code",
        "fixedCode": "251799001"
      },
      {
        "id": "Observation.component:CilindrischeRefractieAs.value[x]:valueQuantity",
        "path": "Observation.component.valueQuantity",
        "sliceName": "valueQuantity",
        "min": 1,
        "type": [
          {
            "code": "Quantity"
          }
        ]
      },
      {
        "id": "Observation.component:CilindrischeRefractieAs.value[x]:valueQuantity.value",
        "path": "Observation.component.valueQuantity.value",
        "min": 1
      },
      {
        "id": "Observation.component:CilindrischeRefractieAs.value[x]:valueQuantity.system",
        "path": "Observation.component.valueQuantity.system",
        "fixedUri": "http://unitsofmeasure.org"
      },
      {
        "id": "Observation.component:CilindrischeRefractieAs.value[x]:valueQuantity.code",
        "path": "Observation.component.valueQuantity.code",
        "fixedCode": "deg"
      },
      {
        "id": "Observation.component:LeesAdditie",
        "path": "Observation.component",
        "sliceName": "LeesAdditie",
        "short": "Lees additie",
        "max": "1"
      },
      {
        "id": "Observation.component:LeesAdditie.code.coding.system",
        "path": "Observation.component.code.coding.system",
        "fixedUri": "http://snomed.info/sct"
      },
      {
        "id": "Observation.component:LeesAdditie.code.coding.code",
        "path": "Observation.component.code.coding.code",
        "fixedCode": "251796008"
      },
      {
        "id": "Observation.component:LeesAdditie.value[x]:valueQuantity",
        "path": "Observation.component.valueQuantity",
        "sliceName": "valueQuantity",
        "min": 1,
        "type": [
          {
            "code": "Quantity"
          }
        ]
      },
      {
        "id": "Observation.component:LeesAdditie.value[x]:valueQuantity.value",
        "path": "Observation.component.valueQuantity.value",
        "min": 1
      },
      {
        "id": "Observation.component:LeesAdditie.value[x]:valueQuantity.system",
        "path": "Observation.component.valueQuantity.system",
        "fixedUri": "http://unitsofmeasure.org"
      },
      {
        "id": "Observation.component:LeesAdditie.value[x]:valueQuantity.code",
        "path": "Observation.component.valueQuantity.code",
        "fixedCode": "[diop]"
      },
      {
        "id": "Observation.component:PrismaWaarde",
        "path": "Observation.component",
        "sliceName": "PrismaWaarde",
        "short": "Prisma-waarde",
        "max": "1"
      },
      {
        "id": "Observation.component:PrismaWaarde.code.coding.system",
        "path": "Observation.component.code.coding.system",
        "fixedUri": "http://snomed.info/sct"
      },
      {
        "id": "Observation.component:PrismaWaarde.code.coding.code",
        "path": "Observation.component.code.coding.code",
        "fixedCode": "251762001"
      },
      {
        "id": "Observation.component:PrismaWaarde.value[x]:valueQuantity",
        "path": "Observation.component.valueQuantity",
        "sliceName": "valueQuantity",
        "min": 1,
        "type": [
          {
            "code": "Quantity"
          }
        ]
      },
      {
        "id": "Observation.component:PrismaWaarde.value[x]:valueQuantity.value",
        "path": "Observation.component.valueQuantity.value",
        "min": 1
      },
      {
        "id": "Observation.component:PrismaWaarde.value[x]:valueQuantity.system",
        "path": "Observation.component.valueQuantity.system",
        "fixedUri": "http://unitsofmeasure.org"
      },
      {
        "id": "Observation.component:PrismaWaarde.value[x]:valueQuantity.code",
        "path": "Observation.component.valueQuantity.code",
        "fixedCode": "[diop]"
      },
      {
        "id": "Observation.component:PrismaBasis",
        "path": "Observation.component",
        "sliceName": "PrismaBasis",
        "max": "1"
      },
      {
        "id": "Observation.component:PrismaBasis.code.coding.system",
        "path": "Observation.component.code.coding.system",
        "fixedUri": "http://snomed.info/sct"
      },
      {
        "id": "Observation.component:PrismaBasis.code.coding.code",
        "path": "Observation.component.code.coding.code",
        "fixedCode": "246223004"
      },
      {
        "id": "Observation.component:PrismaBasis.value[x]:valueQuantity",
        "path": "Observation.component.valueQuantity",
        "sliceName": "valueQuantity",
        "min": 1,
        "type": [
          {
            "code": "Quantity"
          }
        ]
      },
      {
        "id": "Observation.component:PrismaBasis.value[x]:valueQuantity.value",
        "path": "Observation.component.valueQuantity.value",
        "min": 1
      },
      {
        "id": "Observation.component:PrismaBasis.value[x]:valueQuantity.system",
        "path": "Observation.component.valueQuantity.system",
        "fixedUri": "http://unitsofmeasure.org"
      },
      {
        "id": "Observation.component:PrismaBasis.value[x]:valueQuantity.code",
        "path": "Observation.component.valueQuantity.code",
        "fixedCode": "deg"
      }
    ]
  }
}