{
  "resourceType": "StructureDefinition",
  "id": "fiphr-sd-vitalsigns-stu3-production",
  "meta": {
    "lastUpdated": "2018-03-16T07:49:37.771+00:00"
  },
  "url": "http://phr.kanta.fi/StructureDefinition/fiphr-vitalsigns-stu3-production-201909",
  "version": "1.1",
  "name": "fiphr-sd-vitalsigns-stu3",
  "title": "Finnish PHR Vital Signs profile",
  "status": "draft",
  "experimental": false,
  "date": "2019-09-02",
  "publisher": "Kela",
  "description": "Finnish PHR base profile for Observation resource",
  "purpose": "Finnish PHR abstract base profile for Observation used in Vital signs measurements made about a patient. Base profile defines profiled elements used in all vital signs observation resources.",
  "fhirVersion": "3.0.1",
  "kind": "resource",
  "abstract": true,
  "type": "Observation",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Observation",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Observation",
        "path": "Observation",
        "short": "Finnish PHR base profile for Observation resource",
        "definition": "Finnish PHR abstract base profile for Observation used in Vital signs measurements made about a patient. Base profile defines profiled elements used in all vital signs observation resources.",
        "comment": "."
      },
      {
        "id": "Observation.meta.profile",
        "path": "Observation.meta.profile",
        "definition": "FinnishPHR: Profile required. The URL is a reference to [StructureDefinition.url]().",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Observation.meta.security",
        "path": "Observation.meta.security",
        "max": "1",
        "binding": {
          "strength": "required",
          "description": "Finnish PHR: Security Labels from the Healthcare Privacy and Security Classification System.",
          "valueSetReference": {
            "reference": "http://phr.kanta.fi/ValueSet/fiphr-vs-confidentiality"
          }
        }
      },
      {
        "id": "Observation.meta.security.system",
        "path": "Observation.meta.security.system",
        "min": 1,
        "fixedUri": "http://hl7.org/fhir/v3/Confidentiality"
      },
      {
        "id": "Observation.meta.security.version",
        "path": "Observation.meta.security.version",
        "max": "0"
      },
      {
        "id": "Observation.meta.security.code",
        "path": "Observation.meta.security.code",
        "min": 1
      },
      {
        "id": "Observation.meta.security.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "Observation.meta.security.display",
        "min": 1
      },
      {
        "id": "Observation.meta.security.userSelected",
        "path": "Observation.meta.security.userSelected",
        "max": "0"
      },
      {
        "id": "Observation.language",
        "path": "Observation.language",
        "min": 1,
        "binding": {
          "strength": "required",
          "description": "Finnish PHR: A code of human language."
        }
      },
      {
        "id": "Observation.text",
        "path": "Observation.text",
        "min": 1
      },
      {
        "id": "Observation.extension",
        "path": "Observation.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Observation.extension:creatingApplication",
        "path": "Observation.extension",
        "sliceName": "creatingApplication",
        "type": [
          {
            "code": "Extension",
            "profile": "http://phr.kanta.fi/StructureDefinition/fiphr-ext-creatingapplication"
          }
        ]
      },
      {
        "id": "Observation.identifier",
        "path": "Observation.identifier",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Observation.identifier.use",
        "path": "Observation.identifier.use",
        "max": "0"
      },
      {
        "id": "Observation.identifier.type",
        "path": "Observation.identifier.type",
        "max": "0"
      },
      {
        "id": "Observation.identifier.system",
        "path": "Observation.identifier.system",
        "min": 1,
        "fixedUri": "urn:ietf:rfc:3986"
      },
      {
        "id": "Observation.identifier.value",
        "path": "Observation.identifier.value",
        "definition": "Finnish PHR: Uuid identfying the resource uniquely. The portion of the identifier typically relevant to the user and which is unique within the context of the system.",
        "min": 1
      },
      {
        "id": "Observation.identifier.period",
        "path": "Observation.identifier.period",
        "max": "0"
      },
      {
        "id": "Observation.identifier.assigner",
        "path": "Observation.identifier.assigner",
        "max": "0"
      },
      {
        "id": "Observation.basedOn",
        "path": "Observation.basedOn",
        "max": "0"
      },
      {
        "id": "Observation.status",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint",
            "valueString": "default: final"
          }
        ],
        "path": "Observation.status",
        "short": "Finnish PHR: Status final",
        "definition": "Finnish PHR: The status of the result value.",
        "comment": "Finnish PHR: Only status 'final' shall be used in FinnishPHR.",
        "requirements": "Finnish PHR: Need to track the status of individual results. Erronous observation may not be stored in FinnishPHR.",
        "fixedCode": "final"
      },
      {
        "id": "Observation.category",
        "path": "Observation.category",
        "short": "Classification of type of observation:",
        "definition": "Classification of type of observation.",
        "comment": "FinnishPHR: Only value vital-signs valid in FinnishPHR (defined by the value set).  More fine-grained filtering can be performed using the  Observation.code.",
        "requirements": "All resources all vital signs observations.",
        "min": 1,
        "max": "1",
        "binding": {
          "strength": "required",
          "description": "Finnish PHR: Codes for high level observation categories."
        }
      },
      {
        "id": "Observation.category.coding",
        "path": "Observation.category.coding",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Observation.category.coding.system",
        "path": "Observation.category.coding.system",
        "min": 1,
        "fixedUri": "http://hl7.org/fhir/observation-category"
      },
      {
        "id": "Observation.category.coding.version",
        "path": "Observation.category.coding.version",
        "max": "0"
      },
      {
        "id": "Observation.category.coding.code",
        "path": "Observation.category.coding.code",
        "min": 1,
        "fixedCode": "vital-signs"
      },
      {
        "id": "Observation.category.coding.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "Observation.category.coding.display",
        "max": "0"
      },
      {
        "id": "Observation.category.coding.userSelected",
        "path": "Observation.category.coding.userSelected",
        "max": "0"
      },
      {
        "id": "Observation.category.text",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "Observation.category.text",
        "max": "0"
      },
      {
        "id": "Observation.code",
        "path": "Observation.code",
        "short": "Type of observation (type / code)",
        "comment": "Describes type of observation.",
        "binding": {
          "strength": "required",
          "valueSetReference": {
            "reference": "http://phr.kanta.fi/ValueSet/fiphr-vs-vitalsigns"
          }
        }
      },
      {
        "id": "Observation.code.coding",
        "path": "Observation.code.coding",
        "min": 1,
        "max": "2"
      },
      {
        "id": "Observation.code.coding.system",
        "path": "Observation.code.coding.system",
        "min": 1,
        "fixedUri": "http://loinc.org"
      },
      {
        "id": "Observation.code.coding.version",
        "path": "Observation.code.coding.version",
        "max": "0"
      },
      {
        "id": "Observation.code.coding.code",
        "path": "Observation.code.coding.code",
        "definition": "A symbol in syntax defined by the system.",
        "min": 1
      },
      {
        "id": "Observation.code.coding.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "Observation.code.coding.display",
        "min": 1
      },
      {
        "id": "Observation.code.coding.userSelected",
        "path": "Observation.code.coding.userSelected",
        "max": "0"
      },
      {
        "id": "Observation.code.text",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "Observation.code.text",
        "max": "0"
      },
      {
        "id": "Observation.subject",
        "path": "Observation.subject",
        "definition": "Finnish PHR: The patient described by the observation and into whose record the observation is placed.",
        "comment": "Finnish PHR: Who this observation is about. Usually the same person as the application user, but if the user is storing observations on behalf of someone else, the subject is the person whose measurements or other observations are entered.",
        "requirements": "Finnish PHR: Observations have always known the Patient",
        "min": 1,
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://phr.kanta.fi/StructureDefinition/fiphr-patient-stu3",
            "aggregation": [
              "referenced"
            ]
          }
        ]
      },
      {
        "id": "Observation.subject.reference",
        "path": "Observation.subject.reference",
        "min": 1
      },
      {
        "id": "Observation.subject.identifier",
        "path": "Observation.subject.identifier",
        "max": "0"
      },
      {
        "id": "Observation.subject.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "Observation.subject.display",
        "max": "0"
      },
      {
        "id": "Observation.context",
        "path": "Observation.context",
        "max": "0"
      },
      {
        "id": "Observation.effective[x]:effectiveDateTime",
        "path": "Observation.effectiveDateTime",
        "sliceName": "effectiveDateTime",
        "min": 1,
        "type": [
          {
            "code": "dateTime"
          }
        ]
      },
      {
        "id": "Observation.issued",
        "path": "Observation.issued",
        "short": "Finnish PHR: The date and time this observation is stored",
        "definition": "Finnish PHR: The date and time this observation is stored",
        "min": 1
      },
      {
        "id": "Observation.performer",
        "path": "Observation.performer",
        "short": "Finnish PHR: Application user who is responsible for the observation",
        "definition": "FinnishPHR: Application user who was responsible for asserting the observed value as \"true\".",
        "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://phr.kanta.fi/StructureDefinition/fiphr-patient-stu3",
            "aggregation": [
              "referenced"
            ]
          }
        ]
      },
      {
        "id": "Observation.performer.reference",
        "path": "Observation.performer.reference",
        "min": 1
      },
      {
        "id": "Observation.performer.identifier",
        "path": "Observation.performer.identifier",
        "max": "0"
      },
      {
        "id": "Observation.performer.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "Observation.performer.display",
        "max": "0"
      },
      {
        "id": "Observation.dataAbsentReason",
        "path": "Observation.dataAbsentReason",
        "max": "0"
      },
      {
        "id": "Observation.interpretation",
        "path": "Observation.interpretation",
        "definition": "Finnish PHR: The assessment made based on the result of the observation. Intended as a simple compact code placed adjacent to the result value. Otherwise known as abnormal flag.",
        "binding": {
          "strength": "required",
          "description": "Finnish PHR: Codes identifying interpretations of observations."
        }
      },
      {
        "id": "Observation.interpretation.coding",
        "path": "Observation.interpretation.coding",
        "max": "1"
      },
      {
        "id": "Observation.interpretation.coding.system",
        "path": "Observation.interpretation.coding.system",
        "min": 1,
        "fixedUri": "http://hl7.org/fhir/v2/0078"
      },
      {
        "id": "Observation.interpretation.coding.version",
        "path": "Observation.interpretation.coding.version",
        "max": "0"
      },
      {
        "id": "Observation.interpretation.coding.code",
        "path": "Observation.interpretation.coding.code",
        "min": 1
      },
      {
        "id": "Observation.interpretation.coding.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "Observation.interpretation.coding.display",
        "min": 1
      },
      {
        "id": "Observation.interpretation.coding.userSelected",
        "path": "Observation.interpretation.coding.userSelected",
        "max": "0"
      },
      {
        "id": "Observation.bodySite",
        "path": "Observation.bodySite",
        "max": "0"
      },
      {
        "id": "Observation.method",
        "path": "Observation.method",
        "comment": "FinnishPHR: Only used if not implicit in code for Observation.code.",
        "max": "0",
        "binding": {
          "strength": "example",
          "valueSetUri": "http://hl7.org/fhir/ValueSet/observation-methods"
        }
      },
      {
        "id": "Observation.method.coding.system",
        "path": "Observation.method.coding.system",
        "min": 1
      },
      {
        "id": "Observation.method.coding.version",
        "path": "Observation.method.coding.version",
        "max": "0"
      },
      {
        "id": "Observation.method.coding.code",
        "path": "Observation.method.coding.code",
        "min": 1
      },
      {
        "id": "Observation.method.coding.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "Observation.method.coding.display",
        "min": 1
      },
      {
        "id": "Observation.method.coding.userSelected",
        "path": "Observation.method.coding.userSelected",
        "max": "0"
      },
      {
        "id": "Observation.specimen",
        "path": "Observation.specimen",
        "max": "0"
      },
      {
        "id": "Observation.device",
        "path": "Observation.device",
        "short": "(Measurement) FinnishDevice",
        "comment": "Finnish PHR Device profile is not final yet.",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://phr.kanta.fi/StructureDefinition/fiphr-device",
            "aggregation": [
              "contained"
            ]
          }
        ]
      },
      {
        "id": "Observation.device.identifier",
        "path": "Observation.device.identifier",
        "max": "0"
      },
      {
        "id": "Observation.related",
        "path": "Observation.related",
        "max": "0"
      },
      {
        "id": "Observation.component",
        "path": "Observation.component",
        "comment": "Profiled further in derived profiles that use components."
      },
      {
        "id": "Observation.component.code",
        "path": "Observation.component.code",
        "binding": {
          "strength": "required",
          "valueSetReference": {
            "reference": "http://phr.kanta.fi/ValueSet/fiphr-vs-vitalsigns"
          }
        }
      },
      {
        "id": "Observation.component.code.coding",
        "path": "Observation.component.code.coding",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Observation.component.code.coding.system",
        "path": "Observation.component.code.coding.system",
        "min": 1,
        "fixedUri": "http://loinc.org"
      },
      {
        "id": "Observation.component.code.coding.version",
        "path": "Observation.component.code.coding.version",
        "max": "0"
      },
      {
        "id": "Observation.component.code.coding.code",
        "path": "Observation.component.code.coding.code",
        "min": 1
      },
      {
        "id": "Observation.component.code.coding.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "Observation.component.code.coding.display",
        "min": 1
      },
      {
        "id": "Observation.component.code.coding.userSelected",
        "path": "Observation.component.code.coding.userSelected",
        "max": "0"
      },
      {
        "id": "Observation.component.code.text",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "Observation.component.code.text",
        "max": "0"
      },
      {
        "id": "Observation.component.dataAbsentReason",
        "path": "Observation.component.dataAbsentReason",
        "max": "0"
      },
      {
        "id": "Observation.component.interpretation.coding.system",
        "path": "Observation.component.interpretation.coding.system",
        "min": 1
      },
      {
        "id": "Observation.component.interpretation.coding.version",
        "path": "Observation.component.interpretation.coding.version",
        "max": "0"
      },
      {
        "id": "Observation.component.interpretation.coding.code",
        "path": "Observation.component.interpretation.coding.code",
        "min": 1
      },
      {
        "id": "Observation.component.interpretation.coding.display",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean": true
          }
        ],
        "path": "Observation.component.interpretation.coding.display",
        "min": 1
      },
      {
        "id": "Observation.component.interpretation.coding.userSelected",
        "path": "Observation.component.interpretation.coding.userSelected",
        "max": "0"
      }
    ]
  }
}