{
  "resourceType" : "Bundle",
  "id" : "janusync-consent-contract-endo-bundle-example",
  "type" : "collection",
  "entry" : [{
    "resource" : {
      "resourceType" : "Contract",
      "id" : "janusync-consent-contract-endo-example",
      "meta" : {
        "profile" : ["http://connectdtx.kr/fhir/StructureDefinition/janusync-consent-contract"]
      },
      "status" : "terminated",
      "issued" : "2000-01-01T14:00:00+09:00",
      "subject" : [{
        "reference" : "Patient/janusync-patient-example"
      }],
      "topicCodeableConcept" : {
        "coding" : [{
          "system" : "http://loinc.org",
          "code" : "19779-8",
          "display" : "Procedure Endoscopy"
        }]
      },
      "type" : {
        "coding" : [{
          "system" : "http://terminology.hl7.org/CodeSystem/contract-type",
          "code" : "consent"
        }]
      },
      "term" : [{
        "offer" : {
          "answer" : [{
            "valueBoolean" : true
          }],
          "text" : "정확한 진단을 위하여 의사의 판단에 따라 의심되는 부분에 대한 조직검사를 시행하는 경우가 있습니다. (위 조직검사 미실시로 인해 발생하는 진단적 오류는 본원이 책임지지 않습니다.)조직검사를 시행한 경우는 개수에 따라 추가비용이 발생됩니다."
        }
      },
      {
        "offer" : {
          "answer" : [{
            "valueBoolean" : true
          }],
          "text" : "의식하 진정(수면) 내시경 검사는 주사로 약물을 투여하여 환자를 어느 정도의 진정상태에 도달하게 한 후 검사를 하는 것으로 환자를 마취한 상태로 하는 검사는 아니며‘환자의 협조가 가능한 진정상태’에서 검사를 합니다. 약물에 잘 반응하지 않은 경우에는 검사가 불충분하게 될 수 있으며 수면유도가 안 될 수도 있습니다. 흔치 않으나 호흡정지, 심장정지, 치명적인 간 손상, 혼수 내지는 사망에 이를 수 있는 등 심각한 합병증이 발생할 수 있습니다"
        }
      },
      {
        "offer" : {
          "answer" : [{
            "valueString" : "김환자"
          }],
          "text" : "동의자"
        }
      }],
      "signer" : [{
        "type" : {
          "system" : "http://terminology.hl7.org/CodeSystem/contractsignertypecodes",
          "code" : "PAT",
          "display" : "Patient"
        },
        "party" : {
          "reference" : "Patient/janusync-patient-example"
        },
        "signature" : [{
          "type" : [{
            "system" : "urn:iso-astm:E1762-95:2013",
            "code" : "1.2.840.10065.1.12.1.7",
            "display" : "Consent Signature"
          }],
          "when" : "2000-01-01T14:00:00+09:00",
          "who" : {
            "reference" : "Patient/janusync-patient-example"
          },
          "sigFormat" : "application/binary",
          "data" : "AA=="
        }]
      }]
    }
  }]
}