IPS Patient

POST {{host}}/fhir/Patient

Request Body

{"resourceType"=>"Patient", "id"=>"{{ips_patient_id}}", "meta"=>{"source"=>"postman_tests", "versionId"=>"1", "tag"=>[{"code"=>"postman_tests", "system"=>"test"}], "profile"=>["http://hl7.org/fhir/uv/ips/StructureDefinition/Patient-uv-ips"]}, "text"=>{"status"=>"generated", "div"=>"<div xmlns=\"http://www.w3.org/1999/xhtml\"><p style=\"border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;\"><b>John Doe</b> male, DoB: 1998-01-01</p><hr/><table class=\"grid\"><tr><td style=\"background-color: #f3f5da\" title=\"Ways to contact the Patient\">Contact Detail:</td><td colspan=\"3\">23 thule st NZL </td></tr><tr><td style=\"background-color: #f3f5da\" title=\"District Health Board relating to a NZ Healthcare Service, Location (Facility) or Patient (primary, physical home address).\"><a href=\"StructureDefinition-dhb.html\">District Health Board linked to a NZ Healthcare Service, Location or Patient:</a></td><td colspan=\"3\"><ul><li><span title=\"Codes: {https://standards.digital.health.nz/ns/dhb-code G00026-A}\">Northland District Health Board</span></li></ul></td></tr></table></div>"}, "extension"=>[{"url"=>"http://hl7.org.nz/fhir/StructureDefinition/dhb", "valueCodeableConcept"=>{"coding"=>[{"system"=>"https://standards.digital.health.nz/ns/dhb-code", "code"=>"G00026-A", "display"=>"Northland District Health Board"}]}}], "name"=>[{"text"=>"{{patient_full_name}}", "family"=>"{{patient_family_name}}", "given"=>["{{patient_first_name}}"]}], "gender"=>"{{patient_gender}}", "birthDate"=>"{{patient_birthDate}}", "address"=>[{"extension"=>[{"url"=>"http://hl7.org.nz/fhir/StructureDefinition/building-name", "valueString"=>"Big Red Shed"}], "line"=>["23 thule st"], "country"=>"NZL"}]}