{
  "resourceType": "StructureDefinition",
  "id": "9e52503e-aaf4-41cb-be31-0b1103a2fe3b",
  "meta": {
    "versionId": "7",
    "lastUpdated": "2022-07-13T12:12:03.9027702+00:00",
    "profile": [
      "https://fhir.cambio.se/StructureDefinition/ObservationBoneAgeLite/v1"
    ]
  },
  "url": "https://fhir.cambio.se/StructureDefinition/ObservationBoneAgeLite/v1",
  "version": "1.0.0",
  "name": "ObservationBoneAgeLite",
  "title": "ObservationBoneAgeLite",
  "status": "active",
  "date": "2022-02-21T07:42:59.9279296+00:00",
  "description": "This is a generic level use case profile to communicate the Bone age. This profile can be derived for more specific use case profile. Bone age indicates the degree of maturation of a child's bones.",
  "purpose": "The profile ObservationBoneAgeLite is used for communicating an entry of a patients bone age by sending a value in the element observation.value. The API can be used to read patient bone age information from COSMIC.",
  "fhirVersion": "4.0.1",
  "mapping": [
    {
      "identity": "workflow",
      "uri": "http://hl7.org/fhir/workflow",
      "name": "Workflow Pattern"
    },
    {
      "identity": "sct-concept",
      "uri": "http://snomed.info/conceptdomain",
      "name": "SNOMED CT Concept Domain Binding"
    },
    {
      "identity": "v2",
      "uri": "http://hl7.org/v2",
      "name": "HL7 v2 Mapping"
    },
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    },
    {
      "identity": "w5",
      "uri": "http://hl7.org/fhir/fivews",
      "name": "FiveWs Pattern Mapping"
    },
    {
      "identity": "sct-attr",
      "uri": "http://snomed.org/attributebinding",
      "name": "SNOMED CT Attribute Binding"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "Observation",
  "baseDefinition": "https://fhir.cambio.se/StructureDefinition/ObservationBoneAgeCore/v1",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Observation.id",
        "path": "Observation.id",
        "max": "0"
      },
      {
        "id": "Observation.implicitRules",
        "path": "Observation.implicitRules",
        "max": "0"
      },
      {
        "id": "Observation.language",
        "path": "Observation.language",
        "max": "0"
      },
      {
        "id": "Observation.text",
        "path": "Observation.text",
        "max": "0"
      },
      {
        "id": "Observation.contained",
        "path": "Observation.contained",
        "max": "0"
      },
      {
        "id": "Observation.basedOn",
        "path": "Observation.basedOn",
        "max": "0"
      },
      {
        "id": "Observation.partOf",
        "path": "Observation.partOf",
        "max": "0"
      },
      {
        "id": "Observation.status",
        "path": "Observation.status",
        "short": "preliminary | final | amended | entered-in-error",
        "fixedCode": "preliminary | final | amended | entered-in-error",
        "binding": {
          "strength": "required",
          "description": "The status of th result value. FHIR - Cambio preliminary -> unsigned final -> signed and completednonSignable entered in error -> invalidated cancelled -> removed amended -> resigned",
          "valueSet": "https://cambio.codes/fhir/vs/vital-sign-status/v1"
        }
      },
      {
        "id": "Observation.category",
        "path": "Observation.category",
        "max": "0"
      },
      {
        "id": "Observation.code.coding",
        "path": "Observation.code.coding",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Observation.focus",
        "path": "Observation.focus",
        "max": "0"
      },
      {
        "id": "Observation.issued",
        "path": "Observation.issued",
        "max": "0"
      },
      {
        "id": "Observation.performer",
        "path": "Observation.performer",
        "min": 1,
        "max": "2"
      },
      {
        "id": "Observation.performer:practitioner",
        "path": "Observation.performer",
        "sliceName": "practitioner"
      },
      {
        "id": "Observation.performer:practitioner.identifier.value",
        "path": "Observation.performer.identifier.value",
        "short": "The HSA-ID of the practitioner(staff)"
      },
      {
        "id": "Observation.value[x].unit",
        "path": "Observation.value[x].unit",
        "short": "Years",
        "fixedString": "Years"
      },
      {
        "id": "Observation.value[x].code",
        "path": "Observation.value[x].code",
        "fixedCode": "a"
      },
      {
        "id": "Observation.dataAbsentReason.coding",
        "path": "Observation.dataAbsentReason.coding",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Observation.dataAbsentReason.coding.system",
        "path": "Observation.dataAbsentReason.coding.system",
        "min": 1,
        "fixedUri": "http://terminology.hl7.org/CodeSystem/data-absent-reason"
      },
      {
        "id": "Observation.dataAbsentReason.coding.code",
        "path": "Observation.dataAbsentReason.coding.code",
        "short": "System isn't capable of supporting this element",
        "min": 1,
        "fixedCode": "unsupported"
      },
      {
        "id": "Observation.dataAbsentReason.text",
        "path": "Observation.dataAbsentReason.text",
        "short": "Comment/note about the observation when the value is empty"
      },
      {
        "id": "Observation.interpretation",
        "path": "Observation.interpretation",
        "max": "0"
      },
      {
        "id": "Observation.bodySite",
        "path": "Observation.bodySite",
        "max": "0"
      },
      {
        "id": "Observation.method.coding",
        "path": "Observation.method.coding",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Observation.method.coding.code",
        "path": "Observation.method.coding.code",
        "binding": {
          "strength": "required",
          "valueSet": "https://fhir.cambio.se/ValueSet/bone-age-measuring-method/v1"
        }
      },
      {
        "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.hasMember",
        "path": "Observation.hasMember",
        "max": "0"
      },
      {
        "id": "Observation.derivedFrom",
        "path": "Observation.derivedFrom",
        "max": "0"
      },
      {
        "id": "Observation.component",
        "path": "Observation.component",
        "max": "0"
      }
    ]
  }
}