<StructureDefinition xmlns="http://hl7.org/fhir">
  <url value="https://simplifier.net/fhir/MyHealthWay/StructureDefinition/DiagnosticReportImaging" />
  <version value="0.0.1" />
  <name value="DiagnosticReportImaging" />
  <status value="draft" />
  <date value="2023-09-12T06:59:16.5838578+00:00" />
  <fhirVersion value="4.0.1" />
  <kind value="resource" />
  <abstract value="false" />
  <type value="DiagnosticReport" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/DiagnosticReport" />
  <derivation value="constraint" />
  <differential>
    <element id="DiagnosticReport.identifier">
      <path value="DiagnosticReport.identifier" />
      <min value="1" />
      <max value="1" />
    </element>
    <element id="DiagnosticReport.identifier.use">
      <path value="DiagnosticReport.identifier.use" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.identifier.type">
      <path value="DiagnosticReport.identifier.type" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.identifier.system">
      <path value="DiagnosticReport.identifier.system" />
      <min value="1" />
    </element>
    <element id="DiagnosticReport.identifier.value">
      <path value="DiagnosticReport.identifier.value" />
      <min value="1" />
    </element>
    <element id="DiagnosticReport.identifier.period">
      <path value="DiagnosticReport.identifier.period" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.identifier.assigner">
      <path value="DiagnosticReport.identifier.assigner" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.basedOn">
      <path value="DiagnosticReport.basedOn" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.status">
      <path value="DiagnosticReport.status" />
      <fixedCode value="final" />
    </element>
    <element id="DiagnosticReport.category">
      <path value="DiagnosticReport.category" />
      <min value="1" />
      <max value="1" />
      <binding>
        <strength value="example" />
        <valueSet value="https://nrces.in/ndhm/fhir/r4/ValueSet/ndhm-diagnostic-report-type" />
      </binding>
    </element>
    <element id="DiagnosticReport.category.coding">
      <path value="DiagnosticReport.category.coding" />
      <min value="1" />
    </element>
    <element id="DiagnosticReport.category.coding.system">
      <path value="DiagnosticReport.category.coding.system" />
      <min value="1" />
      <fixedUri value="http://snomed.info/sct" />
    </element>
    <element id="DiagnosticReport.category.coding.version">
      <path value="DiagnosticReport.category.coding.version" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.category.coding.code">
      <path value="DiagnosticReport.category.coding.code" />
      <min value="1" />
    </element>
    <element id="DiagnosticReport.category.coding.display">
      <path value="DiagnosticReport.category.coding.display" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.category.coding.userSelected">
      <path value="DiagnosticReport.category.coding.userSelected" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.category.text">
      <path value="DiagnosticReport.category.text" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.code.coding.system">
      <path value="DiagnosticReport.code.coding.system" />
      <min value="1" />
      <fixedUri value="https://hira.or.kr/CodeSystem/result-code" />
    </element>
    <element id="DiagnosticReport.code.coding.version">
      <path value="DiagnosticReport.code.coding.version" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.code.coding.code">
      <path value="DiagnosticReport.code.coding.code" />
      <min value="1" />
    </element>
    <element id="DiagnosticReport.code.coding.userSelected">
      <path value="DiagnosticReport.code.coding.userSelected" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.subject">
      <path value="DiagnosticReport.subject" />
      <min value="1" />
    </element>
    <element id="DiagnosticReport.subject.reference">
      <path value="DiagnosticReport.subject.reference" />
      <min value="1" />
    </element>
    <element id="DiagnosticReport.subject.type">
      <path value="DiagnosticReport.subject.type" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.subject.identifier">
      <path value="DiagnosticReport.subject.identifier" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.subject.display">
      <path value="DiagnosticReport.subject.display" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.encounter">
      <path value="DiagnosticReport.encounter" />
      <min value="1" />
    </element>
    <element id="DiagnosticReport.encounter.reference">
      <path value="DiagnosticReport.encounter.reference" />
      <min value="1" />
    </element>
    <element id="DiagnosticReport.encounter.type">
      <path value="DiagnosticReport.encounter.type" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.encounter.identifier">
      <path value="DiagnosticReport.encounter.identifier" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.encounter.display">
      <path value="DiagnosticReport.encounter.display" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.effective[x]">
      <path value="DiagnosticReport.effective[x]" />
      <min value="1" />
      <type>
        <code value="dateTime" />
      </type>
    </element>
    <element id="DiagnosticReport.issued">
      <path value="DiagnosticReport.issued" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.performer">
      <path value="DiagnosticReport.performer" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.resultsInterpreter">
      <path value="DiagnosticReport.resultsInterpreter" />
      <max value="1" />
    </element>
    <element id="DiagnosticReport.resultsInterpreter.reference">
      <path value="DiagnosticReport.resultsInterpreter.reference" />
      <min value="1" />
    </element>
    <element id="DiagnosticReport.resultsInterpreter.type">
      <path value="DiagnosticReport.resultsInterpreter.type" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.resultsInterpreter.identifier">
      <path value="DiagnosticReport.resultsInterpreter.identifier" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.resultsInterpreter.display">
      <path value="DiagnosticReport.resultsInterpreter.display" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.specimen">
      <path value="DiagnosticReport.specimen" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.result">
      <path value="DiagnosticReport.result" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.imagingStudy">
      <path value="DiagnosticReport.imagingStudy" />
      <max value="1" />
    </element>
    <element id="DiagnosticReport.imagingStudy.reference">
      <path value="DiagnosticReport.imagingStudy.reference" />
      <min value="1" />
    </element>
    <element id="DiagnosticReport.imagingStudy.type">
      <path value="DiagnosticReport.imagingStudy.type" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.imagingStudy.identifier">
      <path value="DiagnosticReport.imagingStudy.identifier" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.imagingStudy.display">
      <path value="DiagnosticReport.imagingStudy.display" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.media.comment">
      <path value="DiagnosticReport.media.comment" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.media.link.reference">
      <path value="DiagnosticReport.media.link.reference" />
      <min value="1" />
    </element>
    <element id="DiagnosticReport.media.link.type">
      <path value="DiagnosticReport.media.link.type" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.media.link.identifier">
      <path value="DiagnosticReport.media.link.identifier" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.media.link.display">
      <path value="DiagnosticReport.media.link.display" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.conclusion">
      <path value="DiagnosticReport.conclusion" />
      <min value="1" />
    </element>
    <element id="DiagnosticReport.conclusionCode">
      <path value="DiagnosticReport.conclusionCode" />
      <max value="0" />
    </element>
    <element id="DiagnosticReport.presentedForm">
      <path value="DiagnosticReport.presentedForm" />
      <max value="0" />
    </element>
  </differential>
</StructureDefinition>