MedicationStatement
In diesem Beispiel erstellen wir das MedicationStatement des Patienten:
POST
http://hapi.fhir.org/baseR4/MedicationStatement
Header | .json | .xml |
---|---|---|
Accept | application/fhir+json | application/fhir+xml |
Content-Type | application/fhir+json | application/fhir+xm |
Beispieldaten:
<MedicationStatement xmlns="http://hl7.org/fhir"> <id value="example005"/> <meta> <profile value="http://fhir.vital-services.de/R4/StructureDefinition/NotfalldatensatzNotfalldatensatzMedicationStatement"/> </meta> <identifier> <system value="http://www.acme.com/identifiers/medicationStatement"/> <value value="134679852"/> </identifier> <status value="entered-in-error"/> <category> <coding> <system value="http://terminology.hl7.org/CodeSystem/medication-statement-category"/> <code value="Inpatient"/> </coding> </category> <medicationReference> <reference vale="1628024"/> </medicationReference> <subject> <reference value="Patient/1628021"/> <display value="Pieter van de Heuvel"/> </subject> <effectiveDateTime value="2014-01-23"/> <dateAsserted value="2015-02-22"/> <informationSource> <reference value="Patient/1628021"/> <display value="Pieter van de Heuvel"/> </informationSource> <note> <text value="Patient indicated that they thought it was Amoxicillin they were taking but it was really Erythromycin"/> </note> <dosage> <sequence value="001"/> </dosage> </MedicationStatement>
Outcome:
Status: 201 Created
Erstellte FHIR Ressource:
<MedicationStatement xmlns="http://hl7.org/fhir"> <id value="1628025"/> <meta> <versionId value="1"/> <lastUpdated value="2020-11-02T09:19:54.522+00:00"/> <profile value="http://fhir.vital-services.de/R4/StructureDefinition/NotfalldatensatzNotfalldatensatzMedicationStatement"/> </meta> <identifier> <system value="http://www.acme.com/identifiers/medicationStatement"/> <value value="134679852"/> </identifier> <status value="entered-in-error"/> <category> <coding> <system value="http://terminology.hl7.org/CodeSystem/medication-statement-category"/> <code value="Inpatient"/> </coding> </category> <subject> <reference value="Patient/1628021"/> <display value="Pieter van de Heuvel"/> </subject> <effectiveDateTime value="2014-01-23"/> <dateAsserted value="2015-02-22"/> <informationSource> <reference value="Patient/1628021"/> <display value="Pieter van de Heuvel"/> </informationSource> <note> <text value="Patient indicated that they thought it was Amoxicillin they were taking but it was really Erythromycin"/> </note> <dosage> <sequence value="001"/> </dosage> </MedicationStatement>