{
  "resourceType": "StructureDefinition",
  "url": "https://203.64.84.150:58443/r5/fhir/StructureDefinition/ImageFindingObservation",
  "name": "ImageFinding",
  "status": "draft",
  "date": "2023-03-24T02:49:05.702301+00:00",
  "fhirVersion": "5.0.0-snapshot1",
  "kind": "resource",
  "abstract": false,
  "type": "Observation",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Observation",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Observation.extension",
        "path": "Observation.extension",
        "slicing": {
          "discriminator": [
            {
              "type": "value",
              "path": "url"
            }
          ],
          "rules": "open"
        },
        "min": 1
      },
      {
        "id": "Observation.extension:FindingID",
        "path": "Observation.extension",
        "sliceName": "FindingID",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Extension",
            "profile": [
              "https://203.64.84.150:58443/r5/fhir/StructureDefinition/FindingID"
            ]
          }
        ]
      },
      {
        "id": "Observation.category",
        "path": "Observation.category",
        "slicing": {
          "discriminator": [
            {
              "type": "pattern",
              "path": "$this"
            }
          ],
          "rules": "open"
        },
        "min": 1
      },
      {
        "id": "Observation.category:imaging-category",
        "path": "Observation.category",
        "sliceName": "imaging-category",
        "min": 1,
        "max": "1",
        "patternCodeableConcept": {
          "coding": [
            {
              "system": "http://terminology.hl7.org/CodeSystem/observation-category",
              "code": "imaging"
            }
          ]
        }
      },
      {
        "id": "Observation.code.coding.system",
        "path": "Observation.code.coding.system",
        "fixedUri": "https://203.64.84.150:58443/r5/fhir/CodeSystem/8f414151-bf5f-46ce-94fe-f96d9e867d29"
      },
      {
        "id": "Observation.code.coding.code",
        "path": "Observation.code.coding.code",
        "fixedCode": "image.finding"
      },
      {
        "id": "Observation.subject",
        "path": "Observation.subject",
        "min": 1,
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Patient"
            ]
          }
        ]
      },
      {
        "id": "Observation.effective[x]",
        "path": "Observation.effective[x]",
        "min": 1,
        "type": [
          {
            "code": "dateTime"
          }
        ]
      },
      {
        "id": "Observation.performer",
        "path": "Observation.performer",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/Practitioner",
              "http://hl7.org/fhir/StructureDefinition/PractitionerRole",
              "http://hl7.org/fhir/Patient"
            ]
          }
        ]
      },
      {
        "id": "Observation.bodySite",
        "path": "Observation.bodySite",
        "min": 1
      },
      {
        "id": "Observation.derivedFrom",
        "path": "Observation.derivedFrom",
        "min": 1,
        "type": [
          {
            "code": "Reference",
            "targetProfile": [
              "http://hl7.org/fhir/StructureDefinition/DocumentReference",
              "http://hl7.org/fhir/StructureDefinition/ImagingStudy",
              "http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse",
              "http://hl7.org/fhir/StructureDefinition/Observation",
              "http://hl7.org/fhir/StructureDefinition/MolecularSequence",
              "https://203.64.84.150:58443/r5/fhir/StructureDefinition/ImageAnnotationObservation"
            ]
          }
        ]
      },
      {
        "id": "Observation.component",
        "path": "Observation.component",
        "slicing": {
          "discriminator": [
            {
              "type": "pattern",
              "path": "code.coding.code"
            }
          ],
          "rules": "open"
        }
      },
      {
        "id": "Observation.component:main-image",
        "path": "Observation.component",
        "sliceName": "main-image",
        "min": 1,
        "max": "1"
      },
      {
        "id": "Observation.component:main-image.code.coding.system",
        "path": "Observation.component.code.coding.system",
        "fixedUri": "https://203.64.84.150:58443/r5/fhir/CodeSystem/8f414151-bf5f-46ce-94fe-f96d9e867d29"
      },
      {
        "id": "Observation.component:main-image.code.coding.code",
        "path": "Observation.component.code.coding.code",
        "fixedCode": "image.finding.keyimage"
      },
      {
        "id": "Observation.component:main-image.value[x]",
        "path": "Observation.component.value[x]",
        "min": 1,
        "type": [
          {
            "code": "Attachment"
          }
        ]
      },
      {
        "id": "Observation.component:main-image.value[x].url",
        "path": "Observation.component.value[x].url",
        "min": 1
      }
    ]
  }
}