### ----------------------------------------------------
### -- FHIR
### -- Licenses: Artistic-2.0
### -- Authors: Hugh Simpson
### -- File: t/resources/structureDefinition/ImagingStudy.json
### ----------------------------------------------------
### -- Chunk 11 of 11
 may be the performer, e.g. for patient-captured images.",
      "requirements" : "The performer is recorded at the series level, since each series in a study may be performed by a different performer, at different times, and using different devices. A series may be performed by multiple performers.",
      "alias" : ["PerformingPhysicianName",
      "OperatorName"],
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "BackboneElement"
      }],
      "isSummary" : true,
      "mapping" : [{
        "identity" : "workflow",
        "map" : "Event.performer"
      },
      {
        "identity" : "rim",
        "map" : ".participation[typeCode=PRF].role"
      },
      {
        "identity" : "dicom",
        "map" : "(0008, 1050) | (0008, 1052) | (0008, 1070) | (0008, 1072)"
      }]
    },
    {
      "id" : "ImagingStudy.series.performer.function",
      "path" : "ImagingStudy.series.performer.function",
      "short" : "Type of performance",
      "definition" : "Distinguishes the type of involvement of the performer in the series.",
      "requirements" : "Allows disambiguation of the types of involvement of different performers.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "CodeableConcept"
      }],
      "isSummary" : true,
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "EventPerformerFunction"
        }],
        "strength" : "extensible",
        "description" : "The type of involvement of the performer.",
        "valueSet" : "http://hl7.org/fhir/ValueSet/series-performer-function"
      },
      "mapping" : [{
        "identity" : "rim",
        "map" : ".participation[typeCode=PRF].role"
      }]
    },
    {
      "id" : "ImagingStudy.series.performer.actor",
      "path" : "ImagingStudy.series.performer.actor",
      "short" : "Who performed the series",
      "definition" : "Indicates who or what performed the series.",
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "Reference",
        "targetProfile" : ["http://hl7.org/fhir/StructureDefinition/Practitioner",
        "http://hl7.org/fhir/StructureDefinition/PractitionerRole",
        "http://hl7.org/fhir/StructureDefinition/Organization",
        "http://hl7.org/fhir/StructureDefinition/CareTeam",
        "http://hl7.org/fhir/StructureDefinition/Patient",
        "http://hl7.org/fhir/StructureDefinition/Device",
        "http://hl7.org/fhir/StructureDefinition/RelatedPerson"]
      }],
      "isSummary" : true,
      "mapping" : [{
        "identity" : "w5",
        "map" : "FiveWs.actor"
      },
      {
        "identity" : "v2",
        "map" : "EVN.5 or by domain"
      },
      {
        "identity" : "rim",
        "map" : ".participation[typeCode=PRF].role[scoper.determinerCode=INSTANCE]"
      }]
    },
    {
      "id" : "ImagingStudy.series.instance",
      "path" : "ImagingStudy.series.instance",
      "short" : "A single SOP instance from the series",
      "definition" : "A single SOP instance within the series, e.g. an image, or presentation state.",
      "min" : 0,
      "max" : "*",
      "type" : [{
        "code" : "BackboneElement"
      }],
      "mapping" : [{
        "identity" : "rim",
        "map" : ".outboundRelationship[typeCode=COMP].target[classCode=DGIMG, moodCode=EVN]"
      }]
    },
    {
      "id" : "ImagingStudy.series.instance.uid",
      "path" : "ImagingStudy.series.instance.uid",
      "short" : "DICOM SOP Instance UID",
      "definition" : "The DICOM SOP Instance UID for this image or other DICOM content.",
      "comment" : "See  [DICOM PS3.3 C.12.1](http://dicom.nema.org/medical/dicom/current/output/chtml/part03/sect_C.12.html#sect_C.12.1).",
      "requirements" : "DICOM SOP Instance UID.",
      "alias" : ["SOPInstanceUID"],
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "id"
      }],
      "example" : [{
        "label" : "General",
        "valueId" : "2.16.124.113543.6003.189642796.63084.16748.2599092903"
      }],
      "mapping" : [{
        "identity" : "rim",
        "map" : ".id"
      },
      {
        "identity" : "dicom",
        "map" : "(0008,0018)"
      }]
    },
    {
      "id" : "ImagingStudy.series.instance.sopClass",
      "path" : "ImagingStudy.series.instance.sopClass",
      "short" : "DICOM class type",
      "definition" : "DICOM instance  type.",
      "alias" : ["SOPClassUID"],
      "min" : 1,
      "max" : "1",
      "type" : [{
        "code" : "Coding"
      }],
      "binding" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
          "valueString" : "sopClass"
        }],
        "strength" : "extensible",
        "description" : "The sopClass for the instance.",
        "valueSet" : "http://dicom.nema.org/medical/dicom/current/output/chtml/part04/sect_B.5.html#table_B.5-1"
      },
      "mapping" : [{
        "identity" : "rim",
        "map" : ".inboundRelationship[typeCode=COMP]. source[classCode=OBS, moodCode=EVN, code=\"sop class\"].value"
      },
      {
        "identity" : "dicom",
        "map" : "(0008,0016)"
      }]
    },
    {
      "id" : "ImagingStudy.series.instance.number",
      "path" : "ImagingStudy.series.instance.number",
      "short" : "The number of this instance in the series",
      "definition" : "The number of instance in the series.",
      "alias" : ["InstanceNumber"],
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "unsignedInt"
      }],
      "example" : [{
        "label" : "General",
        "valueUnsignedInt" : 1
      }],
      "mapping" : [{
        "identity" : "rim",
        "map" : ".inboundRelationship[typeCode=COMP, source[classCode=OBSSER, moodCode=EVN]].sequenceNumber"
      },
      {
        "identity" : "dicom",
        "map" : "(0020,0013)"
      }]
    },
    {
      "id" : "ImagingStudy.series.instance.title",
      "path" : "ImagingStudy.series.instance.title",
      "short" : "Description of instance",
      "definition" : "The description of the instance.",
      "comment" : "Particularly for post-acquisition analytic objects, such as SR, presentation states, value mapping, etc.",
      "min" : 0,
      "max" : "1",
      "type" : [{
        "code" : "string"
      }],
      "mapping" : [{
        "identity" : "rim",
        "map" : ".title"
      },
      {
        "identity" : "dicom",
        "map" : "(0008,0008) | (0007,0080) | (0040,A043) + (0008,0104) | (0042,0010)"
      }]
    }]
  }
}


