PackagesCanonicalsLogsProblems
    Packages
    fi.digious.kanta.test@0.0.1-preview-2
    http://phr.kanta.fi/StructureDefinition/fiphr-sd-fitness
{
  "description": "Finnish PHR base profile for Fitness Observation resource",
  "_filename": "FIPHRSDFitness.json",
  "package_name": "fi.digious.kanta.test",
  "date": "2023-04-05T13:44:57.3431185+00:00",
  "derivation": "constraint",
  "meta": {
    "versionId": "12",
    "lastUpdated": "2023-04-05T13:44:33.0255086+00:00"
  },
  "publisher": null,
  "fhirVersion": "4.0.1",
  "purpose": "Finnish PHR abstract base profile for Observation used in various fitness or wellness measurements provided about a patient. In many cases these measures are complementary or parallel to automatic vital sign measurements related to patient's wellness or fitness. Base profile defines profiled elements used in all fitness observation resources.",
  "name": "FIPHRSDFitness",
  "abstract": true,
  "copyright": "W2E",
  "type": "Observation",
  "experimental": "false",
  "resourceType": "StructureDefinition",
  "title": "Finnish PHR Fitness profile",
  "package_version": "0.0.1-preview-2",
  "status": "draft",
  "id": "c6fa24fe-1921-46df-b170-36b0cbbcc0fd",
  "kind": "resource",
  "url": "http://phr.kanta.fi/StructureDefinition/fiphr-sd-fitness",
  "version": "0.1.0",
  "differential": {
    "element": [ {
      "id": "Observation",
      "path": "Observation",
      "comment": "."
    }, {
      "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"
        } ]
      },
      "definition": "FinnishPHR: fiphrProfile SHALL be used. Other profiles MAY be used.\r\nThe URL is a reference to [StructureDefinition.url]()."
    }, {
      "id": "Observation.meta.profile:fiphrProfile",
      "max": "1",
      "min": 1,
      "path": "Observation.meta.profile",
      "sliceName": "fiphrProfile"
    }, {
      "id": "Observation.language",
      "min": 1,
      "path": "Observation.language",
      "binding": {
        "strength": "required",
        "description": "Finnish PHR: A code of human language."
      }
    }, {
      "id": "Observation.text",
      "min": 1,
      "path": "Observation.text"
    }, {
      "id": "Observation.extension",
      "min": 0,
      "path": "Observation.extension",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "url",
          "type": "value"
        } ]
      }
    }, {
      "id": "Observation.extension:creatingApplication",
      "min": 0,
      "path": "Observation.extension",
      "type": [ {
        "code": "Extension",
        "profile": [ "http://phr.kanta.fi/StructureDefinition/fiphr-ext-creatingapplication" ]
      } ],
      "sliceName": "creatingApplication"
    }, {
      "id": "Observation.identifier",
      "min": 1,
      "path": "Observation.identifier",
      "definition": "A unique identifier assigned to this observation. \r\nFinnish PHR: At least one of the identifiers SHALL be globally unique (e.g. an uuid as the value and 'urn:ietf:rfc:3986' as the system)."
    }, {
      "id": "Observation.identifier.use",
      "path": "Observation.identifier.use",
      "comment": "This is labeled as \"Is Modifier\" because applications should not mistake a temporary id for a permanent one. Applications can assume that an identifier is permanent unless it explicitly says that it is temporary.",
      "definition": "The purpose of this identifier. \r\nFinnish PHR: The code 'official' SHALL be only used if the given identifier value is truly globally unique (e.g. an uuid as the value and 'urn:ietf:rfc:3986' as the system)."
    }, {
      "id": "Observation.identifier.system",
      "min": 1,
      "path": "Observation.identifier.system",
      "comment": "see http://en.wikipedia.org/wiki/Uniform_resource_identifier"
    }, {
      "id": "Observation.identifier.value",
      "min": 1,
      "path": "Observation.identifier.value",
      "comment": "If the value is a full URI, then the system SHALL be urn:ietf:rfc:3986.  The value's primary purpose is computational mapping.  As a result, it may be normalized for comparison purposes (e.g. removing non-significant whitespace, dashes, etc.)  A value formatted for human display can be conveyed using the [Rendered Value extension](extension-rendered-value.html).",
      "definition": "The portion of the identifier typically relevant to the user and which is unique within the context of the system. \r\nFinnish PHR: At least one of the identifiers SHALL be truly globally unique (e.g. an uuid as the value and 'urn:ietf:rfc:3986' as the system)."
    }, {
      "id": "Observation.identifier.assigner",
      "max": "0",
      "path": "Observation.identifier.assigner"
    }, {
      "id": "Observation.basedOn",
      "max": "0",
      "path": "Observation.basedOn"
    }, {
      "id": "Observation.partOf",
      "max": "0",
      "path": "Observation.partOf"
    }, {
      "id": "Observation.status",
      "path": "Observation.status",
      "short": "Finnish PHR: Status final",
      "comment": "Finnish PHR: Only status 'final' shall be used in FinnishPHR.",
      "fixedCode": "final",
      "definition": "Finnish PHR: The status of the result value.",
      "requirements": "Finnish PHR: Need to track the status of individual results. Erronous observation may not be stored in FinnishPHR."
    }, {
      "path": "Observation.category",
      "requirements": "All resources are fitness (physical activity) observations.",
      "min": 1,
      "definition": "Classification of type of observation.",
      "short": "Classification of type of observation:",
      "binding": {
        "strength": "extensible",
        "valueSet": "http://phr.kanta.fi/ValueSet/fitness-category",
        "description": "Finnish PHR: Codes for high level observation categories."
      },
      "max": "1",
      "id": "Observation.category",
      "comment": "FinnishPHR: Only value fitness valid in FinnishPHR (defined by the value set). More fine-grained filtering can be performed using the  Observation.code."
    }, {
      "id": "Observation.category.coding",
      "min": 1,
      "path": "Observation.category.coding",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "system",
          "type": "value"
        }, {
          "path": "code",
          "type": "value"
        } ]
      },
      "definition": "FinnishPHR: fiphrCategory SHALL be used. Other categories MAY be used.\r\nA reference to a code defined by a terminology system."
    }, {
      "id": "Observation.category.coding:fiphrCategory",
      "max": "1",
      "min": 1,
      "path": "Observation.category.coding",
      "sliceName": "fiphrCategory"
    }, {
      "id": "Observation.category.coding:fiphrCategory.system",
      "min": 1,
      "path": "Observation.category.coding.system",
      "fixedUri": "http://phr.kanta.fi/fiphr-cs-fitnesscategory"
    }, {
      "id": "Observation.category.coding:fiphrCategory.code",
      "min": 1,
      "path": "Observation.category.coding.code",
      "short": "Fitness observation category",
      "fixedCode": "fitness"
    }, {
      "id": "Observation.code",
      "path": "Observation.code",
      "short": "Type of observation (type / code)",
      "binding": {
        "strength": "extensible",
        "valueSet": "http://phr.kanta.fi/ValueSet/fiphr-vs-fitnessresult"
      },
      "comment": "Describes type of observation."
    }, {
      "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",
      "definition": "A symbol in syntax defined by the system."
    }, {
      "id": "Observation.code.coding.display",
      "min": 1,
      "path": "Observation.code.coding.display"
    }, {
      "id": "Observation.subject",
      "min": 1,
      "path": "Observation.subject",
      "type": [ {
        "code": "Reference",
        "aggregation": [ "referenced" ],
        "targetProfile": [ "http://phr.kanta.fi/StructureDefinition/fiphr-sd-patient" ]
      } ],
      "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.",
      "definition": "Finnish PHR: The patient described by the observation and into whose record the observation is placed.",
      "requirements": "Finnish PHR: Observations have always known Patient."
    }, {
      "id": "Observation.subject.reference",
      "min": 1,
      "path": "Observation.subject.reference"
    }, {
      "id": "Observation.subject.identifier.assigner",
      "max": "0",
      "path": "Observation.subject.identifier.assigner"
    }, {
      "id": "Observation.focus",
      "max": "0",
      "path": "Observation.focus"
    }, {
      "id": "Observation.encounter",
      "max": "0",
      "path": "Observation.encounter"
    }, {
      "id": "Observation.effective[x]",
      "min": 1,
      "path": "Observation.effective[x]",
      "type": [ {
        "code": "dateTime"
      }, {
        "code": "Period"
      } ]
    }, {
      "id": "Observation.issued",
      "min": 1,
      "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."
    }, {
      "id": "Observation.performer",
      "max": "1",
      "min": 1,
      "path": "Observation.performer",
      "type": [ {
        "code": "Reference",
        "aggregation": [ "referenced" ],
        "targetProfile": [ "http://phr.kanta.fi/StructureDefinition/fiphr-sd-patient" ]
      } ],
      "short": "Finnish PHR: Application user who is responsible for the observation",
      "comment": "References SHALL be a reference to an actual FHIR resource, and SHALL be resolveable.",
      "definition": "FinnishPHR: Application user who was responsible for asserting the observed value as \"true\"."
    }, {
      "id": "Observation.performer.reference",
      "min": 1,
      "path": "Observation.performer.reference"
    }, {
      "id": "Observation.performer.identifier.assigner",
      "max": "0",
      "path": "Observation.performer.identifier.assigner"
    }, {
      "id": "Observation.value[x]",
      "path": "Observation.value[x]",
      "type": [ {
        "code": "Quantity"
      } ]
    }, {
      "id": "Observation.dataAbsentReason",
      "max": "0",
      "path": "Observation.dataAbsentReason"
    }, {
      "id": "Observation.interpretation",
      "max": "1",
      "path": "Observation.interpretation"
    }, {
      "id": "Observation.interpretation.coding",
      "min": 1,
      "path": "Observation.interpretation.coding",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "system",
          "type": "value"
        } ]
      },
      "definition": "FinnishPHR: fiphrInterpretation  SHALL be used. Other interpretations MAY be used.\r\nA reference to a code defined by a terminology system."
    }, {
      "id": "Observation.interpretation.coding:fiphrInterpretation",
      "max": "1",
      "min": 1,
      "path": "Observation.interpretation.coding",
      "sliceName": "fiphrInterpretation",
      "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."
    }, {
      "id": "Observation.interpretation.coding:fiphrInterpretation.system",
      "min": 1,
      "path": "Observation.interpretation.coding.system",
      "fixedUri": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation"
    }, {
      "id": "Observation.interpretation.coding:fiphrInterpretation.code",
      "min": 1,
      "path": "Observation.interpretation.coding.code"
    }, {
      "id": "Observation.interpretation.coding:fiphrInterpretation.display",
      "min": 1,
      "path": "Observation.interpretation.coding.display"
    }, {
      "id": "Observation.note.author[x]",
      "max": "0",
      "path": "Observation.note.author[x]",
      "type": [ {
        "code": "Reference",
        "aggregation": [ "referenced" ]
      }, {
        "code": "string"
      } ]
    }, {
      "id": "Observation.bodySite",
      "max": "0",
      "path": "Observation.bodySite"
    }, {
      "id": "Observation.method",
      "max": "0",
      "path": "Observation.method"
    }, {
      "id": "Observation.specimen",
      "max": "0",
      "path": "Observation.specimen"
    }, {
      "id": "Observation.device",
      "max": "0",
      "path": "Observation.device"
    }, {
      "id": "Observation.hasMember",
      "max": "1",
      "path": "Observation.hasMember",
      "type": [ {
        "code": "Reference",
        "aggregation": [ "referenced" ],
        "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/Observation", "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse" ]
      } ]
    }, {
      "id": "Observation.hasMember.identifier.assigner",
      "max": "0",
      "path": "Observation.hasMember.identifier.assigner"
    }, {
      "id": "Observation.derivedFrom",
      "max": "0",
      "path": "Observation.derivedFrom"
    }, {
      "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": "extensible",
        "valueSet": "http://phr.kanta.fi/ValueSet/fiphr-vs-fitnessresult"
      }
    }, {
      "id": "Observation.component.code.coding",
      "min": 1,
      "path": "Observation.component.code.coding"
    }, {
      "id": "Observation.component.code.coding.system",
      "min": 1,
      "path": "Observation.component.code.coding.system"
    }, {
      "id": "Observation.component.code.coding.code",
      "min": 1,
      "path": "Observation.component.code.coding.code"
    }, {
      "id": "Observation.component.code.coding.display",
      "min": 1,
      "path": "Observation.component.code.coding.display"
    }, {
      "id": "Observation.component.interpretation",
      "max": "1",
      "path": "Observation.component.interpretation"
    }, {
      "id": "Observation.component.interpretation.coding",
      "path": "Observation.component.interpretation.coding",
      "slicing": {
        "rules": "open",
        "discriminator": [ {
          "path": "system",
          "type": "value"
        } ]
      },
      "definition": "FinnishPHR: fiphrInterpretation  SHALL be used. Other interpretations MAY be used.\r\nA reference to a code defined by a terminology system."
    }, {
      "id": "Observation.component.interpretation.coding:fiphrInterpretation",
      "max": "1",
      "min": 1,
      "path": "Observation.component.interpretation.coding",
      "sliceName": "fiphrInterpretation"
    }, {
      "id": "Observation.component.interpretation.coding:fiphrInterpretation.system",
      "min": 1,
      "path": "Observation.component.interpretation.coding.system",
      "fixedUri": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation"
    }, {
      "id": "Observation.component.interpretation.coding:fiphrInterpretation.code",
      "min": 1,
      "path": "Observation.component.interpretation.coding.code"
    }, {
      "id": "Observation.component.interpretation.coding:fiphrInterpretation.display",
      "min": 1,
      "path": "Observation.component.interpretation.coding.display"
    } ]
  },
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Observation"
}