{
  "resourceType": "StructureDefinition",
  "id": "pghd-cdm-observation",
  "url": "https://simplifier.net/pghd-cdmtofhir/pghdcdmobservationprofile",
  "version": "0.1",
  "name": "PGHDCDMObservationProfile",
  "title": "PGHD CDM Observation Profile",
  "status": "active",
  "experimental": false,
  "date": "2022-03-29",
  "publisher": "SNUBH-HIRC",
  "fhirVersion": "4.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Observation",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Observation",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Observation",
        "path": "Observation"
      },
      {
        "id": "Observation.id",
        "path": "Observation.id",
        "short": "관측 ID",
        "min": 1,
        "type": [
          {
            "code": "id"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Observation.extension:deviceUseStartTiming",
        "path": "Observation.extension",
        "sliceName": "deviceUseStartTiming",
        "short": "관측 시작 일시",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://simplifier.net/pghd-cdmtofhir/pghdcdmdeviceusestarttimingextension"
            ]
          }
        ],
        "mustSupport": false
      },
      {
        "id": "Observation.extension:deviceUseEndTiming",
        "path": "Observation.extension",
        "sliceName": "deviceUseEndTiming",
        "short": "관측 종료 일시",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://simplifier.net/pghd-cdmtofhir/pghdcdmdeviceuseendtimingextension"
            ]
          }
        ],
        "mustSupport": false
      },
      {
        "id": "Observation.status",
        "path": "Observation.status",
        "short": "관측 상태",
        "type": [
          {
            "code": "code"
          }
        ],
        "fixedCode": "final",
        "mustSupport": true
      },
      {
        "id": "Observation.category",
        "path": "Observation.category",
        "short": "관측유형. Obsevation Category Codes(Preferred). vital-sign | activity | survey",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Observation.category.coding",
        "path": "Observation.category.coding",
        "min": 1,
        "max": "1",
        "mustSupport": true
      },
      {
        "id": "Observation.category.coding.system",
        "path": "Observation.category.coding.system",
        "min": 1,
        "max": "1",
        "fixedUri": "https://athena.ohdsi.org/"
      },
      {
        "id": "Observation.category.coding.code",
        "path": "Observation.category.coding.code",
        "min": 1,
        "max": "1",
        "fixedCode": "OMOP4822320"
      },
      {
        "id": "Observation.category.coding.display",
        "path": "Observation.category.coding.display",
        "min": 1,
        "max": "1",
        "fixedString": "Patient reported"
      },
      {
        "id": "Observation.code",
        "path": "Observation.code",
        "short": "관측 코드",
        "mustSupport": true,
        "binding": {
          "strength": "extensible",
          "valueSet": "https://simplifier.net/pghd-cdmtofhir/pghd-cdm-observationcodes"
        }
      },
      {
        "id": "Observation.subject",
        "path": "Observation.subject",
        "short": "측정 대상",
        "min": 1,
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://simplifier.net/pghd-cdmtofhir/pghdcdmpatientprofile"
            ]
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Observation.effective[x]",
        "path": "Observation.effective[x]",
        "short": "관측 일시",
        "min": 1,
        "type": [
          {
            "code": "dateTime"
          }
        ],
        "mustSupport": true
      },
      {
        "id": "Observation.value[x]",
        "path": "Observation.value[x]",
        "short": "값",
        "type": [
          {
            "code": "Quantity"
          },
          {
            "code": "CodeableConcept"
          }
        ]
      },
      {
        "id": "Observation.device",
        "path": "Observation.device",
        "short": "관측 기기",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "https://simplifier.net/pghd-cdmtofhir/pghdcdmdeviceprofile"
            ]
          }
        ],
        "mustSupport": false
      }
    ]
  }
}