MedicationPrescription

150 views
Skip to first unread message

Shilpa Shaha

unread,
Sep 1, 2015, 12:18:17 AM9/1/15
to HAPI FHIR, surbhi.k...@gmail.com
I was working on MedicationPrescription resource on FHIR DSTU2 server.
Now, I am getting this error,Can you please confirm whether support for 
MedicationPrescription is removed from this particular server (I can see this resource on other servers like spark DSTU2,HAPI DSTU1 etc) or name of this resource is changed?
Error :
{
    "resourceType":"OperationOutcome",
    "text":{
        "status":"generated",
        "div":"<div><h1>Operation Outcome</h1><table border=\"0\"><tr><td style=\"font-weight: bold;\">error</td><td>[]</td><td><pre>ca.uhn.fhir.model.dstu2.composite.CodeableConceptDt@30497ae5</pre></td>\n\t\t\t</tr>\n\t\t</table>\n\t</div>"
    },
    "issue":[
        {
            "severity":"error",
            "diagnostics":"Unknown resource type 'MedicationPrescription' - Server knows how to handle: [Condition, User, DeviceComponent, Communication, Group, ValueSet, Coverage, Test, Appointment, Slot, Contraindication, Composition, EpisodeOfCare, NamingSystem, HealthcareService, OrderResponse, ConceptMap, Practitioner, CarePlan, Substance, QuestionnaireResponse, DeviceUseRequest, SupplyDelivery, Schedule, EligibilityRequest, PaymentReconciliation, TestScript, ImagingObjectSelection, OperationDefinition, ClaimResponse, BodySite, Flag, CommunicationRequest, RiskAssessment, Claim, Observation, AllergyIntolerance, ExplanationOfBenefit, SupportingDocumentation, RelatedPerson, ProcessResponse, AuditEvent, EligibilityResponse, Remittance, MedicationOrder, Person, Parameters, ProcedureRequest, DeviceMetric, Organization, ProcessRequest, ImmunizationRecommendation, MedicationDispense, PaymentNotice, MedicationStatement, AppointmentResponse, ImplementationGuide, Questionnaire, FamilyMemberHistory, Media, Binary, VisionPrescription, DocumentReference, Immunization, Bundle, Subscription, ImagingStudy, Provenance, Documentation, Device, StructureDefinition, Account, Order, Procedure, DiagnosticReport, Medication, MessageHeader, DataElement, DocumentManifest, MedicationAdministration, Encounter, List, DeviceUseStatement, Goal, SearchParameter, NutritionOrder, ReferralRequest, ClinicalImpression, EnrollmentRequest, Location, Contract, Basic, Specimen, EnrollmentResponse, SupplyRequest, Patient, DiagnosticOrder]"
        }
    ]
}

Please suggest.

James Agnew

unread,
Sep 1, 2015, 7:39:55 AM9/1/15
to Shilpa Shaha, HAPI FHIR, surbhi.k...@gmail.com
Hi Shilpa,

MedicationPrescription has been renamed to MedicationOrder. If you are using MedicationPrescription, you should be able to just do a find-and-replace in your code for the new name. Sorry about the inconvenience, it was one of a few renames that happened in the FHIR specification in the leadup to the change freeze for DSTU2.

The good news is that we have now arrived at that change freeze, so there should be no further substantive changes to the DSTU2 definitions. I'm expecting we'll have a new 1.2 HAPI release up to go with this at some point quite soon.

Cheers,
James


--
You received this message because you are subscribed to the Google Groups "HAPI FHIR" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hapi-fhir+...@googlegroups.com.
To post to this group, send email to hapi...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/hapi-fhir/2e59d4d7-ee54-47c4-bc67-d743e9c7b4ac%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Shilpa Shaha

unread,
Sep 2, 2015, 6:26:05 AM9/2/15
to HAPI FHIR, surbhi.k...@gmail.com
Thanks James for quick reply.

On this link(https://www.hl7.org/fhir/2015May/resourcelist.html),I am still able to see this resource as MedicationPrescription.
when will these changes (FHIR remanes) be reflected on FHIR documentation site?any idea?

Bill de Beaubien

unread,
Sep 2, 2015, 7:52:48 AM9/2/15
to hapi...@googlegroups.com
-- You received this message because you are subscribed to the Google Groups "HAPI FHIR" group. To unsubscribe from this group and stop receiving emails from it, send an email to hapi-fhir+...@googlegroups.com. To post to this group, send email to hapi...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/hapi-fhir/0b2d27cc-e2a9-4e08-8dd8-0cc334d15ea6%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

Shilpa Shaha

unread,
Sep 3, 2015, 1:32:30 AM9/3/15
to HAPI FHIR, surbhi.k...@gmail.com
Thanks Bill for reply


On Tuesday, September 1, 2015 at 9:48:17 AM UTC+5:30, Shilpa Shaha wrote:
Reply all
Reply to author
Forward
0 new messages