{
  "resourceType" : "Bundle",
  "id" : "janusync-ve-message-bundle-wardtransfer-curation-example",
  "meta" : {
    "profile" : ["http://connectdtx.kr/fhir/StructureDefinition/janusync-message-bundle"]
  },
  "identifier" : {
    "system" : "urn:janusync:medical-record",
    "value" : "message-id"
  },
  "type" : "message",
  "entry" : [{
    "resource" : {
      "resourceType" : "MessageHeader",
      "id" : "janusync-ve-messageheader-wardtransfer-curation-example",
      "meta" : {
        "profile" : ["http://connectdtx.kr/fhir/StructureDefinition/janusync-ve-messageheader"]
      },
      "extension" : [{
        "url" : "http://connectdtx.kr/fhir/StructureDefinition/janusync-hospital-service-identifier",
        "valueIdentifier" : {
          "system" : "urn:oid:1.2.410.100110.10.11100123",
          "value" : "TRS001"
        }
      }],
      "eventCoding" : {
        "system" : "http://connectdtx.kr/fhir/CodeSystem/janusync-ve-message-event",
        "code" : "curation",
        "display" : "큐레이션"
      },
      "sender" : {
        "reference" : "Organization/janusync-organization-example"
      },
      "source" : {
        "endpoint" : "urn:oid:1.2.410.100110.10.11100123"
      },
      "reason" : {
        "coding" : [{
          "system" : "http://connectdtx.kr/fhir/CodeSystem/janusync-ve-message-reason",
          "code" : "ward-transfer",
          "display" : "전실"
        }]
      }
    }
  },
  {
    "resource" : {
      "resourceType" : "Encounter",
      "id" : "janusync-encounter-imp-example",
      "meta" : {
        "profile" : ["http://connectdtx.kr/fhir/StructureDefinition/janusync-encounter"]
      },
      "extension" : [{
        "url" : "http://connectdtx.kr/fhir/StructureDefinition/JanuSyncEncounterAuthoredOn",
        "valueDateTime" : "2000-01-01T12:00:00+09:00"
      }],
      "status" : "in-progress",
      "class" : {
        "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode",
        "code" : "IMP"
      },
      "subject" : {
        "reference" : "Patient/janusync-patient-example"
      },
      "participant" : [{
        "individual" : {
          "reference" : "PractitionerRole/janusync-medicaldoctor-practitionerrole-example"
        }
      }],
      "period" : {
        "start" : "2000-01-01T14:00:00+09:00"
      },
      "serviceProvider" : {
        "reference" : "Organization/janusync-organization-example"
      }
    }
  },
  {
    "resource" : {
      "resourceType" : "Patient",
      "id" : "janusync-patient-example",
      "meta" : {
        "profile" : ["http://connectdtx.kr/fhir/StructureDefinition/janusync-patient"]
      },
      "identifier" : [{
        "type" : {
          "coding" : [{
            "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
            "code" : "MR"
          }]
        },
        "system" : "urn:oid:1.2.410.100110.10.11100123",
        "value" : "P123"
      }],
      "name" : [{
        "text" : "김환자"
      }],
      "telecom" : [{
        "system" : "phone",
        "value" : "010-1234-5678"
      }],
      "gender" : "male",
      "birthDate" : "1990-01-01"
    }
  },
  {
    "resource" : {
      "resourceType" : "Organization",
      "id" : "janusync-organization-example",
      "meta" : {
        "profile" : ["http://connectdtx.kr/fhir/StructureDefinition/janusync-organization"]
      },
      "extension" : [{
        "url" : "http://connectdtx.kr/fhir/StructureDefinition/janusync-report-type",
        "valueCode" : "application/pdf"
      },
      {
        "url" : "http://connectdtx.kr/fhir/StructureDefinition/janusync-report-type",
        "valueCode" : "image/jpeg"
      },
      {
        "url" : "http://connectdtx.kr/fhir/StructureDefinition/janusync-report-type",
        "valueCode" : "image/png"
      },
      {
        "url" : "http://connectdtx.kr/fhir/StructureDefinition/janusync-business-number",
        "valueString" : "123-12-12345"
      }],
      "identifier" : [{
        "system" : "urn:ietf:rfc:3986",
        "value" : "urn:oid:1.2.410.100110.10.11100123"
      }],
      "type" : [{
        "coding" : [{
          "system" : "http://www.hl7korea.or.kr/CodeSystem/hira-healthcare-organization-types",
          "code" : "01",
          "display" : "상급종합병원 (Tertiary General Hospital)"
        }]
      }],
      "name" : "파이종합병원",
      "telecom" : [{
        "system" : "phone",
        "value" : "02-393-1114"
      }],
      "address" : [{
        "text" : "서울특별시 서대문구 연대동문길 37, 1층",
        "line" : ["서울특별시 서대문구 연대동문길 37",
        "1층"],
        "postalCode" : "03721"
      }]
    }
  },
  {
    "resource" : {
      "resourceType" : "Location",
      "id" : "location-ward-icu-example",
      "name" : "집중치료실",
      "alias" : ["중환자실"],
      "description" : "본관 4층",
      "mode" : "instance",
      "type" : [{
        "coding" : [{
          "system" : "http://terminology.hl7.org/CodeSystem/v3-RoleCode",
          "code" : "ICU"
        }]
      }],
      "physicalType" : {
        "coding" : [{
          "system" : "http://terminology.hl7.org/CodeSystem/location-physical-type",
          "code" : "ro"
        }]
      },
      "managingOrganization" : {
        "reference" : "Organization/janusync-organization-example"
      }
    }
  }]
}