{
  "resourceType": "StructureDefinition",
  "meta": {
    "lastUpdated": "2020-12-01T09:21:33.413+00:00"
  },
  "url": "http://www.snubh.com/fhir/StructureDefinition/CRSImagingStudy",
  "name": "EZCaretech_CRSImagingStudy",
  "status": "draft",
  "fhirVersion": "4.0.1",
  "mapping": [
    {
      "identity": "workflow",
      "uri": "http://hl7.org/fhir/workflow",
      "name": "Workflow Pattern"
    },
    {
      "identity": "rim",
      "uri": "http://hl7.org/v3",
      "name": "RIM Mapping"
    },
    {
      "identity": "dicom",
      "uri": "http://nema.org/dicom",
      "name": "DICOM Tag Mapping"
    },
    {
      "identity": "w5",
      "uri": "http://hl7.org/fhir/fivews",
      "name": "FiveWs Pattern Mapping"
    },
    {
      "identity": "v2",
      "uri": "http://hl7.org/v2",
      "name": "HL7 v2 Mapping"
    }
  ],
  "kind": "resource",
  "abstract": false,
  "type": "ImagingStudy",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/ImagingStudy",
  "derivation": "constraint",
  "differential": {
    "element": [
      {
        "id": "ImagingStudy.subject",
        "path": "ImagingStudy.subject",
        "constraint": [
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "source": "http://hl7.org/fhir/StructureDefinition/Practitioner"
          }
        ]
      },
      {
        "id": "ImagingStudy.encounter",
        "path": "ImagingStudy.encounter",
        "constraint": [
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "source": "http://hl7.org/fhir/StructureDefinition/Practitioner"
          }
        ]
      },
      {
        "id": "ImagingStudy.basedOn",
        "path": "ImagingStudy.basedOn",
        "constraint": [
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "source": "http://hl7.org/fhir/StructureDefinition/Practitioner"
          }
        ]
      },
      {
        "id": "ImagingStudy.referrer",
        "path": "ImagingStudy.referrer",
        "constraint": [
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "source": "http://hl7.org/fhir/StructureDefinition/Practitioner"
          }
        ]
      },
      {
        "id": "ImagingStudy.interpreter",
        "path": "ImagingStudy.interpreter",
        "constraint": [
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "source": "http://hl7.org/fhir/StructureDefinition/Practitioner"
          }
        ]
      },
      {
        "id": "ImagingStudy.endpoint",
        "path": "ImagingStudy.endpoint",
        "constraint": [
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "source": "http://hl7.org/fhir/StructureDefinition/Practitioner"
          }
        ]
      },
      {
        "id": "ImagingStudy.procedureReference",
        "path": "ImagingStudy.procedureReference",
        "constraint": [
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "source": "http://hl7.org/fhir/StructureDefinition/Practitioner"
          }
        ]
      },
      {
        "id": "ImagingStudy.location",
        "path": "ImagingStudy.location",
        "constraint": [
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "source": "http://hl7.org/fhir/StructureDefinition/Practitioner"
          }
        ]
      },
      {
        "id": "ImagingStudy.reasonReference",
        "path": "ImagingStudy.reasonReference",
        "constraint": [
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "source": "http://hl7.org/fhir/StructureDefinition/Practitioner"
          }
        ]
      },
      {
        "id": "ImagingStudy.series.endpoint",
        "path": "ImagingStudy.series.endpoint",
        "constraint": [
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "source": "http://hl7.org/fhir/StructureDefinition/Practitioner"
          }
        ]
      },
      {
        "id": "ImagingStudy.series.specimen",
        "path": "ImagingStudy.series.specimen",
        "constraint": [
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "source": "http://hl7.org/fhir/StructureDefinition/Practitioner"
          }
        ]
      },
      {
        "id": "ImagingStudy.series.performer.actor",
        "path": "ImagingStudy.series.performer.actor",
        "constraint": [
          {
            "key": "ref-1",
            "severity": "error",
            "human": "SHALL have a contained resource if a local reference is provided",
            "source": "http://hl7.org/fhir/StructureDefinition/Practitioner"
          }
        ]
      }
    ]
  }
}