{
  "resourceType": "StructureDefinition",
  "meta": {
    "lastUpdated": "2018-02-25T16:04:25.636+00:00"
  },
  "url": "http://trilliumbridge.eu/fhir/StructureDefinition/observation-imaging-member-uv-trillium2",
  "name": "Observation-imaging-member-uv-trillium2",
  "status": "draft",
  "date": "2018-02-14T12:42:57.001+00:00",
  "fhirVersion": "3.0.1",
  "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"
        }
      },
      {
        "id": "Observation.extension:partOf",
        "path": "Observation.extension",
        "sliceName": "partOf",
        "type": [
          {
            "code": "Extension",
            "profile": "http://hl7.org/fhir/StructureDefinition/event-partOf"
          }
        ]
      },
      {
        "id": "Observation.extension:derivedFrom",
        "path": "Observation.extension",
        "sliceName": "derivedFrom",
        "type": [
          {
            "code": "Extension",
            "profile": "http://trilliumbridge.eu/fhir/StructureDefinition/derivedfrom-observation-uv-trillium2"
          }
        ]
      },
      {
        "id": "Observation.extension:derivedFrom.valueReference:valueReference",
        "path": "Observation.extension.valueReference",
        "sliceName": "valueReference",
        "type": [
          {
            "code": "Reference",
            "versioning": "independent"
          },
          {
            "code": "Reference",
            "profile": "http://trilliumbridge.eu/fhir/StructureDefinition/documentreference-uv-trillium2",
            "versioning": "independent"
          },
          {
            "code": "Reference",
            "profile": "http://trilliumbridge.eu/fhir/StructureDefinition/imagingstudy-reftoevidences-uv-ips"
          }
        ]
      },
      {
        "id": "Observation.basedOn",
        "path": "Observation.basedOn",
        "max": "0"
      },
      {
        "id": "Observation.subject",
        "path": "Observation.subject",
        "min": 1,
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient"
          }
        ]
      },
      {
        "id": "Observation.context",
        "path": "Observation.context",
        "max": "0"
      },
      {
        "id": "Observation.performer",
        "path": "Observation.performer",
        "type": [
          {
            "code": "Reference",
            "profile": "http://trilliumbridge.eu/fhir/StructureDefinition/practitioner-uv-trillium2"
          },
          {
            "code": "Reference",
            "profile": "http://trilliumbridge.eu/fhir/StructureDefinition/organization-observation-uv-trillium2"
          }
        ]
      },
      {
        "id": "Observation.value[x]",
        "path": "Observation.value[x]",
        "type": [
          {
            "code": "Quantity"
          },
          {
            "code": "CodeableConcept"
          },
          {
            "code": "string"
          },
          {
            "code": "Range"
          },
          {
            "code": "Ratio"
          },
          {
            "code": "SampledData"
          }
        ]
      },
      {
        "id": "Observation.dataAbsentReason",
        "path": "Observation.dataAbsentReason",
        "max": "0"
      },
      {
        "id": "Observation.interpretation",
        "path": "Observation.interpretation",
        "max": "0"
      },
      {
        "id": "Observation.method",
        "path": "Observation.method",
        "max": "0"
      },
      {
        "id": "Observation.specimen",
        "path": "Observation.specimen",
        "max": "0"
      },
      {
        "id": "Observation.device",
        "path": "Observation.device",
        "max": "0"
      },
      {
        "id": "Observation.related.type",
        "path": "Observation.related.type",
        "fixedCode": "derived-from"
      },
      {
        "id": "Observation.related.target",
        "path": "Observation.related.target",
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/ImagingStudy"
          }
        ]
      },
      {
        "id": "Observation.component.value[x]",
        "path": "Observation.component.value[x]",
        "type": [
          {
            "code": "Quantity"
          },
          {
            "code": "Range"
          },
          {
            "code": "Ratio"
          }
        ]
      },
      {
        "id": "Observation.component.dataAbsentReason",
        "path": "Observation.component.dataAbsentReason",
        "max": "0"
      },
      {
        "id": "Observation.component.interpretation",
        "path": "Observation.component.interpretation",
        "max": "0"
      }
    ]
  }
}