{
  "resourceType": "StructureDefinition",
  "meta": {
    "lastUpdated": "2018-02-16T17:49:19.113+00:00"
  },
  "url": "http://hl7.org/fhir/ips/StructureDefinition/observation-attachment-uv-ips",
  "name": "Observation-attachment-uv-ips",
  "title": "Observation (attachment)",
  "status": "draft",
  "experimental": true,
  "date": "2018-03-09",
  "publisher": "HL7 International",
  "contact": [
    {
      "name": "François Macary - Phast"
    }
  ],
  "description": "This profile constrains the Observation resource to the valueAttachment",
  "purpose": "This specialized observation is used to convey an attachment for an illustrative media content",
  "fhirVersion": "3.0.1",
  "kind": "resource",
  "abstract": false,
  "type": "Observation",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Observation",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "Observation.status",
        "extension": [
          {
            "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint",
            "valueString": "default: final"
          }
        ],
        "path": "Observation.status",
        "definition": "The status of the result value. Only final observation are eligible to the international patient summary.",
        "fixedCode": "final"
      },
      {
        "id": "Observation.category",
        "path": "Observation.category",
        "max": "0"
      },
      {
        "id": "Observation.code",
        "path": "Observation.code",
        "comment": "In the context of this Observation-attachment-uv-ips profile, the attachment is used to carry an image. Therefore in most cases there is no real observation code, and only the text element iis used to identify the type of image that is carried.",
        "type": [
          {
            "code": "CodeableConcept",
            "profile": "http://hl7.org/fhir/ips/StructureDefinition/CodeableConcept-uv-ips"
          }
        ]
      },
      {
        "id": "Observation.subject",
        "path": "Observation.subject",
        "min": 1,
        "type": [
          {
            "code": "Reference",
            "targetProfile": "http://hl7.org/fhir/StructureDefinition/Patient"
          }
        ]
      },
      {
        "id": "Observation.subject.identifier",
        "path": "Observation.subject.identifier",
        "max": "0"
      },
      {
        "id": "Observation.context",
        "path": "Observation.context",
        "max": "0"
      },
      {
        "id": "Observation.performer.identifier",
        "path": "Observation.performer.identifier",
        "max": "0"
      },
      {
        "id": "Observation.valueAttachment:valueAttachment",
        "path": "Observation.valueAttachment",
        "sliceName": "valueAttachment",
        "type": [
          {
            "code": "Attachment"
          }
        ]
      },
      {
        "id": "Observation.dataAbsentReason",
        "path": "Observation.dataAbsentReason",
        "max": "0"
      },
      {
        "id": "Observation.interpretation",
        "path": "Observation.interpretation",
        "max": "0"
      },
      {
        "id": "Observation.specimen.identifier",
        "path": "Observation.specimen.identifier",
        "max": "0"
      },
      {
        "id": "Observation.device.identifier",
        "path": "Observation.device.identifier",
        "max": "0"
      },
      {
        "id": "Observation.referenceRange",
        "path": "Observation.referenceRange",
        "max": "0"
      },
      {
        "id": "Observation.related",
        "path": "Observation.related",
        "max": "0"
      },
      {
        "id": "Observation.component",
        "path": "Observation.component",
        "max": "0"
      }
    ]
  }
}