<StructureDefinition xmlns="http://hl7.org/fhir">
  <meta>
    <lastUpdated value="2018-02-16T18:49:19.113+01:00" />
  </meta>
  <url value="http://hl7.org/fhir/ips/StructureDefinition/observation-attachment-uv-ips" />
  <name value="Observation-attachment-uv-ips" />
  <title value="Observation (attachment)" />
  <status value="draft" />
  <experimental value="true" />
  <date value="2018-03-09" />
  <publisher value="HL7 International" />
  <contact>
    <name value="François Macary - Phast" />
  </contact>
  <description value="This profile constrains the Observation resource to the valueAttachment" />
  <purpose value="This specialized observation is used to convey an attachment for an illustrative media content" />
  <fhirVersion value="3.0.1" />
  <kind value="resource" />
  <abstract value="false" />
  <type value="Observation" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Observation" />
  <derivation value="constraint" />
  <differential>
    <element id="Observation.status">
      <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint">
        <valueString value="default: final" />
      </extension>
      <path value="Observation.status" />
      <definition value="The status of the result value. Only final observation are eligible to the international patient summary." />
      <fixedCode value="final" />
    </element>
    <element id="Observation.category">
      <path value="Observation.category" />
      <max value="0" />
    </element>
    <element id="Observation.code">
      <path value="Observation.code" />
      <comment value="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 value="CodeableConcept" />
        <profile value="http://hl7.org/fhir/ips/StructureDefinition/CodeableConcept-uv-ips" />
      </type>
    </element>
    <element id="Observation.subject">
      <path value="Observation.subject" />
      <min value="1" />
      <type>
        <code value="Reference" />
        <targetProfile value="http://hl7.org/fhir/StructureDefinition/Patient" />
      </type>
    </element>
    <element id="Observation.subject.identifier">
      <path value="Observation.subject.identifier" />
      <max value="0" />
    </element>
    <element id="Observation.context">
      <path value="Observation.context" />
      <max value="0" />
    </element>
    <element id="Observation.performer.identifier">
      <path value="Observation.performer.identifier" />
      <max value="0" />
    </element>
    <element id="Observation.valueAttachment:valueAttachment">
      <path value="Observation.valueAttachment" />
      <sliceName value="valueAttachment" />
      <type>
        <code value="Attachment" />
      </type>
    </element>
    <element id="Observation.dataAbsentReason">
      <path value="Observation.dataAbsentReason" />
      <max value="0" />
    </element>
    <element id="Observation.interpretation">
      <path value="Observation.interpretation" />
      <max value="0" />
    </element>
    <element id="Observation.specimen.identifier">
      <path value="Observation.specimen.identifier" />
      <max value="0" />
    </element>
    <element id="Observation.device.identifier">
      <path value="Observation.device.identifier" />
      <max value="0" />
    </element>
    <element id="Observation.referenceRange">
      <path value="Observation.referenceRange" />
      <max value="0" />
    </element>
    <element id="Observation.related">
      <path value="Observation.related" />
      <max value="0" />
    </element>
    <element id="Observation.component">
      <path value="Observation.component" />
      <max value="0" />
    </element>
  </differential>
</StructureDefinition>