PackagesCanonicalsLogsProblems
    Packages
    duwel.nl.stu3.sandbox.dev@0.0.1-dev.4
    http://nictiz.nl/fhir/StructureDefinition/test/medmij-bgz-tobaccouse-ts-01
{
  "description": null,
  "_filename": "TobaccoTest.json",
  "package_name": "duwel.nl.stu3.sandbox.dev",
  "date": null,
  "derivation": "constraint",
  "publisher": null,
  "fhirVersion": "3.0.2",
  "name": "TobaccoUseTest",
  "abstract": false,
  "type": "Observation",
  "experimental": null,
  "resourceType": "StructureDefinition",
  "title": null,
  "package_version": "0.0.1-dev.4",
  "status": "draft",
  "id": "65fc2839-0cbd-4a22-b560-025c0bb37cde",
  "kind": "resource",
  "url": "http://nictiz.nl/fhir/StructureDefinition/test/medmij-bgz-tobaccouse-ts-01",
  "version": null,
  "differential": {
    "element": [ {
      "id": "Observation.id",
      "min": 1,
      "path": "Observation.id"
    }, {
      "id": "Observation.meta",
      "min": 1,
      "path": "Observation.meta"
    }, {
      "id": "Observation.meta.profile",
      "min": 1,
      "path": "Observation.meta.profile",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "$this",
          "type": "value"
        } ]
      }
    }, {
      "id": "Observation.meta.profile:zibProfile",
      "max": "1",
      "min": 1,
      "path": "Observation.meta.profile",
      "fixedUri": "http://nictiz.nl/fhir/StructureDefinition/zib-TobaccoUse",
      "sliceName": "zibProfile"
    }, {
      "id": "Observation.identifier",
      "min": 1,
      "path": "Observation.identifier"
    }, {
      "id": "Observation.status",
      "path": "Observation.status",
      "fixedCode": "final"
    }, {
      "id": "Observation.code",
      "path": "Observation.code",
      "patternCodeableConcept": {
        "coding": [ {
          "code": "365980008",
          "system": "http://snomed.info/sct"
        } ]
      }
    }, {
      "id": "Observation.code.coding",
      "min": 1,
      "path": "Observation.code.coding"
    }, {
      "id": "Observation.code.coding.system",
      "min": 1,
      "path": "Observation.code.coding.system"
    }, {
      "id": "Observation.code.coding.code",
      "min": 1,
      "path": "Observation.code.coding.code"
    }, {
      "id": "Observation.subject",
      "min": 1,
      "path": "Observation.subject",
      "type": [ {
        "code": "Reference",
        "targetProfile": "http://fhir.nl/fhir/StructureDefinition/nl-core-patient"
      } ]
    }, {
      "id": "Observation.subject.reference",
      "min": 1,
      "path": "Observation.subject.reference"
    }, {
      "id": "Observation.subject.display",
      "min": 1,
      "path": "Observation.subject.display"
    }, {
      "id": "Observation.effective[x]",
      "min": 1,
      "path": "Observation.effective[x]",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "$this",
          "type": "type"
        } ]
      }
    }, {
      "id": "Observation.effective[x]:effectivePeriod",
      "min": 1,
      "path": "Observation.effective[x]",
      "type": [ {
        "code": "Period"
      } ],
      "sliceName": "effectivePeriod"
    }, {
      "id": "Observation.effective[x]:effectivePeriod.start",
      "path": "Observation.effective[x].start",
      "fixedDateTime": "1980"
    }, {
      "id": "Observation.effective[x]:effectivePeriod.end",
      "path": "Observation.effective[x].end",
      "fixedDateTime": "1983"
    }, {
      "id": "Observation.value[x]",
      "min": 1,
      "path": "Observation.value[x]",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "$this",
          "type": "type"
        } ]
      }
    }, {
      "id": "Observation.value[x]:valueCodeableConcept",
      "min": 1,
      "path": "Observation.value[x]",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "sliceName": "valueCodeableConcept",
      "patternCodeableConcept": {
        "coding": [ {
          "code": "8517006",
          "system": "http://snomed.info/sct"
        } ]
      }
    }, {
      "id": "Observation.value[x]:valueCodeableConcept.coding",
      "min": 1,
      "path": "Observation.value[x].coding"
    }, {
      "id": "Observation.value[x]:valueCodeableConcept.coding.system",
      "min": 1,
      "path": "Observation.value[x].coding.system"
    }, {
      "id": "Observation.value[x]:valueCodeableConcept.coding.code",
      "min": 1,
      "path": "Observation.value[x].coding.code"
    }, {
      "id": "Observation.component",
      "min": 3,
      "path": "Observation.component",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "code.coding",
          "type": "pattern"
        } ]
      }
    }, {
      "id": "Observation.component:component-SNOMED-53661000146106",
      "max": "1",
      "min": 1,
      "path": "Observation.component",
      "sliceName": "component-SNOMED-53661000146106"
    }, {
      "id": "Observation.component:component-SNOMED-53661000146106.code",
      "path": "Observation.component.code",
      "patternCodeableConcept": {
        "coding": [ {
          "code": "53661000146106",
          "system": "http://snomed.info/sct"
        } ]
      }
    }, {
      "id": "Observation.component:component-SNOMED-53661000146106.code.coding",
      "min": 1,
      "path": "Observation.component.code.coding"
    }, {
      "id": "Observation.component:component-SNOMED-53661000146106.code.coding.system",
      "min": 1,
      "path": "Observation.component.code.coding.system"
    }, {
      "id": "Observation.component:component-SNOMED-53661000146106.code.coding.code",
      "min": 1,
      "path": "Observation.component.code.coding.code"
    }, {
      "id": "Observation.component:component-SNOMED-53661000146106.value[x]",
      "min": 1,
      "path": "Observation.component.value[x]",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "$this",
          "type": "type"
        } ]
      }
    }, {
      "id": "Observation.component:component-SNOMED-53661000146106.value[x]:valueCodeableConcept",
      "min": 1,
      "path": "Observation.component.value[x]",
      "type": [ {
        "code": "CodeableConcept"
      } ],
      "sliceName": "valueCodeableConcept",
      "patternCodeableConcept": {
        "coding": [ {
          "code": "65568007",
          "system": "http://snomed.info/sct"
        } ]
      }
    }, {
      "id": "Observation.component:component-SNOMED-53661000146106.value[x]:valueCodeableConcept.coding",
      "min": 1,
      "path": "Observation.component.value[x].coding"
    }, {
      "id": "Observation.component:component-SNOMED-53661000146106.value[x]:valueCodeableConcept.coding.system",
      "min": 1,
      "path": "Observation.component.value[x].coding.system"
    }, {
      "id": "Observation.component:component-SNOMED-53661000146106.value[x]:valueCodeableConcept.coding.code",
      "min": 1,
      "path": "Observation.component.value[x].coding.code"
    }, {
      "id": "Observation.component:component-SNOMED-53661000146106.referenceRange",
      "path": "Observation.component.referenceRange",
      "contentReference": "http://hl7.org/fhir/StructureDefinition/Observation#Observation.referenceRange"
    }, {
      "id": "Observation.component:component-SNOMED-266918002",
      "max": "1",
      "min": 1,
      "path": "Observation.component",
      "sliceName": "component-SNOMED-266918002"
    }, {
      "id": "Observation.component:component-SNOMED-266918002.code",
      "path": "Observation.component.code",
      "patternCodeableConcept": {
        "coding": [ {
          "code": "266918002",
          "system": "http://snomed.info/sct"
        } ]
      }
    }, {
      "id": "Observation.component:component-SNOMED-266918002.code.coding",
      "min": 1,
      "path": "Observation.component.code.coding"
    }, {
      "id": "Observation.component:component-SNOMED-266918002.code.coding.system",
      "min": 1,
      "path": "Observation.component.code.coding.system"
    }, {
      "id": "Observation.component:component-SNOMED-266918002.code.coding.code",
      "min": 1,
      "path": "Observation.component.code.coding.code"
    }, {
      "id": "Observation.component:component-SNOMED-266918002.value[x]",
      "min": 1,
      "path": "Observation.component.value[x]",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "$this",
          "type": "type"
        } ]
      }
    }, {
      "id": "Observation.component:component-SNOMED-266918002.value[x]:valueQuantity",
      "min": 1,
      "path": "Observation.component.value[x]",
      "type": [ {
        "code": "Quantity"
      } ],
      "sliceName": "valueQuantity",
      "patternQuantity": {
        "code": "{cigarettes}/wk",
        "value": 40,
        "system": "http://unitsofmeasure.org"
      }
    }, {
      "id": "Observation.component:component-SNOMED-266918002.value[x]:valueQuantity.value",
      "min": 1,
      "path": "Observation.component.value[x].value"
    }, {
      "id": "Observation.component:component-SNOMED-266918002.value[x]:valueQuantity.unit",
      "min": 1,
      "path": "Observation.component.value[x].unit"
    }, {
      "id": "Observation.component:component-SNOMED-266918002.value[x]:valueQuantity.system",
      "min": 1,
      "path": "Observation.component.value[x].system"
    }, {
      "id": "Observation.component:component-SNOMED-266918002.value[x]:valueQuantity.code",
      "min": 1,
      "path": "Observation.component.value[x].code"
    }, {
      "id": "Observation.component:component-SNOMED-266918002.referenceRange",
      "path": "Observation.component.referenceRange",
      "contentReference": "http://hl7.org/fhir/StructureDefinition/Observation#Observation.referenceRange"
    }, {
      "id": "Observation.component:component-SNOMED-401201003",
      "max": "1",
      "min": 1,
      "path": "Observation.component",
      "sliceName": "component-SNOMED-401201003"
    }, {
      "id": "Observation.component:component-SNOMED-401201003.code",
      "path": "Observation.component.code",
      "patternCodeableConcept": {
        "coding": [ {
          "code": "401201003",
          "system": "http://snomed.info/sct"
        } ]
      }
    }, {
      "id": "Observation.component:component-SNOMED-401201003.code.coding",
      "min": 1,
      "path": "Observation.component.code.coding"
    }, {
      "id": "Observation.component:component-SNOMED-401201003.code.coding.system",
      "min": 1,
      "path": "Observation.component.code.coding.system"
    }, {
      "id": "Observation.component:component-SNOMED-401201003.code.coding.code",
      "min": 1,
      "path": "Observation.component.code.coding.code"
    }, {
      "id": "Observation.component:component-SNOMED-401201003.value[x]",
      "min": 1,
      "path": "Observation.component.value[x]",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "$this",
          "type": "type"
        } ]
      }
    }, {
      "id": "Observation.component:component-SNOMED-401201003.value[x]:valueQuantity",
      "min": 1,
      "path": "Observation.component.value[x]",
      "type": [ {
        "code": "Quantity"
      } ],
      "sliceName": "valueQuantity",
      "patternQuantity": {
        "code": "{PackYears}",
        "value": 1,
        "system": "http://unitsofmeasure.org"
      }
    }, {
      "id": "Observation.component:component-SNOMED-401201003.value[x]:valueQuantity.value",
      "min": 1,
      "path": "Observation.component.value[x].value"
    }, {
      "id": "Observation.component:component-SNOMED-401201003.value[x]:valueQuantity.unit",
      "min": 1,
      "path": "Observation.component.value[x].unit"
    }, {
      "id": "Observation.component:component-SNOMED-401201003.value[x]:valueQuantity.system",
      "min": 1,
      "path": "Observation.component.value[x].system"
    }, {
      "id": "Observation.component:component-SNOMED-401201003.value[x]:valueQuantity.code",
      "min": 1,
      "path": "Observation.component.value[x].code"
    }, {
      "id": "Observation.component:component-SNOMED-401201003.referenceRange",
      "path": "Observation.component.referenceRange",
      "contentReference": "http://hl7.org/fhir/StructureDefinition/Observation#Observation.referenceRange"
    } ]
  },
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Observation"
}