{
  "resourceType": "StructureDefinition",
  "id": "vn-core-observation-radiology-code",
  "url": "http://moh.gov.vn/fhir/core/StructureDefinition/vn-core-observation-radiology-code",
  "version": "1.0.0",
  "name": "VNCoreObservationRadiologyCode",
  "title": "Observation - Radiology Result Code Profile - VN Core R4",
  "status": "draft",
  "description": "Thông tin về kết quả thực hiện dịch vụ kỹ thuật - Chẩn đoán hình ảnh",
  "copyright": "Bộ Y tế - Việt Nam",
  "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": "http://moh.gov.vn/fhir/core/StructureDefinition/vn-core-obervation-result-base",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Observation.identifier",
        "path": "Observation.identifier",
        "mustSupport": true
      },
      {
        "id": "Observation.basedOn",
        "path": "Observation.basedOn",
        "min": 1,
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/CarePlan",
              "http://hl7.org/fhir/StructureDefinition/DeviceRequest",
              "http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation",
              "http://hl7.org/fhir/StructureDefinition/MedicationRequest",
              "http://hl7.org/fhir/StructureDefinition/NutritionOrder",
              "http://hl7.org/fhir/StructureDefinition/ServiceRequest",
              "http://moh.gov.vn/fhir/core/StructureDefinition/vn-core-service-request"
            ]
          }
        ]
      },
      {
        "id": "Observation.partOf",
        "path": "Observation.partOf",
        "min": 1,
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/MedicationAdministration",
              "http://hl7.org/fhir/StructureDefinition/MedicationDispense",
              "http://hl7.org/fhir/StructureDefinition/MedicationStatement",
              "http://hl7.org/fhir/StructureDefinition/Procedure",
              "http://hl7.org/fhir/StructureDefinition/Immunization",
              "http://hl7.org/fhir/StructureDefinition/ImagingStudy",
              "http://moh.gov.vn/fhir/core/StructureDefinition/vn-core-procedure"
            ]
          }
        ]
      },
      {
        "id": "Observation.category",
        "path": "Observation.category",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "coding.system"
            },
            {
              "type": "value",
              "path": "coding.code"
            }
          ],
          "rules": "open"
        },
        "min": 1
      },
      {
        "id": "Observation.category:laboratory",
        "path": "Observation.category",
        "sliceName": "laboratory",
        "min": 1,
        "max": "1",
        "fixedCodeableConcept": {
          "coding": [
            {
              "system": "http://terminology.hl7.org/CodeSystem/observation-category",
              "code": "imaging",
              "display": "Imaging"
            }
          ],
          "text": "laboratory"
        }
      },
      {
        "id": "Observation.code",
        "path": "Observation.code",
        "short": "Pathology Result Code",
        "definition": "The test that was performed.  A LOINC **SHALL** be used if the concept is present in LOINC.",
        "comment": "The typical patterns for codes are:  1)  a LOINC code either as a  translation from a \"local\" code or as a primary code, or 2)  a local code only if no suitable LOINC exists,  or 3)  both the local and the LOINC translation.   Systems SHALL be capable of sending the local code if one exists.  When using LOINC , Use either the SHORTNAME or LONG_COMMON_NAME field for the display.",
        "alias": [
          "Test Name",
          "Observation Identifer"
        ],
        "binding": {
          "strength": "extensible",
          "description": "LOINC codes",
          "valueSet": "http://hl7.org/fhir/uv/ips/ValueSet/results-radiology-observations-uv-ips"
        }
      },
      {
        "id": "Observation.subject",
        "path": "Observation.subject",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://moh.gov.vn/fhir/core/StructureDefinition/vn-core-patient"
            ]
          }
        ]
      },
      {
        "id": "Observation.encounter",
        "path": "Observation.encounter",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://moh.gov.vn/fhir/core/StructureDefinition/vn-core-encounter"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Observation.performer",
        "path": "Observation.performer",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://moh.gov.vn/fhir/core/StructureDefinition/vn-core-practitioner"
            ]
          }
        ]
      },
      {
        "id": "Observation.value[x]",
        "path": "Observation.value[x]",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "Observation.interpretation",
        "path": "Observation.interpretation",
        "type": [
          {
            "code": "CodeableConcept",
            "profile": [
              "http://moh.gov.vn/fhir/core/StructureDefinition/vn-core-codeableconcept"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Observation.bodySite",
        "path": "Observation.bodySite",
        "type": [
          {
            "code": "CodeableConcept",
            "profile": [
              "http://moh.gov.vn/fhir/core/StructureDefinition/vn-core-codeableconcept"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Observation.method",
        "path": "Observation.method",
        "type": [
          {
            "code": "CodeableConcept",
            "profile": [
              "http://moh.gov.vn/fhir/core/StructureDefinition/vn-core-codeableconcept"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Observation.specimen",
        "path": "Observation.specimen",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Specimen",
              "http://moh.gov.vn/fhir/core/StructureDefinition/vn-core-specimen"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Observation.device",
        "path": "Observation.device",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Device",
              "http://hl7.org/fhir/StructureDefinition/DeviceMetric",
              "http://moh.gov.vn/fhir/core/StructureDefinition/vn-core-device"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Observation.referenceRange",
        "path": "Observation.referenceRange",
        "mustSupport": true
      },
      {
        "id": "Observation.hasMember",
        "path": "Observation.hasMember",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse",
              "http://hl7.org/fhir/StructureDefinition/MolecularSequence",
              "http://moh.gov.vn/fhir/core/StructureDefinition/vn-core-obervation-result-base",
              "http://moh.gov.vn/fhir/core/StructureDefinition/vn-core-observation-pathology-code"
            ]
          }
        ]
      },
      {
        "id": "Observation.component",
        "path": "Observation.component",
        "slicing": {
          "discriminator": [
            {
              "type": "type",
              "path": "value[x]"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Observation.component:observationText",
        "path": "Observation.component",
        "sliceName": "observationText"
      },
      {
        "id": "Observation.component:observationText.code",
        "path": "Observation.component.code",
        "binding": {
          "strength": "extensible",
          "valueSet": "http://hl7.org/fhir/uv/ips/ValueSet/results-radiology-txtobs-gps-dicom-loinc-uv-ips"
        }
      },
      {
        "id": "Observation.component:observationText.value[x]",
        "path": "Observation.component.value[x]",
        "min": 1,
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "id": "Observation.component:observationCode",
        "path": "Observation.component",
        "sliceName": "observationCode"
      },
      {
        "id": "Observation.component:observationCode.code",
        "path": "Observation.component.code",
        "binding": {
          "strength": "extensible",
          "valueSet": "http://hl7.org/fhir/uv/ips/ValueSet/results-radiology-observations-uv-ips"
        }
      },
      {
        "id": "Observation.component:observationCode.value[x]",
        "path": "Observation.component.value[x]",
        "min": 1,
        "type": [
          {
            "code": "CodeableConcept"
          }
        ]
      },
      {
        "id": "Observation.component:numericQuantityMeasurement",
        "path": "Observation.component",
        "sliceName": "numericQuantityMeasurement"
      },
      {
        "id": "Observation.component:numericQuantityMeasurement.code",
        "path": "Observation.component.code",
        "binding": {
          "strength": "extensible",
          "valueSet": "http://hl7.org/fhir/uv/ips/ValueSet/results-radiology-numobs-gps-dicom-uv-ips"
        }
      },
      {
        "id": "Observation.component:numericQuantityMeasurement.value[x]",
        "path": "Observation.component.value[x]",
        "min": 1,
        "type": [
          {
            "code": "Quantity",
            "profile": [
              "http://hl7.org/fhir/uv/ips/StructureDefinition/Quantity-uv-ips"
            ]
          }
        ]
      },
      {
        "id": "Observation.component:numericRangeMeasurement",
        "path": "Observation.component",
        "sliceName": "numericRangeMeasurement"
      },
      {
        "id": "Observation.component:numericRangeMeasurement.code",
        "path": "Observation.component.code",
        "binding": {
          "strength": "extensible",
          "valueSet": "http://hl7.org/fhir/uv/ips/ValueSet/results-radiology-numobs-gps-dicom-uv-ips"
        }
      },
      {
        "id": "Observation.component:numericRangeMeasurement.value[x]",
        "path": "Observation.component.value[x]",
        "min": 1,
        "type": [
          {
            "code": "Range"
          }
        ]
      },
      {
        "id": "Observation.component:numericRatioMeasurement",
        "path": "Observation.component",
        "sliceName": "numericRatioMeasurement"
      },
      {
        "id": "Observation.component:numericRatioMeasurement.code",
        "path": "Observation.component.code",
        "binding": {
          "strength": "extensible",
          "valueSet": "http://hl7.org/fhir/uv/ips/ValueSet/results-radiology-numobs-gps-dicom-uv-ips"
        }
      },
      {
        "id": "Observation.component:numericRatioMeasurement.value[x]",
        "path": "Observation.component.value[x]",
        "min": 1,
        "type": [
          {
            "code": "Ratio",
            "profile": [
              "http://hl7.org/fhir/uv/ips/StructureDefinition/Ratio-uv-ips"
            ]
          }
        ]
      },
      {
        "id": "Observation.component:numericSampledDataMeasurement",
        "path": "Observation.component",
        "sliceName": "numericSampledDataMeasurement"
      },
      {
        "id": "Observation.component:numericSampledDataMeasurement.code",
        "path": "Observation.component.code",
        "binding": {
          "strength": "extensible",
          "valueSet": "http://hl7.org/fhir/uv/ips/ValueSet/results-radiology-numobs-gps-dicom-uv-ips"
        }
      },
      {
        "id": "Observation.component:numericSampledDataMeasurement.value[x]",
        "path": "Observation.component.value[x]",
        "min": 1,
        "type": [
          {
            "code": "SampledData"
          }
        ]
      }
    ]
  }
}