Reinstate DEV structures for now
This commit is contained in:
parent
082b9cfc4b
commit
967d44326b
|
@ -443,6 +443,8 @@ public class FhirContext {
|
|||
|
||||
/**
|
||||
* Creates and returns a new FhirContext with version {@link FhirVersionEnum#DEV}
|
||||
*
|
||||
* @deprecated Support for DEV resources will be removed, you should use DSTU2 resources instead
|
||||
*/
|
||||
public static FhirContext forDev() {
|
||||
return new FhirContext(FhirVersionEnum.DEV);
|
||||
|
|
|
@ -195,144 +195,104 @@
|
|||
<package>ca.uhn.fhir.model.dev</package>
|
||||
<version>dev</version>
|
||||
<baseResourceNames>
|
||||
<baseResourceName>adversereaction</baseResourceName>
|
||||
<baseResourceName>adversereactionrisk</baseResourceName>
|
||||
<baseResourceName>alert</baseResourceName>
|
||||
<baseResourceName>allergyintolerance</baseResourceName>
|
||||
<baseResourceName>appointment</baseResourceName>
|
||||
<baseResourceName>appointmentresponse</baseResourceName>
|
||||
<!--<baseResourceName>assessmentdefinition</baseResourceName>-->
|
||||
<baseResourceName>basic</baseResourceName>
|
||||
<!--<baseResourceName>binary</baseResourceName>-->
|
||||
<!--<baseResourceName>bundle</baseResourceName>-->
|
||||
<!--<baseResourceName>careactivity</baseResourceName>-->
|
||||
<baseResourceName>careplan</baseResourceName>
|
||||
<baseResourceName>careplan2</baseResourceName>
|
||||
<baseResourceName>claim</baseResourceName>
|
||||
<baseResourceName>claimresponse</baseResourceName>
|
||||
<baseResourceName>clinicalassessment</baseResourceName>
|
||||
<!--<baseResourceName>commondataelement</baseResourceName>-->
|
||||
<baseResourceName>communication</baseResourceName>
|
||||
<baseResourceName>communicationrequest</baseResourceName>
|
||||
<baseResourceName>composition</baseResourceName>
|
||||
<baseResourceName>conceptmap</baseResourceName>
|
||||
<baseResourceName>condition</baseResourceName>
|
||||
<baseResourceName>conformance</baseResourceName>
|
||||
<baseResourceName>contract</baseResourceName>
|
||||
<baseResourceName>contraindication</baseResourceName>
|
||||
<baseResourceName>coverage</baseResourceName>
|
||||
<baseResourceName>dataelement</baseResourceName>
|
||||
<baseResourceName>device</baseResourceName>
|
||||
<baseResourceName>devicecomponent</baseResourceName>
|
||||
<baseResourceName>devicemetric</baseResourceName>
|
||||
<baseResourceName>deviceobservationreport</baseResourceName>
|
||||
<baseResourceName>deviceuserequest</baseResourceName>
|
||||
<baseResourceName>deviceusestatement</baseResourceName>
|
||||
<baseResourceName>diagnosticorder</baseResourceName>
|
||||
<baseResourceName>diagnosticreport</baseResourceName>
|
||||
<!--<baseResourceName>document</baseResourceName>-->
|
||||
<!--<baseResourceName>documentation</baseResourceName>-->
|
||||
<baseResourceName>documentmanifest</baseResourceName>
|
||||
<baseResourceName>documentreference</baseResourceName>
|
||||
<!--<baseResourceName>eligibility</baseResourceName>-->
|
||||
<baseResourceName>eligibilityrequest</baseResourceName>
|
||||
<baseResourceName>eligibilityresponse</baseResourceName>
|
||||
<baseResourceName>encounter</baseResourceName>
|
||||
<!--<baseResourceName>enrollment</baseResourceName>-->
|
||||
<baseResourceName>enrollmentrequest</baseResourceName>
|
||||
<baseResourceName>enrollmentresponse</baseResourceName>
|
||||
<baseResourceName>episodeofcare</baseResourceName>
|
||||
<baseResourceName>explanationofbenefit</baseResourceName>
|
||||
<baseResourceName>extensiondefinition</baseResourceName>
|
||||
<baseResourceName>familyhistory</baseResourceName>
|
||||
<!--<baseResourceName>geneexpression</baseResourceName>-->
|
||||
<baseResourceName>geneticanalysis</baseResourceName>
|
||||
<baseResourceName>goal</baseResourceName>
|
||||
<!--<baseResourceName>goalrequest</baseResourceName>-->
|
||||
<baseResourceName>group</baseResourceName>
|
||||
<baseResourceName>gvfmeta</baseResourceName>
|
||||
<baseResourceName>gvfvariant</baseResourceName>
|
||||
<baseResourceName>healthcareservice</baseResourceName>
|
||||
<baseResourceName>imagingobjectselection</baseResourceName>
|
||||
<baseResourceName>imagingstudy</baseResourceName>
|
||||
<baseResourceName>immunization</baseResourceName>
|
||||
<!--<baseResourceName>immunizationprofile</baseResourceName>-->
|
||||
<baseResourceName>immunizationrecommendation</baseResourceName>
|
||||
<baseResourceName>institutionalclaim</baseResourceName>
|
||||
<!--<baseResourceName>interestofcare</baseResourceName>-->
|
||||
<baseResourceName>list</baseResourceName>
|
||||
<baseResourceName>location</baseResourceName>
|
||||
<baseResourceName>media</baseResourceName>
|
||||
<baseResourceName>medication</baseResourceName>
|
||||
<baseResourceName>medicationadministration</baseResourceName>
|
||||
<baseResourceName>medicationdispense</baseResourceName>
|
||||
<baseResourceName>medicationprescription</baseResourceName>
|
||||
<baseResourceName>medicationstatement</baseResourceName>
|
||||
<!--<baseResourceName>message</baseResourceName>-->
|
||||
<baseResourceName>messageheader</baseResourceName>
|
||||
<!--<baseResourceName>microarray</baseResourceName>-->
|
||||
<!--<baseResourceName>namespace</baseResourceName>-->
|
||||
<baseResourceName>namingsystem</baseResourceName>
|
||||
<!--<baseResourceName>newbundle</baseResourceName>-->
|
||||
<baseResourceName>nutritionorder</baseResourceName>
|
||||
<baseResourceName>observation</baseResourceName>
|
||||
<baseResourceName>operationdefinition</baseResourceName>
|
||||
<baseResourceName>operationoutcome</baseResourceName>
|
||||
<baseResourceName>oralhealthclaim</baseResourceName>
|
||||
<baseResourceName>order</baseResourceName>
|
||||
<baseResourceName>orderresponse</baseResourceName>
|
||||
<baseResourceName>organization</baseResourceName>
|
||||
<baseResourceName>other</baseResourceName>
|
||||
<baseResourceName>patient</baseResourceName>
|
||||
<baseResourceName>paymentnotice</baseResourceName>
|
||||
<baseResourceName>paymentreconciliation</baseResourceName>
|
||||
<baseResourceName>pendedrequest</baseResourceName>
|
||||
<baseResourceName>person</baseResourceName>
|
||||
<baseResourceName>pharmacyclaim</baseResourceName>
|
||||
<!--<baseResourceName>picture</baseResourceName>-->
|
||||
<baseResourceName>practitioner</baseResourceName>
|
||||
<!--<baseResourceName>problem</baseResourceName>-->
|
||||
<baseResourceName>procedure</baseResourceName>
|
||||
<baseResourceName>procedurerequest</baseResourceName>
|
||||
<baseResourceName>professionalclaim</baseResourceName>
|
||||
<baseResourceName>profile</baseResourceName>
|
||||
<!--<baseResourceName>protocol</baseResourceName>-->
|
||||
<baseResourceName>provenance</baseResourceName>
|
||||
<baseResourceName>query</baseResourceName>
|
||||
<baseResourceName>questionnaire</baseResourceName>
|
||||
<baseResourceName>questionnaireanswers</baseResourceName>
|
||||
<baseResourceName>readjudicate</baseResourceName>
|
||||
<baseResourceName>referralrequest</baseResourceName>
|
||||
<baseResourceName>relatedperson</baseResourceName>
|
||||
<baseResourceName>remittance</baseResourceName>
|
||||
<baseResourceName>reversal</baseResourceName>
|
||||
<baseResourceName>riskassessment</baseResourceName>
|
||||
<baseResourceName>schedule</baseResourceName>
|
||||
<baseResourceName>searchparameter</baseResourceName>
|
||||
<baseResourceName>securityclaim</baseResourceName>
|
||||
<baseResourceName>securityevent</baseResourceName>
|
||||
<baseResourceName>securitygroup</baseResourceName>
|
||||
<baseResourceName>securityprincipal</baseResourceName>
|
||||
<!--<baseResourceName>sequence</baseResourceName>
|
||||
<baseResourceName>sequencinganalysis</baseResourceName>
|
||||
<baseResourceName>sequencinglab</baseResourceName>-->
|
||||
<baseResourceName>slot</baseResourceName>
|
||||
<baseResourceName>specimen</baseResourceName>
|
||||
<baseResourceName>statusrequest</baseResourceName>
|
||||
<baseResourceName>statusresponse</baseResourceName>
|
||||
<!--<baseResourceName>study</baseResourceName>-->
|
||||
<baseResourceName>subscription</baseResourceName>
|
||||
<baseResourceName>substance</baseResourceName>
|
||||
<baseResourceName>supply</baseResourceName>
|
||||
<baseResourceName>supportingdocumentation</baseResourceName>
|
||||
<!--<baseResourceName>test</baseResourceName>-->
|
||||
<baseResourceName>user</baseResourceName>
|
||||
<baseResourceName>valueset</baseResourceName>
|
||||
<!--<baseResourceName>vcfmeta</baseResourceName>
|
||||
<baseResourceName>vcfvariant</baseResourceName>-->
|
||||
<baseResourceName>visionclaim</baseResourceName>
|
||||
<baseResourceName>visionprescription</baseResourceName>
|
||||
<!--<baseResourceName>visit</baseResourceName>-->
|
||||
<baseResourceName>Condition</baseResourceName>
|
||||
<baseResourceName>Supply</baseResourceName>
|
||||
<baseResourceName>DeviceComponent</baseResourceName>
|
||||
<baseResourceName>Communication</baseResourceName>
|
||||
<baseResourceName>Group</baseResourceName>
|
||||
<baseResourceName>ValueSet</baseResourceName>
|
||||
<baseResourceName>OralHealthClaim</baseResourceName>
|
||||
<baseResourceName>Coverage</baseResourceName>
|
||||
<baseResourceName>Appointment</baseResourceName>
|
||||
<baseResourceName>Slot</baseResourceName>
|
||||
<baseResourceName>Contraindication</baseResourceName>
|
||||
<baseResourceName>Composition</baseResourceName>
|
||||
<baseResourceName>EpisodeOfCare</baseResourceName>
|
||||
<baseResourceName>Conformance</baseResourceName>
|
||||
<baseResourceName>NamingSystem</baseResourceName>
|
||||
<baseResourceName>HealthcareService</baseResourceName>
|
||||
<baseResourceName>OrderResponse</baseResourceName>
|
||||
<baseResourceName>StatusResponse</baseResourceName>
|
||||
<baseResourceName>ConceptMap</baseResourceName>
|
||||
<baseResourceName>PharmacyClaim</baseResourceName>
|
||||
<baseResourceName>Reversal</baseResourceName>
|
||||
<baseResourceName>Practitioner</baseResourceName>
|
||||
<baseResourceName>CarePlan</baseResourceName>
|
||||
<baseResourceName>ClinicalAssessment</baseResourceName>
|
||||
<baseResourceName>Substance</baseResourceName>
|
||||
<baseResourceName>DeviceUseRequest</baseResourceName>
|
||||
<baseResourceName>Schedule</baseResourceName>
|
||||
<baseResourceName>EligibilityRequest</baseResourceName>
|
||||
<baseResourceName>QuestionnaireAnswers</baseResourceName>
|
||||
<baseResourceName>PaymentReconciliation</baseResourceName>
|
||||
<baseResourceName>ProfessionalClaim</baseResourceName>
|
||||
<baseResourceName>ImagingObjectSelection</baseResourceName>
|
||||
<baseResourceName>OperationDefinition</baseResourceName>
|
||||
<baseResourceName>ClaimResponse</baseResourceName>
|
||||
<baseResourceName>BodySite</baseResourceName>
|
||||
<baseResourceName>CommunicationRequest</baseResourceName>
|
||||
<baseResourceName>RiskAssessment</baseResourceName>
|
||||
<baseResourceName>Observation</baseResourceName>
|
||||
<baseResourceName>AllergyIntolerance</baseResourceName>
|
||||
<baseResourceName>ExplanationOfBenefit</baseResourceName>
|
||||
<baseResourceName>SupportingDocumentation</baseResourceName>
|
||||
<baseResourceName>RelatedPerson</baseResourceName>
|
||||
<baseResourceName>InstitutionalClaim</baseResourceName>
|
||||
<baseResourceName>Alert</baseResourceName>
|
||||
<baseResourceName>AuditEvent</baseResourceName>
|
||||
<baseResourceName>EligibilityResponse</baseResourceName>
|
||||
<baseResourceName>StatusRequest</baseResourceName>
|
||||
<baseResourceName>Person</baseResourceName>
|
||||
<baseResourceName>ProcedureRequest</baseResourceName>
|
||||
<baseResourceName>VisionClaim</baseResourceName>
|
||||
<baseResourceName>DeviceMetric</baseResourceName>
|
||||
<baseResourceName>Organization</baseResourceName>
|
||||
<baseResourceName>Readjudicate</baseResourceName>
|
||||
<baseResourceName>ImmunizationRecommendation</baseResourceName>
|
||||
<baseResourceName>MedicationDispense</baseResourceName>
|
||||
<baseResourceName>MedicationPrescription</baseResourceName>
|
||||
<baseResourceName>PaymentNotice</baseResourceName>
|
||||
<baseResourceName>MedicationStatement</baseResourceName>
|
||||
<baseResourceName>AppointmentResponse</baseResourceName>
|
||||
<baseResourceName>Questionnaire</baseResourceName>
|
||||
<baseResourceName>OperationOutcome</baseResourceName>
|
||||
<baseResourceName>Media</baseResourceName>
|
||||
<baseResourceName>Other</baseResourceName>
|
||||
<baseResourceName>VisionPrescription</baseResourceName>
|
||||
<baseResourceName>DocumentReference</baseResourceName>
|
||||
<baseResourceName>Immunization</baseResourceName>
|
||||
<baseResourceName>Subscription</baseResourceName>
|
||||
<baseResourceName>ImagingStudy</baseResourceName>
|
||||
<baseResourceName>Provenance</baseResourceName>
|
||||
<baseResourceName>Device</baseResourceName>
|
||||
<baseResourceName>StructureDefinition</baseResourceName>
|
||||
<baseResourceName>Order</baseResourceName>
|
||||
<baseResourceName>Procedure</baseResourceName>
|
||||
<baseResourceName>DiagnosticReport</baseResourceName>
|
||||
<baseResourceName>Medication</baseResourceName>
|
||||
<baseResourceName>MessageHeader</baseResourceName>
|
||||
<baseResourceName>DataElement</baseResourceName>
|
||||
<baseResourceName>DocumentManifest</baseResourceName>
|
||||
<baseResourceName>MedicationAdministration</baseResourceName>
|
||||
<baseResourceName>Encounter</baseResourceName>
|
||||
<baseResourceName>PendedRequest</baseResourceName>
|
||||
<baseResourceName>List</baseResourceName>
|
||||
<baseResourceName>DeviceUseStatement</baseResourceName>
|
||||
<baseResourceName>Goal</baseResourceName>
|
||||
<baseResourceName>NutritionOrder</baseResourceName>
|
||||
<baseResourceName>SearchParameter</baseResourceName>
|
||||
<baseResourceName>ReferralRequest</baseResourceName>
|
||||
<baseResourceName>FamilyHistory</baseResourceName>
|
||||
<baseResourceName>EnrollmentRequest</baseResourceName>
|
||||
<baseResourceName>Location</baseResourceName>
|
||||
<baseResourceName>Contract</baseResourceName>
|
||||
<baseResourceName>Basic</baseResourceName>
|
||||
<baseResourceName>Specimen</baseResourceName>
|
||||
<baseResourceName>EnrollmentResponse</baseResourceName>
|
||||
<baseResourceName>Patient</baseResourceName>
|
||||
<baseResourceName>CarePlan2</baseResourceName>
|
||||
<baseResourceName>DiagnosticOrder</baseResourceName>
|
||||
<baseResourceName>Parameters</baseResourceName>
|
||||
</baseResourceNames>
|
||||
<buildDatatypes>true</buildDatatypes>
|
||||
</configuration>
|
||||
|
|
|
@ -87,16 +87,19 @@ public class Binary extends BaseResource implements IBaseBinary {
|
|||
return (myContent.isEmpty()) && ElementUtil.isEmpty(myContentType);
|
||||
}
|
||||
|
||||
public void setContent(byte[] theContent) {
|
||||
public Binary setContent(byte[] theContent) {
|
||||
myContent.setValue(theContent);
|
||||
return this;
|
||||
}
|
||||
|
||||
public void setContentAsBase64(String theContent) {
|
||||
public Binary setContentAsBase64(String theContent) {
|
||||
myContent.setValueAsString(theContent);
|
||||
return this;
|
||||
}
|
||||
|
||||
public void setContentType(String theContentType) {
|
||||
public Binary setContentType(String theContentType) {
|
||||
myContentType = new StringDt(theContentType);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
2
pom.xml
2
pom.xml
|
@ -754,7 +754,7 @@
|
|||
<module>hapi-tinder-test</module>
|
||||
<module>hapi-fhir-structures-dstu</module>
|
||||
<module>hapi-fhir-structures-dstu2</module>
|
||||
<!--<module>hapi-fhir-structures-dev</module>-->
|
||||
<module>hapi-fhir-structures-dev</module>
|
||||
<module>hapi-fhir-jpaserver-base</module>
|
||||
<module>hapi-fhir-jpaserver-example</module>
|
||||
<module>restful-server-example</module>
|
||||
|
|
Loading…
Reference in New Issue