upgrade to v4.4.0, with attendant fixes
This commit is contained in:
parent
020e0135e8
commit
b43497897b
|
@ -1,6 +1,7 @@
|
|||
package org.hl7.fhir.convertors.conv10_50;
|
||||
|
||||
import org.hl7.fhir.convertors.VersionConvertor_10_50;
|
||||
import org.hl7.fhir.convertors.VersionConvertor_30_50;
|
||||
import org.hl7.fhir.exceptions.FHIRException;
|
||||
|
||||
public class AuditEvent10_50 {
|
||||
|
@ -14,8 +15,11 @@ public class AuditEvent10_50 {
|
|||
for (org.hl7.fhir.r5.model.Coding t : src.getSubtype()) tgt.getEvent().addSubtype(VersionConvertor_10_50.convertCoding(t));
|
||||
tgt.getEvent().setActionElement(convertAuditEventAction(src.getActionElement()));
|
||||
tgt.getEvent().setDateTime(src.getRecorded());
|
||||
tgt.getEvent().setOutcomeElement(convertAuditEventOutcome(src.getOutcomeElement()));
|
||||
tgt.getEvent().setOutcomeDesc(src.getOutcomeDesc());
|
||||
|
||||
if (src.hasOutcome() && src.getOutcome().hasCoding("http://terminology.hl7.org/CodeSystem/audit-event-outcome"))
|
||||
tgt.getEvent().getOutcomeElement().setValueAsString(src.getOutcome().getCode("http://terminology.hl7.org/CodeSystem/audit-event-outcome"));
|
||||
if (src.getOutcome().hasText())
|
||||
tgt.getEvent().setOutcomeDescElement(VersionConvertor_10_50.convertString(src.getOutcome().getTextElement()));
|
||||
for (org.hl7.fhir.r5.model.CodeableConcept t : src.getPurposeOfEvent()) for (org.hl7.fhir.r5.model.Coding cc : t.getCoding()) tgt.getEvent().addPurposeOfEvent(VersionConvertor_10_50.convertCoding(cc));
|
||||
for (org.hl7.fhir.r5.model.AuditEvent.AuditEventAgentComponent t : src.getAgent()) tgt.addParticipant(convertAuditEventAgentComponent(t));
|
||||
if (src.hasSource())
|
||||
|
@ -35,8 +39,12 @@ public class AuditEvent10_50 {
|
|||
for (org.hl7.fhir.dstu2.model.Coding t : src.getEvent().getSubtype()) tgt.addSubtype(VersionConvertor_10_50.convertCoding(t));
|
||||
tgt.setActionElement(convertAuditEventAction(src.getEvent().getActionElement()));
|
||||
tgt.setRecorded(src.getEvent().getDateTime());
|
||||
tgt.setOutcomeElement(convertAuditEventOutcome(src.getEvent().getOutcomeElement()));
|
||||
tgt.setOutcomeDesc(src.getEvent().getOutcomeDesc());
|
||||
|
||||
if (src.getEvent().hasOutcome())
|
||||
tgt.getOutcome().addCoding().setSystem("http://terminology.hl7.org/CodeSystem/audit-event-outcome").setCode(src.getEvent().getOutcome().toCode());
|
||||
if (src.getEvent().hasOutcomeDesc())
|
||||
tgt.getOutcome().setTextElement(VersionConvertor_10_50.convertString(src.getEvent().getOutcomeDescElement()));
|
||||
|
||||
for (org.hl7.fhir.dstu2.model.Coding t : src.getEvent().getPurposeOfEvent()) tgt.addPurposeOfEvent().addCoding(VersionConvertor_10_50.convertCoding(t));
|
||||
}
|
||||
for (org.hl7.fhir.dstu2.model.AuditEvent.AuditEventParticipantComponent t : src.getParticipant()) tgt.addAgent(convertAuditEventAgentComponent(t));
|
||||
|
@ -258,55 +266,7 @@ public class AuditEvent10_50 {
|
|||
return tgt;
|
||||
}
|
||||
|
||||
static public org.hl7.fhir.dstu2.model.Enumeration<org.hl7.fhir.dstu2.model.AuditEvent.AuditEventOutcome> convertAuditEventOutcome(org.hl7.fhir.r5.model.Enumeration<org.hl7.fhir.r5.model.AuditEvent.AuditEventOutcome> src) throws FHIRException {
|
||||
if (src == null || src.isEmpty())
|
||||
return null;
|
||||
org.hl7.fhir.dstu2.model.Enumeration<org.hl7.fhir.dstu2.model.AuditEvent.AuditEventOutcome> tgt = new org.hl7.fhir.dstu2.model.Enumeration<>(new org.hl7.fhir.dstu2.model.AuditEvent.AuditEventOutcomeEnumFactory());
|
||||
VersionConvertor_10_50.copyElement(src, tgt);
|
||||
switch(src.getValue()) {
|
||||
case _0:
|
||||
tgt.setValue(org.hl7.fhir.dstu2.model.AuditEvent.AuditEventOutcome._0);
|
||||
break;
|
||||
case _4:
|
||||
tgt.setValue(org.hl7.fhir.dstu2.model.AuditEvent.AuditEventOutcome._4);
|
||||
break;
|
||||
case _8:
|
||||
tgt.setValue(org.hl7.fhir.dstu2.model.AuditEvent.AuditEventOutcome._8);
|
||||
break;
|
||||
case _12:
|
||||
tgt.setValue(org.hl7.fhir.dstu2.model.AuditEvent.AuditEventOutcome._12);
|
||||
break;
|
||||
default:
|
||||
tgt.setValue(org.hl7.fhir.dstu2.model.AuditEvent.AuditEventOutcome.NULL);
|
||||
break;
|
||||
}
|
||||
return tgt;
|
||||
}
|
||||
|
||||
static public org.hl7.fhir.r5.model.Enumeration<org.hl7.fhir.r5.model.AuditEvent.AuditEventOutcome> convertAuditEventOutcome(org.hl7.fhir.dstu2.model.Enumeration<org.hl7.fhir.dstu2.model.AuditEvent.AuditEventOutcome> src) throws FHIRException {
|
||||
if (src == null || src.isEmpty())
|
||||
return null;
|
||||
org.hl7.fhir.r5.model.Enumeration<org.hl7.fhir.r5.model.AuditEvent.AuditEventOutcome> tgt = new org.hl7.fhir.r5.model.Enumeration<>(new org.hl7.fhir.r5.model.AuditEvent.AuditEventOutcomeEnumFactory());
|
||||
VersionConvertor_10_50.copyElement(src, tgt);
|
||||
switch(src.getValue()) {
|
||||
case _0:
|
||||
tgt.setValue(org.hl7.fhir.r5.model.AuditEvent.AuditEventOutcome._0);
|
||||
break;
|
||||
case _4:
|
||||
tgt.setValue(org.hl7.fhir.r5.model.AuditEvent.AuditEventOutcome._4);
|
||||
break;
|
||||
case _8:
|
||||
tgt.setValue(org.hl7.fhir.r5.model.AuditEvent.AuditEventOutcome._8);
|
||||
break;
|
||||
case _12:
|
||||
tgt.setValue(org.hl7.fhir.r5.model.AuditEvent.AuditEventOutcome._12);
|
||||
break;
|
||||
default:
|
||||
tgt.setValue(org.hl7.fhir.r5.model.AuditEvent.AuditEventOutcome.NULL);
|
||||
break;
|
||||
}
|
||||
return tgt;
|
||||
}
|
||||
|
||||
|
||||
static public org.hl7.fhir.r5.model.Enumeration<org.hl7.fhir.r5.model.AuditEvent.AuditEventAgentNetworkType> convertAuditEventParticipantNetworkType(org.hl7.fhir.dstu2.model.Enumeration<org.hl7.fhir.dstu2.model.AuditEvent.AuditEventParticipantNetworkType> src) throws FHIRException {
|
||||
if (src == null || src.isEmpty())
|
||||
|
|
|
@ -107,7 +107,7 @@ public class CarePlan10_50 {
|
|||
if (src.hasScheduled())
|
||||
tgt.setScheduled(VersionConvertor_10_50.convertType(src.getScheduled()));
|
||||
if (src.hasLocation())
|
||||
tgt.setLocation(VersionConvertor_10_50.convertReference(src.getLocation()));
|
||||
tgt.getLocation().setReference(VersionConvertor_10_50.convertReference(src.getLocation()));
|
||||
for (org.hl7.fhir.dstu2.model.Reference t : src.getPerformer()) tgt.addPerformer(VersionConvertor_10_50.convertReference(t));
|
||||
if (src.hasProduct())
|
||||
tgt.setProduct(VersionConvertor_10_50.convertType(src.getProduct()));
|
||||
|
@ -138,8 +138,8 @@ public class CarePlan10_50 {
|
|||
tgt.setProhibitedElement(VersionConvertor_10_50.convertBoolean(src.getDoNotPerformElement()));
|
||||
if (src.hasScheduled())
|
||||
tgt.setScheduled(VersionConvertor_10_50.convertType(src.getScheduled()));
|
||||
if (src.hasLocation())
|
||||
tgt.setLocation(VersionConvertor_10_50.convertReference(src.getLocation()));
|
||||
if (src.getLocation().hasReference())
|
||||
tgt.setLocation(VersionConvertor_10_50.convertReference(src.getLocation().getReference()));
|
||||
for (org.hl7.fhir.r5.model.Reference t : src.getPerformer()) tgt.addPerformer(VersionConvertor_10_50.convertReference(t));
|
||||
if (src.hasProduct())
|
||||
tgt.setProduct(VersionConvertor_10_50.convertType(src.getProduct()));
|
||||
|
|
|
@ -134,10 +134,10 @@ public class ConceptMap10_50 {
|
|||
case EQUIVALENT:
|
||||
tgt.setValue(org.hl7.fhir.dstu2.model.Enumerations.ConceptMapEquivalence.EQUIVALENT);
|
||||
break;
|
||||
case SOURCENARROWERTARGET:
|
||||
case SOURCEISNARROWERTHANTARGET:
|
||||
tgt.setValue(org.hl7.fhir.dstu2.model.Enumerations.ConceptMapEquivalence.WIDER);
|
||||
break;
|
||||
case SOURCEBROADERTARGET:
|
||||
case SOURCEISBROADERTHANTARGET:
|
||||
tgt.setValue(org.hl7.fhir.dstu2.model.Enumerations.ConceptMapEquivalence.NARROWER);
|
||||
break;
|
||||
case NOTRELATEDTO:
|
||||
|
@ -165,16 +165,16 @@ public class ConceptMap10_50 {
|
|||
tgt.setValue(org.hl7.fhir.r5.model.Enumerations.ConceptMapRelationship.EQUIVALENT);
|
||||
break;
|
||||
case WIDER:
|
||||
tgt.setValue(org.hl7.fhir.r5.model.Enumerations.ConceptMapRelationship.SOURCENARROWERTARGET);
|
||||
tgt.setValue(org.hl7.fhir.r5.model.Enumerations.ConceptMapRelationship.SOURCEISNARROWERTHANTARGET);
|
||||
break;
|
||||
case SUBSUMES:
|
||||
tgt.setValue(org.hl7.fhir.r5.model.Enumerations.ConceptMapRelationship.SOURCENARROWERTARGET);
|
||||
tgt.setValue(org.hl7.fhir.r5.model.Enumerations.ConceptMapRelationship.SOURCEISNARROWERTHANTARGET);
|
||||
break;
|
||||
case NARROWER:
|
||||
tgt.setValue(org.hl7.fhir.r5.model.Enumerations.ConceptMapRelationship.SOURCEBROADERTARGET);
|
||||
tgt.setValue(org.hl7.fhir.r5.model.Enumerations.ConceptMapRelationship.SOURCEISBROADERTHANTARGET);
|
||||
break;
|
||||
case SPECIALIZES:
|
||||
tgt.setValue(org.hl7.fhir.r5.model.Enumerations.ConceptMapRelationship.SOURCEBROADERTARGET);
|
||||
tgt.setValue(org.hl7.fhir.r5.model.Enumerations.ConceptMapRelationship.SOURCEISBROADERTHANTARGET);
|
||||
break;
|
||||
case INEXACT:
|
||||
tgt.setValue(org.hl7.fhir.r5.model.Enumerations.ConceptMapRelationship.RELATEDTO);
|
||||
|
|
|
@ -13,14 +13,14 @@ public class DeviceUseStatement10_50 {
|
|||
org.hl7.fhir.r5.model.DeviceUseStatement tgt = new org.hl7.fhir.r5.model.DeviceUseStatement();
|
||||
VersionConvertor_10_50.copyDomainResource(src, tgt);
|
||||
if (src.hasBodySiteCodeableConcept())
|
||||
tgt.setBodySite(VersionConvertor_10_50.convertCodeableConcept(src.getBodySiteCodeableConcept()));
|
||||
tgt.getBodySite().setConcept(VersionConvertor_10_50.convertCodeableConcept(src.getBodySiteCodeableConcept()));
|
||||
if (src.hasDevice())
|
||||
tgt.setDevice(VersionConvertor_10_50.convertReference(src.getDevice()));
|
||||
tgt.getDevice().setReference(VersionConvertor_10_50.convertReference(src.getDevice()));
|
||||
for (org.hl7.fhir.dstu2.model.Identifier t : src.getIdentifier()) tgt.addIdentifier(VersionConvertor_10_50.convertIdentifier(t));
|
||||
for (org.hl7.fhir.dstu2.model.CodeableConcept t : src.getIndication()) tgt.addReason(VersionConvertor_10_50.convertCodeableConceptToCodableReference(t));
|
||||
for (org.hl7.fhir.dstu2.model.StringType t : src.getNotes()) tgt.addNote().setText(t.getValue());
|
||||
if (src.hasRecordedOnElement())
|
||||
tgt.setRecordedOnElement(VersionConvertor_10_50.convertDateTime(src.getRecordedOnElement()));
|
||||
tgt.setDateAssertedElement(VersionConvertor_10_50.convertDateTime(src.getRecordedOnElement()));
|
||||
if (src.hasSubject())
|
||||
tgt.setSubject(VersionConvertor_10_50.convertReference(src.getSubject()));
|
||||
if (src.hasTiming())
|
||||
|
@ -33,16 +33,16 @@ public class DeviceUseStatement10_50 {
|
|||
return null;
|
||||
org.hl7.fhir.dstu2.model.DeviceUseStatement tgt = new org.hl7.fhir.dstu2.model.DeviceUseStatement();
|
||||
VersionConvertor_10_50.copyDomainResource(src, tgt);
|
||||
if (src.hasBodySite())
|
||||
tgt.setBodySite(VersionConvertor_10_50.convertType(src.getBodySite()));
|
||||
if (src.hasDevice())
|
||||
tgt.setDevice(VersionConvertor_10_50.convertReference(src.getDevice()));
|
||||
if (src.getBodySite().hasConcept())
|
||||
tgt.setBodySite(VersionConvertor_10_50.convertType(src.getBodySite().getConcept()));
|
||||
if (src.getDevice().hasReference())
|
||||
tgt.setDevice(VersionConvertor_10_50.convertReference(src.getDevice().getReference()));
|
||||
for (org.hl7.fhir.r5.model.Identifier t : src.getIdentifier()) tgt.addIdentifier(VersionConvertor_10_50.convertIdentifier(t));
|
||||
for (CodeableReference t : src.getReason()) if (t.hasConcept())
|
||||
tgt.addIndication(VersionConvertor_10_50.convertCodeableConcept(t.getConcept()));
|
||||
for (Annotation t : src.getNote()) tgt.addNotes(t.getText());
|
||||
if (src.hasRecordedOnElement())
|
||||
tgt.setRecordedOnElement(VersionConvertor_10_50.convertDateTime(src.getRecordedOnElement()));
|
||||
if (src.hasDateAssertedElement())
|
||||
tgt.setRecordedOnElement(VersionConvertor_10_50.convertDateTime(src.getDateAssertedElement()));
|
||||
if (src.hasSubject())
|
||||
tgt.setSubject(VersionConvertor_10_50.convertReference(src.getSubject()));
|
||||
if (src.hasTiming())
|
||||
|
|
|
@ -17,8 +17,10 @@ public class MedicationDispense10_50 {
|
|||
tgt.addIdentifier(VersionConvertor_10_50.convertIdentifier(src.getIdentifier()));
|
||||
if (src.hasStatusElement())
|
||||
tgt.setStatusElement(convertMedicationDispenseStatus(src.getStatusElement()));
|
||||
if (src.hasMedication())
|
||||
tgt.setMedication(VersionConvertor_10_50.convertType(src.getMedication()));
|
||||
if (src.hasMedicationCodeableConcept())
|
||||
tgt.getMedication().setConcept(VersionConvertor_10_50.convertCodeableConcept(src.getMedicationCodeableConcept()));
|
||||
if (src.hasMedicationReference())
|
||||
tgt.getMedication().setReference(VersionConvertor_10_50.convertReference(src.getMedicationReference()));
|
||||
if (src.hasPatient())
|
||||
tgt.setSubject(VersionConvertor_10_50.convertReference(src.getPatient()));
|
||||
for (org.hl7.fhir.dstu2.model.Reference t : src.getAuthorizingPrescription()) tgt.addAuthorizingPrescription(VersionConvertor_10_50.convertReference(t));
|
||||
|
@ -52,8 +54,10 @@ public class MedicationDispense10_50 {
|
|||
tgt.setIdentifier(VersionConvertor_10_50.convertIdentifier(src.getIdentifierFirstRep()));
|
||||
if (src.hasStatusElement())
|
||||
tgt.setStatusElement(convertMedicationDispenseStatus(src.getStatusElement()));
|
||||
if (src.hasMedication())
|
||||
tgt.setMedication(VersionConvertor_10_50.convertType(src.getMedication()));
|
||||
if (src.getMedication().hasConcept())
|
||||
tgt.setMedication(VersionConvertor_10_50.convertType(src.getMedication().getConcept()));
|
||||
if (src.getMedication().hasReference())
|
||||
tgt.setMedication(VersionConvertor_10_50.convertType(src.getMedication().getReference()));
|
||||
if (src.hasSubject())
|
||||
tgt.setPatient(VersionConvertor_10_50.convertReference(src.getSubject()));
|
||||
for (org.hl7.fhir.r5.model.Reference t : src.getAuthorizingPrescription()) tgt.addAuthorizingPrescription(VersionConvertor_10_50.convertReference(t));
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
package org.hl7.fhir.convertors.conv10_50;
|
||||
|
||||
import org.hl7.fhir.convertors.VersionConvertor_10_50;
|
||||
import org.hl7.fhir.convertors.VersionConvertor_30_50;
|
||||
import org.hl7.fhir.exceptions.FHIRException;
|
||||
import org.hl7.fhir.r5.model.Dosage.DosageDoseAndRateComponent;
|
||||
|
||||
|
@ -14,8 +15,12 @@ public class MedicationStatement10_50 {
|
|||
for (org.hl7.fhir.r5.model.Identifier t : src.getIdentifier()) tgt.addIdentifier(VersionConvertor_10_50.convertIdentifier(t));
|
||||
if (src.hasStatus())
|
||||
tgt.setStatusElement(convertMedicationStatementStatus(src.getStatusElement()));
|
||||
if (src.hasMedication())
|
||||
tgt.setMedication(VersionConvertor_10_50.convertType(src.getMedication()));
|
||||
if (src.getMedication().hasConcept()) {
|
||||
tgt.setMedication(VersionConvertor_10_50.convertType(src.getMedication().getConcept()));
|
||||
}
|
||||
if (src.getMedication().hasReference()) {
|
||||
tgt.setMedication(VersionConvertor_10_50.convertType(src.getMedication().getReference()));
|
||||
}
|
||||
if (src.hasSubject())
|
||||
tgt.setPatient(VersionConvertor_10_50.convertReference(src.getSubject()));
|
||||
if (src.hasEffective())
|
||||
|
@ -38,8 +43,12 @@ public class MedicationStatement10_50 {
|
|||
for (org.hl7.fhir.dstu2.model.Identifier t : src.getIdentifier()) tgt.addIdentifier(VersionConvertor_10_50.convertIdentifier(t));
|
||||
if (src.hasStatus())
|
||||
tgt.setStatusElement(convertMedicationStatementStatus(src.getStatusElement()));
|
||||
if (src.hasMedication())
|
||||
tgt.setMedication(VersionConvertor_10_50.convertType(src.getMedication()));
|
||||
if (src.hasMedicationCodeableConcept()) {
|
||||
tgt.getMedication().setConcept(VersionConvertor_10_50.convertCodeableConcept(src.getMedicationCodeableConcept()));
|
||||
}
|
||||
if (src.hasMedicationReference()) {
|
||||
tgt.getMedication().setReference(VersionConvertor_10_50.convertReference(src.getMedicationReference()));
|
||||
}
|
||||
if (src.hasPatient())
|
||||
tgt.setSubject(VersionConvertor_10_50.convertReference(src.getPatient()));
|
||||
if (src.hasEffective())
|
||||
|
|
|
@ -142,10 +142,10 @@ public class ConceptMap14_50 {
|
|||
case EQUIVALENT:
|
||||
tgt.setValue(org.hl7.fhir.dstu2016may.model.Enumerations.ConceptMapEquivalence.EQUIVALENT);
|
||||
break;
|
||||
case SOURCENARROWERTARGET:
|
||||
case SOURCEISNARROWERTHANTARGET:
|
||||
tgt.setValue(org.hl7.fhir.dstu2016may.model.Enumerations.ConceptMapEquivalence.WIDER);
|
||||
break;
|
||||
case SOURCEBROADERTARGET:
|
||||
case SOURCEISBROADERTHANTARGET:
|
||||
tgt.setValue(org.hl7.fhir.dstu2016may.model.Enumerations.ConceptMapEquivalence.NARROWER);
|
||||
break;
|
||||
case NOTRELATEDTO:
|
||||
|
@ -173,16 +173,16 @@ public class ConceptMap14_50 {
|
|||
tgt.setValue(org.hl7.fhir.r5.model.Enumerations.ConceptMapRelationship.EQUIVALENT);
|
||||
break;
|
||||
case WIDER:
|
||||
tgt.setValue(org.hl7.fhir.r5.model.Enumerations.ConceptMapRelationship.SOURCENARROWERTARGET);
|
||||
tgt.setValue(org.hl7.fhir.r5.model.Enumerations.ConceptMapRelationship.SOURCEISNARROWERTHANTARGET);
|
||||
break;
|
||||
case SUBSUMES:
|
||||
tgt.setValue(org.hl7.fhir.r5.model.Enumerations.ConceptMapRelationship.SOURCENARROWERTARGET);
|
||||
tgt.setValue(org.hl7.fhir.r5.model.Enumerations.ConceptMapRelationship.SOURCEISNARROWERTHANTARGET);
|
||||
break;
|
||||
case NARROWER:
|
||||
tgt.setValue(org.hl7.fhir.r5.model.Enumerations.ConceptMapRelationship.SOURCEBROADERTARGET);
|
||||
tgt.setValue(org.hl7.fhir.r5.model.Enumerations.ConceptMapRelationship.SOURCEISBROADERTHANTARGET);
|
||||
break;
|
||||
case SPECIALIZES:
|
||||
tgt.setValue(org.hl7.fhir.r5.model.Enumerations.ConceptMapRelationship.SOURCEBROADERTARGET);
|
||||
tgt.setValue(org.hl7.fhir.r5.model.Enumerations.ConceptMapRelationship.SOURCEISBROADERTHANTARGET);
|
||||
break;
|
||||
case INEXACT:
|
||||
tgt.setValue(org.hl7.fhir.r5.model.Enumerations.ConceptMapRelationship.RELATEDTO);
|
||||
|
|
|
@ -18,9 +18,9 @@ public class AuditEvent30_50 {
|
|||
if (src.hasRecorded())
|
||||
tgt.setRecordedElement(VersionConvertor_30_50.convertInstant(src.getRecordedElement()));
|
||||
if (src.hasOutcome())
|
||||
tgt.setOutcomeElement(convertAuditEventOutcome(src.getOutcomeElement()));
|
||||
tgt.getOutcome().addCoding().setSystem("http://terminology.hl7.org/CodeSystem/audit-event-outcome").setCode(src.getOutcome().toCode());
|
||||
if (src.hasOutcomeDesc())
|
||||
tgt.setOutcomeDescElement(VersionConvertor_30_50.convertString(src.getOutcomeDescElement()));
|
||||
tgt.getOutcome().setTextElement(VersionConvertor_30_50.convertString(src.getOutcomeDescElement()));
|
||||
for (org.hl7.fhir.dstu3.model.CodeableConcept t : src.getPurposeOfEvent()) tgt.addPurposeOfEvent(VersionConvertor_30_50.convertCodeableConcept(t));
|
||||
for (org.hl7.fhir.dstu3.model.AuditEvent.AuditEventAgentComponent t : src.getAgent()) tgt.addAgent(convertAuditEventAgentComponent(t));
|
||||
if (src.hasSource())
|
||||
|
@ -41,10 +41,10 @@ public class AuditEvent30_50 {
|
|||
tgt.setActionElement(convertAuditEventAction(src.getActionElement()));
|
||||
if (src.hasRecorded())
|
||||
tgt.setRecordedElement(VersionConvertor_30_50.convertInstant(src.getRecordedElement()));
|
||||
if (src.hasOutcome())
|
||||
tgt.setOutcomeElement(convertAuditEventOutcome(src.getOutcomeElement()));
|
||||
if (src.hasOutcomeDesc())
|
||||
tgt.setOutcomeDescElement(VersionConvertor_30_50.convertString(src.getOutcomeDescElement()));
|
||||
if (src.hasOutcome() && src.getOutcome().hasCoding("http://terminology.hl7.org/CodeSystem/audit-event-outcome"))
|
||||
tgt.getOutcomeElement().setValueAsString(src.getOutcome().getCode("http://terminology.hl7.org/CodeSystem/audit-event-outcome"));
|
||||
if (src.getOutcome().hasText())
|
||||
tgt.setOutcomeDescElement(VersionConvertor_30_50.convertString(src.getOutcome().getTextElement()));
|
||||
for (org.hl7.fhir.r5.model.CodeableConcept t : src.getPurposeOfEvent()) tgt.addPurposeOfEvent(VersionConvertor_30_50.convertCodeableConcept(t));
|
||||
for (org.hl7.fhir.r5.model.AuditEvent.AuditEventAgentComponent t : src.getAgent()) tgt.addAgent(convertAuditEventAgentComponent(t));
|
||||
if (src.hasSource())
|
||||
|
@ -321,55 +321,6 @@ public class AuditEvent30_50 {
|
|||
return tgt;
|
||||
}
|
||||
|
||||
static public org.hl7.fhir.dstu3.model.Enumeration<org.hl7.fhir.dstu3.model.AuditEvent.AuditEventOutcome> convertAuditEventOutcome(org.hl7.fhir.r5.model.Enumeration<org.hl7.fhir.r5.model.AuditEvent.AuditEventOutcome> src) throws FHIRException {
|
||||
if (src == null || src.isEmpty())
|
||||
return null;
|
||||
org.hl7.fhir.dstu3.model.Enumeration<org.hl7.fhir.dstu3.model.AuditEvent.AuditEventOutcome> tgt = new org.hl7.fhir.dstu3.model.Enumeration<>(new org.hl7.fhir.dstu3.model.AuditEvent.AuditEventOutcomeEnumFactory());
|
||||
VersionConvertor_30_50.copyElement(src, tgt);
|
||||
switch(src.getValue()) {
|
||||
case _0:
|
||||
tgt.setValue(org.hl7.fhir.dstu3.model.AuditEvent.AuditEventOutcome._0);
|
||||
break;
|
||||
case _4:
|
||||
tgt.setValue(org.hl7.fhir.dstu3.model.AuditEvent.AuditEventOutcome._4);
|
||||
break;
|
||||
case _8:
|
||||
tgt.setValue(org.hl7.fhir.dstu3.model.AuditEvent.AuditEventOutcome._8);
|
||||
break;
|
||||
case _12:
|
||||
tgt.setValue(org.hl7.fhir.dstu3.model.AuditEvent.AuditEventOutcome._12);
|
||||
break;
|
||||
default:
|
||||
tgt.setValue(org.hl7.fhir.dstu3.model.AuditEvent.AuditEventOutcome.NULL);
|
||||
break;
|
||||
}
|
||||
return tgt;
|
||||
}
|
||||
|
||||
static public org.hl7.fhir.r5.model.Enumeration<org.hl7.fhir.r5.model.AuditEvent.AuditEventOutcome> convertAuditEventOutcome(org.hl7.fhir.dstu3.model.Enumeration<org.hl7.fhir.dstu3.model.AuditEvent.AuditEventOutcome> src) throws FHIRException {
|
||||
if (src == null || src.isEmpty())
|
||||
return null;
|
||||
org.hl7.fhir.r5.model.Enumeration<org.hl7.fhir.r5.model.AuditEvent.AuditEventOutcome> tgt = new org.hl7.fhir.r5.model.Enumeration<>(new org.hl7.fhir.r5.model.AuditEvent.AuditEventOutcomeEnumFactory());
|
||||
VersionConvertor_30_50.copyElement(src, tgt);
|
||||
switch(src.getValue()) {
|
||||
case _0:
|
||||
tgt.setValue(org.hl7.fhir.r5.model.AuditEvent.AuditEventOutcome._0);
|
||||
break;
|
||||
case _4:
|
||||
tgt.setValue(org.hl7.fhir.r5.model.AuditEvent.AuditEventOutcome._4);
|
||||
break;
|
||||
case _8:
|
||||
tgt.setValue(org.hl7.fhir.r5.model.AuditEvent.AuditEventOutcome._8);
|
||||
break;
|
||||
case _12:
|
||||
tgt.setValue(org.hl7.fhir.r5.model.AuditEvent.AuditEventOutcome._12);
|
||||
break;
|
||||
default:
|
||||
tgt.setValue(org.hl7.fhir.r5.model.AuditEvent.AuditEventOutcome.NULL);
|
||||
break;
|
||||
}
|
||||
return tgt;
|
||||
}
|
||||
|
||||
public static org.hl7.fhir.dstu3.model.AuditEvent.AuditEventSourceComponent convertAuditEventSourceComponent(org.hl7.fhir.r5.model.AuditEvent.AuditEventSourceComponent src) throws FHIRException {
|
||||
if (src == null)
|
||||
|
|
|
@ -256,8 +256,8 @@ public class CarePlan30_50 {
|
|||
tgt.setScheduled(VersionConvertor_30_50.convertType(src.getScheduled()));
|
||||
}
|
||||
if (src.hasLocation()) {
|
||||
if (src.hasLocation())
|
||||
tgt.setLocation(VersionConvertor_30_50.convertReference(src.getLocation()));
|
||||
if (src.getLocation().hasReference())
|
||||
tgt.setLocation(VersionConvertor_30_50.convertReference(src.getLocation().getReference()));
|
||||
}
|
||||
for (org.hl7.fhir.r5.model.Reference t : src.getPerformer()) {
|
||||
tgt.addPerformer(VersionConvertor_30_50.convertReference(t));
|
||||
|
@ -325,7 +325,7 @@ public class CarePlan30_50 {
|
|||
}
|
||||
if (src.hasLocation()) {
|
||||
if (src.hasLocation())
|
||||
tgt.setLocation(VersionConvertor_30_50.convertReference(src.getLocation()));
|
||||
tgt.getLocation().setReference(VersionConvertor_30_50.convertReference(src.getLocation()));
|
||||
}
|
||||
for (org.hl7.fhir.dstu3.model.Reference t : src.getPerformer()) {
|
||||
tgt.addPerformer(VersionConvertor_30_50.convertReference(t));
|
||||
|
|
|
@ -221,10 +221,10 @@ public class ConceptMap30_50 {
|
|||
case EQUIVALENT:
|
||||
tgt.setValue(org.hl7.fhir.dstu3.model.Enumerations.ConceptMapEquivalence.EQUIVALENT);
|
||||
break;
|
||||
case SOURCENARROWERTARGET:
|
||||
case SOURCEISNARROWERTHANTARGET:
|
||||
tgt.setValue(org.hl7.fhir.dstu3.model.Enumerations.ConceptMapEquivalence.WIDER);
|
||||
break;
|
||||
case SOURCEBROADERTARGET:
|
||||
case SOURCEISBROADERTHANTARGET:
|
||||
tgt.setValue(org.hl7.fhir.dstu3.model.Enumerations.ConceptMapEquivalence.NARROWER);
|
||||
break;
|
||||
case NOTRELATEDTO:
|
||||
|
@ -252,16 +252,16 @@ public class ConceptMap30_50 {
|
|||
tgt.setValue(org.hl7.fhir.r5.model.Enumerations.ConceptMapRelationship.EQUIVALENT);
|
||||
break;
|
||||
case WIDER:
|
||||
tgt.setValue(org.hl7.fhir.r5.model.Enumerations.ConceptMapRelationship.SOURCENARROWERTARGET);
|
||||
tgt.setValue(org.hl7.fhir.r5.model.Enumerations.ConceptMapRelationship.SOURCEISNARROWERTHANTARGET);
|
||||
break;
|
||||
case SUBSUMES:
|
||||
tgt.setValue(org.hl7.fhir.r5.model.Enumerations.ConceptMapRelationship.SOURCENARROWERTARGET);
|
||||
tgt.setValue(org.hl7.fhir.r5.model.Enumerations.ConceptMapRelationship.SOURCEISNARROWERTHANTARGET);
|
||||
break;
|
||||
case NARROWER:
|
||||
tgt.setValue(org.hl7.fhir.r5.model.Enumerations.ConceptMapRelationship.SOURCEBROADERTARGET);
|
||||
tgt.setValue(org.hl7.fhir.r5.model.Enumerations.ConceptMapRelationship.SOURCEISBROADERTHANTARGET);
|
||||
break;
|
||||
case SPECIALIZES:
|
||||
tgt.setValue(org.hl7.fhir.r5.model.Enumerations.ConceptMapRelationship.SOURCEBROADERTARGET);
|
||||
tgt.setValue(org.hl7.fhir.r5.model.Enumerations.ConceptMapRelationship.SOURCEISBROADERTHANTARGET);
|
||||
break;
|
||||
case INEXACT:
|
||||
tgt.setValue(org.hl7.fhir.r5.model.Enumerations.ConceptMapRelationship.RELATEDTO);
|
||||
|
|
|
@ -18,16 +18,16 @@ public class DeviceUseStatement30_50 {
|
|||
tgt.setSubject(VersionConvertor_30_50.convertReference(src.getSubject()));
|
||||
if (src.hasTiming())
|
||||
tgt.setTiming(VersionConvertor_30_50.convertType(src.getTiming()));
|
||||
if (src.hasRecordedOn())
|
||||
tgt.setRecordedOnElement(VersionConvertor_30_50.convertDateTime(src.getRecordedOnElement()));
|
||||
if (src.hasSource())
|
||||
tgt.setSource(VersionConvertor_30_50.convertReference(src.getSource()));
|
||||
if (src.hasDevice())
|
||||
tgt.setDevice(VersionConvertor_30_50.convertReference(src.getDevice()));
|
||||
if (src.hasDateAsserted())
|
||||
tgt.setRecordedOnElement(VersionConvertor_30_50.convertDateTime(src.getDateAssertedElement()));
|
||||
if (src.hasInformationSource())
|
||||
tgt.setSource(VersionConvertor_30_50.convertReference(src.getInformationSource()));
|
||||
if (src.getDevice().hasReference())
|
||||
tgt.setDevice(VersionConvertor_30_50.convertReference(src.getDevice().getReference()));
|
||||
for (CodeableReference t : src.getReason()) if (t.hasConcept())
|
||||
tgt.addIndication(VersionConvertor_30_50.convertCodeableConcept(t.getConcept()));
|
||||
if (src.hasBodySite())
|
||||
tgt.setBodySite(VersionConvertor_30_50.convertCodeableConcept(src.getBodySite()));
|
||||
if (src.getBodySite().hasConcept())
|
||||
tgt.setBodySite(VersionConvertor_30_50.convertCodeableConcept(src.getBodySite().getConcept()));
|
||||
for (org.hl7.fhir.r5.model.Annotation t : src.getNote()) tgt.addNote(VersionConvertor_30_50.convertAnnotation(t));
|
||||
return tgt;
|
||||
}
|
||||
|
@ -45,14 +45,14 @@ public class DeviceUseStatement30_50 {
|
|||
if (src.hasTiming())
|
||||
tgt.setTiming(VersionConvertor_30_50.convertType(src.getTiming()));
|
||||
if (src.hasRecordedOn())
|
||||
tgt.setRecordedOnElement(VersionConvertor_30_50.convertDateTime(src.getRecordedOnElement()));
|
||||
tgt.setDateAssertedElement(VersionConvertor_30_50.convertDateTime(src.getRecordedOnElement()));
|
||||
if (src.hasSource())
|
||||
tgt.setSource(VersionConvertor_30_50.convertReference(src.getSource()));
|
||||
tgt.setInformationSource(VersionConvertor_30_50.convertReference(src.getSource()));
|
||||
if (src.hasDevice())
|
||||
tgt.setDevice(VersionConvertor_30_50.convertReference(src.getDevice()));
|
||||
tgt.getDevice().setReference(VersionConvertor_30_50.convertReference(src.getDevice()));
|
||||
for (org.hl7.fhir.dstu3.model.CodeableConcept t : src.getIndication()) tgt.addReason(VersionConvertor_30_50.convertCodeableConceptToCodableReference(t));
|
||||
if (src.hasBodySite())
|
||||
tgt.setBodySite(VersionConvertor_30_50.convertCodeableConcept(src.getBodySite()));
|
||||
tgt.getBodySite().setConcept(VersionConvertor_30_50.convertCodeableConcept(src.getBodySite()));
|
||||
for (org.hl7.fhir.dstu3.model.Annotation t : src.getNote()) tgt.addNote(VersionConvertor_30_50.convertAnnotation(t));
|
||||
return tgt;
|
||||
}
|
||||
|
|
|
@ -48,8 +48,10 @@ public class Medication30_50 {
|
|||
return null;
|
||||
org.hl7.fhir.dstu3.model.Medication.MedicationIngredientComponent tgt = new org.hl7.fhir.dstu3.model.Medication.MedicationIngredientComponent();
|
||||
VersionConvertor_30_50.copyElement(src, tgt);
|
||||
if (src.hasItem())
|
||||
tgt.setItem(VersionConvertor_30_50.convertType(src.getItem()));
|
||||
if (src.getItem().hasConcept())
|
||||
tgt.setItem(VersionConvertor_30_50.convertType(src.getItem().getConcept()));
|
||||
if (src.getItem().hasReference())
|
||||
tgt.setItem(VersionConvertor_30_50.convertType(src.getItem().getReference()));
|
||||
if (src.hasIsActive())
|
||||
tgt.setIsActiveElement(VersionConvertor_30_50.convertBoolean(src.getIsActiveElement()));
|
||||
if (src.hasStrengthRatio())
|
||||
|
@ -62,8 +64,10 @@ public class Medication30_50 {
|
|||
return null;
|
||||
org.hl7.fhir.r5.model.Medication.MedicationIngredientComponent tgt = new org.hl7.fhir.r5.model.Medication.MedicationIngredientComponent();
|
||||
VersionConvertor_30_50.copyElement(src, tgt);
|
||||
if (src.hasItem())
|
||||
tgt.setItem(VersionConvertor_30_50.convertType(src.getItem()));
|
||||
if (src.hasItemCodeableConcept())
|
||||
tgt.getItem().setConcept(VersionConvertor_30_50.convertCodeableConcept(src.getItemCodeableConcept()));
|
||||
if (src.hasItemReference())
|
||||
tgt.getItem().setReference(VersionConvertor_30_50.convertReference(src.getItemReference()));
|
||||
if (src.hasIsActive())
|
||||
tgt.setIsActiveElement(VersionConvertor_30_50.convertBoolean(src.getIsActiveElement()));
|
||||
if (src.hasAmount())
|
||||
|
|
|
@ -19,8 +19,10 @@ public class MedicationAdministration30_50 {
|
|||
tgt.setStatusElement(convertMedicationAdministrationStatus(src.getStatusElement()));
|
||||
if (src.hasCategory())
|
||||
tgt.setCategory(VersionConvertor_30_50.convertCodeableConcept(src.getCategoryFirstRep()));
|
||||
if (src.hasMedication())
|
||||
tgt.setMedication(VersionConvertor_30_50.convertType(src.getMedication()));
|
||||
if (src.getMedication().hasConcept())
|
||||
tgt.setMedication(VersionConvertor_30_50.convertType(src.getMedication().getConcept()));
|
||||
if (src.getMedication().hasReference())
|
||||
tgt.setMedication(VersionConvertor_30_50.convertType(src.getMedication().getReference()));
|
||||
if (src.hasSubject())
|
||||
tgt.setSubject(VersionConvertor_30_50.convertReference(src.getSubject()));
|
||||
if (src.hasEncounter())
|
||||
|
@ -55,8 +57,10 @@ public class MedicationAdministration30_50 {
|
|||
tgt.setStatusElement(convertMedicationAdministrationStatus(src.getStatusElement()));
|
||||
if (src.hasCategory())
|
||||
tgt.addCategory(VersionConvertor_30_50.convertCodeableConcept(src.getCategory()));
|
||||
if (src.hasMedication())
|
||||
tgt.setMedication(VersionConvertor_30_50.convertType(src.getMedication()));
|
||||
if (src.hasMedicationCodeableConcept())
|
||||
tgt.getMedication().setConcept(VersionConvertor_30_50.convertCodeableConcept(src.getMedicationCodeableConcept()));
|
||||
if (src.hasMedicationReference())
|
||||
tgt.getMedication().setReference(VersionConvertor_30_50.convertReference(src.getMedicationReference()));
|
||||
if (src.hasSubject())
|
||||
tgt.setSubject(VersionConvertor_30_50.convertReference(src.getSubject()));
|
||||
if (src.hasContext())
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
package org.hl7.fhir.convertors.conv30_50;
|
||||
|
||||
import org.hl7.fhir.convertors.VersionConvertor_10_50;
|
||||
import org.hl7.fhir.convertors.VersionConvertor_30_50;
|
||||
import org.hl7.fhir.exceptions.FHIRException;
|
||||
|
||||
|
@ -16,8 +17,10 @@ public class MedicationDispense30_50 {
|
|||
tgt.setStatusElement(convertMedicationDispenseStatus(src.getStatusElement()));
|
||||
if (src.hasCategory())
|
||||
tgt.setCategory(VersionConvertor_30_50.convertCodeableConcept(src.getCategoryFirstRep()));
|
||||
if (src.hasMedication())
|
||||
tgt.setMedication(VersionConvertor_30_50.convertType(src.getMedication()));
|
||||
if (src.getMedication().hasConcept())
|
||||
tgt.setMedication(VersionConvertor_30_50.convertType(src.getMedication().getConcept()));
|
||||
if (src.getMedication().hasReference())
|
||||
tgt.setMedication(VersionConvertor_30_50.convertType(src.getMedication().getReference()));
|
||||
if (src.hasSubject())
|
||||
tgt.setSubject(VersionConvertor_30_50.convertReference(src.getSubject()));
|
||||
if (src.hasEncounter())
|
||||
|
@ -58,8 +61,10 @@ public class MedicationDispense30_50 {
|
|||
tgt.setStatusElement(convertMedicationDispenseStatus(src.getStatusElement()));
|
||||
if (src.hasCategory())
|
||||
tgt.addCategory(VersionConvertor_30_50.convertCodeableConcept(src.getCategory()));
|
||||
if (src.hasMedication())
|
||||
tgt.setMedication(VersionConvertor_30_50.convertType(src.getMedication()));
|
||||
if (src.hasMedicationCodeableConcept())
|
||||
tgt.getMedication().setConcept(VersionConvertor_30_50.convertCodeableConcept(src.getMedicationCodeableConcept()));
|
||||
if (src.hasMedicationReference())
|
||||
tgt.getMedication().setReference(VersionConvertor_30_50.convertReference(src.getMedicationReference()));
|
||||
if (src.hasSubject())
|
||||
tgt.setSubject(VersionConvertor_30_50.convertReference(src.getSubject()));
|
||||
if (src.hasContext())
|
||||
|
|
|
@ -21,8 +21,10 @@ public class MedicationRequest30_50 {
|
|||
tgt.setIntentElement(convertMedicationRequestIntent(src.getIntentElement()));
|
||||
if (src.hasPriority())
|
||||
tgt.setPriorityElement(convertMedicationRequestPriority(src.getPriorityElement()));
|
||||
if (src.hasMedication())
|
||||
tgt.setMedication(VersionConvertor_30_50.convertType(src.getMedication()));
|
||||
if (src.getMedication().hasConcept())
|
||||
tgt.setMedication(VersionConvertor_30_50.convertType(src.getMedication().getConcept()));
|
||||
if (src.getMedication().hasReference())
|
||||
tgt.setMedication(VersionConvertor_30_50.convertType(src.getMedication().getReference()));
|
||||
if (src.hasSubject())
|
||||
tgt.setSubject(VersionConvertor_30_50.convertReference(src.getSubject()));
|
||||
if (src.hasEncounter())
|
||||
|
@ -68,8 +70,10 @@ public class MedicationRequest30_50 {
|
|||
tgt.setIntentElement(convertMedicationRequestIntent(src.getIntentElement()));
|
||||
if (src.hasPriority())
|
||||
tgt.setPriorityElement(convertMedicationRequestPriority(src.getPriorityElement()));
|
||||
if (src.hasMedication())
|
||||
tgt.setMedication(VersionConvertor_30_50.convertType(src.getMedication()));
|
||||
if (src.hasMedicationCodeableConcept())
|
||||
tgt.getMedication().setConcept(VersionConvertor_30_50.convertCodeableConcept(src.getMedicationCodeableConcept()));
|
||||
if (src.hasMedicationReference())
|
||||
tgt.getMedication().setReference(VersionConvertor_30_50.convertReference(src.getMedicationReference()));
|
||||
if (src.hasSubject())
|
||||
tgt.setSubject(VersionConvertor_30_50.convertReference(src.getSubject()));
|
||||
if (src.hasContext())
|
||||
|
|
|
@ -20,8 +20,12 @@ public class MedicationStatement30_50 {
|
|||
tgt.setStatusElement(convertMedicationStatementStatus(src.getStatusElement()));
|
||||
if (src.hasCategory())
|
||||
tgt.addCategory(VersionConvertor_30_50.convertCodeableConcept(src.getCategory()));
|
||||
if (src.hasMedication())
|
||||
tgt.setMedication(VersionConvertor_30_50.convertType(src.getMedication()));
|
||||
if (src.hasMedicationCodeableConcept()) {
|
||||
tgt.getMedication().setConcept(VersionConvertor_30_50.convertCodeableConcept(src.getMedicationCodeableConcept()));
|
||||
}
|
||||
if (src.hasMedicationReference()) {
|
||||
tgt.getMedication().setReference(VersionConvertor_30_50.convertReference(src.getMedicationReference()));
|
||||
}
|
||||
if (src.hasEffective())
|
||||
tgt.setEffective(VersionConvertor_30_50.convertType(src.getEffective()));
|
||||
if (src.hasDateAsserted())
|
||||
|
@ -52,8 +56,12 @@ public class MedicationStatement30_50 {
|
|||
tgt.setStatusElement(convertMedicationStatementStatus(src.getStatusElement()));
|
||||
if (src.hasCategory())
|
||||
tgt.setCategory(VersionConvertor_30_50.convertCodeableConcept(src.getCategoryFirstRep()));
|
||||
if (src.hasMedication())
|
||||
tgt.setMedication(VersionConvertor_30_50.convertType(src.getMedication()));
|
||||
if (src.getMedication().hasConcept()) {
|
||||
tgt.setMedication(VersionConvertor_30_50.convertType(src.getMedication().getConcept()));
|
||||
}
|
||||
if (src.getMedication().hasReference()) {
|
||||
tgt.setMedication(VersionConvertor_30_50.convertType(src.getMedication().getReference()));
|
||||
}
|
||||
if (src.hasEffective())
|
||||
tgt.setEffective(VersionConvertor_30_50.convertType(src.getEffective()));
|
||||
if (src.hasDateAsserted())
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
package org.hl7.fhir.convertors.conv40_50;
|
||||
|
||||
import org.hl7.fhir.convertors.VersionConvertor_30_50;
|
||||
/*-
|
||||
* #%L
|
||||
* org.hl7.fhir.convertors
|
||||
|
@ -68,9 +69,9 @@ public class AuditEvent40_50 extends VersionConvertor_40_50 {
|
|||
if (src.hasRecorded())
|
||||
tgt.setRecordedElement(convertInstant(src.getRecordedElement()));
|
||||
if (src.hasOutcome())
|
||||
tgt.setOutcomeElement(convertAuditEventOutcome(src.getOutcomeElement()));
|
||||
tgt.getOutcome().addCoding().setSystem("http://terminology.hl7.org/CodeSystem/audit-event-outcome").setCode(src.getOutcome().toCode());
|
||||
if (src.hasOutcomeDesc())
|
||||
tgt.setOutcomeDescElement(convertString(src.getOutcomeDescElement()));
|
||||
tgt.getOutcome().setTextElement(convertString(src.getOutcomeDescElement()));
|
||||
for (org.hl7.fhir.r4.model.CodeableConcept t : src.getPurposeOfEvent()) tgt.addPurposeOfEvent(convertCodeableConcept(t));
|
||||
for (org.hl7.fhir.r4.model.AuditEvent.AuditEventAgentComponent t : src.getAgent()) tgt.addAgent(convertAuditEventAgentComponent(t));
|
||||
if (src.hasSource())
|
||||
|
@ -93,10 +94,10 @@ public class AuditEvent40_50 extends VersionConvertor_40_50 {
|
|||
tgt.setPeriod(convertPeriod(src.getPeriod()));
|
||||
if (src.hasRecorded())
|
||||
tgt.setRecordedElement(convertInstant(src.getRecordedElement()));
|
||||
if (src.hasOutcome())
|
||||
tgt.setOutcomeElement(convertAuditEventOutcome(src.getOutcomeElement()));
|
||||
if (src.hasOutcomeDesc())
|
||||
tgt.setOutcomeDescElement(convertString(src.getOutcomeDescElement()));
|
||||
if (src.hasOutcome() && src.getOutcome().hasCoding("http://terminology.hl7.org/CodeSystem/audit-event-outcome"))
|
||||
tgt.getOutcomeElement().setValueAsString(src.getOutcome().getCode("http://terminology.hl7.org/CodeSystem/audit-event-outcome"));
|
||||
if (src.getOutcome().hasText())
|
||||
tgt.setOutcomeDescElement(VersionConvertor_40_50.convertString(src.getOutcome().getTextElement()));
|
||||
for (org.hl7.fhir.r5.model.CodeableConcept t : src.getPurposeOfEvent()) tgt.addPurposeOfEvent(convertCodeableConcept(t));
|
||||
for (org.hl7.fhir.r5.model.AuditEvent.AuditEventAgentComponent t : src.getAgent()) tgt.addAgent(convertAuditEventAgentComponent(t));
|
||||
if (src.hasSource())
|
||||
|
@ -161,55 +162,6 @@ public class AuditEvent40_50 extends VersionConvertor_40_50 {
|
|||
return tgt;
|
||||
}
|
||||
|
||||
static public org.hl7.fhir.r5.model.Enumeration<org.hl7.fhir.r5.model.AuditEvent.AuditEventOutcome> convertAuditEventOutcome(org.hl7.fhir.r4.model.Enumeration<org.hl7.fhir.r4.model.AuditEvent.AuditEventOutcome> src) throws FHIRException {
|
||||
if (src == null || src.isEmpty())
|
||||
return null;
|
||||
org.hl7.fhir.r5.model.Enumeration<org.hl7.fhir.r5.model.AuditEvent.AuditEventOutcome> tgt = new org.hl7.fhir.r5.model.Enumeration<>(new org.hl7.fhir.r5.model.AuditEvent.AuditEventOutcomeEnumFactory());
|
||||
VersionConvertor_40_50.copyElement(src, tgt);
|
||||
switch(src.getValue()) {
|
||||
case _0:
|
||||
tgt.setValue(org.hl7.fhir.r5.model.AuditEvent.AuditEventOutcome._0);
|
||||
break;
|
||||
case _4:
|
||||
tgt.setValue(org.hl7.fhir.r5.model.AuditEvent.AuditEventOutcome._4);
|
||||
break;
|
||||
case _8:
|
||||
tgt.setValue(org.hl7.fhir.r5.model.AuditEvent.AuditEventOutcome._8);
|
||||
break;
|
||||
case _12:
|
||||
tgt.setValue(org.hl7.fhir.r5.model.AuditEvent.AuditEventOutcome._12);
|
||||
break;
|
||||
default:
|
||||
tgt.setValue(org.hl7.fhir.r5.model.AuditEvent.AuditEventOutcome.NULL);
|
||||
break;
|
||||
}
|
||||
return tgt;
|
||||
}
|
||||
|
||||
static public org.hl7.fhir.r4.model.Enumeration<org.hl7.fhir.r4.model.AuditEvent.AuditEventOutcome> convertAuditEventOutcome(org.hl7.fhir.r5.model.Enumeration<org.hl7.fhir.r5.model.AuditEvent.AuditEventOutcome> src) throws FHIRException {
|
||||
if (src == null || src.isEmpty())
|
||||
return null;
|
||||
org.hl7.fhir.r4.model.Enumeration<org.hl7.fhir.r4.model.AuditEvent.AuditEventOutcome> tgt = new org.hl7.fhir.r4.model.Enumeration<>(new org.hl7.fhir.r4.model.AuditEvent.AuditEventOutcomeEnumFactory());
|
||||
VersionConvertor_40_50.copyElement(src, tgt);
|
||||
switch(src.getValue()) {
|
||||
case _0:
|
||||
tgt.setValue(org.hl7.fhir.r4.model.AuditEvent.AuditEventOutcome._0);
|
||||
break;
|
||||
case _4:
|
||||
tgt.setValue(org.hl7.fhir.r4.model.AuditEvent.AuditEventOutcome._4);
|
||||
break;
|
||||
case _8:
|
||||
tgt.setValue(org.hl7.fhir.r4.model.AuditEvent.AuditEventOutcome._8);
|
||||
break;
|
||||
case _12:
|
||||
tgt.setValue(org.hl7.fhir.r4.model.AuditEvent.AuditEventOutcome._12);
|
||||
break;
|
||||
default:
|
||||
tgt.setValue(org.hl7.fhir.r4.model.AuditEvent.AuditEventOutcome.NULL);
|
||||
break;
|
||||
}
|
||||
return tgt;
|
||||
}
|
||||
|
||||
public static org.hl7.fhir.r5.model.AuditEvent.AuditEventAgentComponent convertAuditEventAgentComponent(org.hl7.fhir.r4.model.AuditEvent.AuditEventAgentComponent src) throws FHIRException {
|
||||
if (src == null)
|
||||
|
|
|
@ -308,7 +308,7 @@ public class CarePlan40_50 extends VersionConvertor_40_50 {
|
|||
if (src.hasScheduled())
|
||||
tgt.setScheduled(convertType(src.getScheduled()));
|
||||
if (src.hasLocation())
|
||||
tgt.setLocation(convertReference(src.getLocation()));
|
||||
tgt.getLocation().setReference(convertReference(src.getLocation()));
|
||||
for (org.hl7.fhir.r4.model.Reference t : src.getPerformer()) tgt.addPerformer(convertReference(t));
|
||||
if (src.hasProduct())
|
||||
tgt.setProduct(convertType(src.getProduct()));
|
||||
|
@ -345,8 +345,8 @@ public class CarePlan40_50 extends VersionConvertor_40_50 {
|
|||
tgt.setDoNotPerformElement(convertBoolean(src.getDoNotPerformElement()));
|
||||
if (src.hasScheduled())
|
||||
tgt.setScheduled(convertType(src.getScheduled()));
|
||||
if (src.hasLocation())
|
||||
tgt.setLocation(convertReference(src.getLocation()));
|
||||
if (src.getLocation().hasReference())
|
||||
tgt.setLocation(convertReference(src.getLocation().getReference()));
|
||||
for (org.hl7.fhir.r5.model.Reference t : src.getPerformer()) tgt.addPerformer(convertReference(t));
|
||||
if (src.hasProduct())
|
||||
tgt.setProduct(convertType(src.getProduct()));
|
||||
|
|
|
@ -262,10 +262,10 @@ public class ConceptMap40_50 extends VersionConvertor_40_50 {
|
|||
case EQUIVALENT:
|
||||
tgt.setValue(org.hl7.fhir.r4.model.Enumerations.ConceptMapEquivalence.EQUIVALENT);
|
||||
break;
|
||||
case SOURCENARROWERTARGET:
|
||||
case SOURCEISNARROWERTHANTARGET:
|
||||
tgt.setValue(org.hl7.fhir.r4.model.Enumerations.ConceptMapEquivalence.WIDER);
|
||||
break;
|
||||
case SOURCEBROADERTARGET:
|
||||
case SOURCEISBROADERTHANTARGET:
|
||||
tgt.setValue(org.hl7.fhir.r4.model.Enumerations.ConceptMapEquivalence.NARROWER);
|
||||
break;
|
||||
case NOTRELATEDTO:
|
||||
|
@ -293,16 +293,16 @@ public class ConceptMap40_50 extends VersionConvertor_40_50 {
|
|||
tgt.setValue(org.hl7.fhir.r5.model.Enumerations.ConceptMapRelationship.EQUIVALENT);
|
||||
break;
|
||||
case WIDER:
|
||||
tgt.setValue(org.hl7.fhir.r5.model.Enumerations.ConceptMapRelationship.SOURCENARROWERTARGET);
|
||||
tgt.setValue(org.hl7.fhir.r5.model.Enumerations.ConceptMapRelationship.SOURCEISNARROWERTHANTARGET);
|
||||
break;
|
||||
case SUBSUMES:
|
||||
tgt.setValue(org.hl7.fhir.r5.model.Enumerations.ConceptMapRelationship.SOURCENARROWERTARGET);
|
||||
tgt.setValue(org.hl7.fhir.r5.model.Enumerations.ConceptMapRelationship.SOURCEISNARROWERTHANTARGET);
|
||||
break;
|
||||
case NARROWER:
|
||||
tgt.setValue(org.hl7.fhir.r5.model.Enumerations.ConceptMapRelationship.SOURCEBROADERTARGET);
|
||||
tgt.setValue(org.hl7.fhir.r5.model.Enumerations.ConceptMapRelationship.SOURCEISBROADERTHANTARGET);
|
||||
break;
|
||||
case SPECIALIZES:
|
||||
tgt.setValue(org.hl7.fhir.r5.model.Enumerations.ConceptMapRelationship.SOURCEBROADERTARGET);
|
||||
tgt.setValue(org.hl7.fhir.r5.model.Enumerations.ConceptMapRelationship.SOURCEISBROADERTHANTARGET);
|
||||
break;
|
||||
case RELATEDTO:
|
||||
tgt.setValue(org.hl7.fhir.r5.model.Enumerations.ConceptMapRelationship.RELATEDTO);
|
||||
|
|
|
@ -65,7 +65,7 @@ public class Consent40_50 extends VersionConvertor_40_50 {
|
|||
tgt.setScope(convertCodeableConcept(src.getScope()));
|
||||
for (org.hl7.fhir.r4.model.CodeableConcept t : src.getCategory()) tgt.addCategory(convertCodeableConcept(t));
|
||||
if (src.hasPatient())
|
||||
tgt.setPatient(convertReference(src.getPatient()));
|
||||
tgt.setSubject(convertReference(src.getPatient()));
|
||||
if (src.hasDateTime())
|
||||
tgt.setDateTimeElement(convertDateTime(src.getDateTimeElement()));
|
||||
for (org.hl7.fhir.r4.model.Reference t : src.getPerformer()) tgt.addPerformer(convertReference(t));
|
||||
|
@ -94,8 +94,8 @@ public class Consent40_50 extends VersionConvertor_40_50 {
|
|||
if (src.hasScope())
|
||||
tgt.setScope(convertCodeableConcept(src.getScope()));
|
||||
for (org.hl7.fhir.r5.model.CodeableConcept t : src.getCategory()) tgt.addCategory(convertCodeableConcept(t));
|
||||
if (src.hasPatient())
|
||||
tgt.setPatient(convertReference(src.getPatient()));
|
||||
if (src.hasSubject())
|
||||
tgt.setPatient(convertReference(src.getSubject()));
|
||||
if (src.hasDateTime())
|
||||
tgt.setDateTimeElement(convertDateTime(src.getDateTimeElement()));
|
||||
for (org.hl7.fhir.r5.model.Reference t : src.getPerformer()) tgt.addPerformer(convertReference(t));
|
||||
|
|
|
@ -83,7 +83,7 @@ public class Device40_50 extends VersionConvertor_40_50 {
|
|||
if (src.hasPartNumber())
|
||||
tgt.setPartNumberElement(convertString(src.getPartNumberElement()));
|
||||
if (src.hasType())
|
||||
tgt.setType(convertCodeableConcept(src.getType()));
|
||||
tgt.addType(convertCodeableConcept(src.getType()));
|
||||
for (org.hl7.fhir.r4.model.Device.DeviceSpecializationComponent t : src.getSpecialization()) tgt.addSpecialization(convertDeviceSpecializationComponent(t));
|
||||
for (org.hl7.fhir.r4.model.Device.DeviceVersionComponent t : src.getVersion()) tgt.addVersion(convertDeviceVersionComponent(t));
|
||||
for (org.hl7.fhir.r4.model.Device.DevicePropertyComponent t : src.getProperty()) tgt.addProperty(convertDevicePropertyComponent(t));
|
||||
|
@ -133,7 +133,7 @@ public class Device40_50 extends VersionConvertor_40_50 {
|
|||
if (src.hasPartNumber())
|
||||
tgt.setPartNumberElement(convertString(src.getPartNumberElement()));
|
||||
if (src.hasType())
|
||||
tgt.setType(convertCodeableConcept(src.getType()));
|
||||
tgt.setType(convertCodeableConcept(src.getTypeFirstRep()));
|
||||
for (org.hl7.fhir.r5.model.Device.DeviceSpecializationComponent t : src.getSpecialization()) tgt.addSpecialization(convertDeviceSpecializationComponent(t));
|
||||
for (org.hl7.fhir.r5.model.Device.DeviceVersionComponent t : src.getVersion()) tgt.addVersion(convertDeviceVersionComponent(t));
|
||||
for (org.hl7.fhir.r5.model.Device.DevicePropertyComponent t : src.getProperty()) tgt.addProperty(convertDevicePropertyComponent(t));
|
||||
|
|
|
@ -79,8 +79,6 @@ public class DeviceDefinition40_50 extends VersionConvertor_40_50 {
|
|||
if (src.hasOwner())
|
||||
tgt.setOwner(convertReference(src.getOwner()));
|
||||
for (org.hl7.fhir.r4.model.ContactPoint t : src.getContact()) tgt.addContact(convertContactPoint(t));
|
||||
if (src.hasUrl())
|
||||
tgt.setUrlElement(convertUri(src.getUrlElement()));
|
||||
if (src.hasOnlineInformation())
|
||||
tgt.setOnlineInformationElement(convertUri(src.getOnlineInformationElement()));
|
||||
for (org.hl7.fhir.r4.model.Annotation t : src.getNote()) tgt.addNote(convertAnnotation(t));
|
||||
|
@ -118,8 +116,6 @@ public class DeviceDefinition40_50 extends VersionConvertor_40_50 {
|
|||
if (src.hasOwner())
|
||||
tgt.setOwner(convertReference(src.getOwner()));
|
||||
for (org.hl7.fhir.r5.model.ContactPoint t : src.getContact()) tgt.addContact(convertContactPoint(t));
|
||||
if (src.hasUrl())
|
||||
tgt.setUrlElement(convertUri(src.getUrlElement()));
|
||||
if (src.hasOnlineInformation())
|
||||
tgt.setOnlineInformationElement(convertUri(src.getOnlineInformationElement()));
|
||||
for (org.hl7.fhir.r5.model.Annotation t : src.getNote()) tgt.addNote(convertAnnotation(t));
|
||||
|
|
|
@ -72,8 +72,11 @@ public class DeviceRequest40_50 extends VersionConvertor_40_50 {
|
|||
tgt.setIntentElement(convertRequestIntent(src.getIntentElement()));
|
||||
if (src.hasPriority())
|
||||
tgt.setPriorityElement(convertRequestPriority(src.getPriorityElement()));
|
||||
if (src.hasCode())
|
||||
tgt.setCode(convertType(src.getCode()));
|
||||
if (src.hasCodeCodeableConcept())
|
||||
tgt.getCode().setConcept(convertCodeableConcept(src.getCodeCodeableConcept()));
|
||||
else if (src.hasCodeReference())
|
||||
tgt.getCode().setReference(convertReference(src.getCodeReference()));
|
||||
|
||||
for (org.hl7.fhir.r4.model.DeviceRequest.DeviceRequestParameterComponent t : src.getParameter()) tgt.addParameter(convertDeviceRequestParameterComponent(t));
|
||||
if (src.hasSubject())
|
||||
tgt.setSubject(convertReference(src.getSubject()));
|
||||
|
@ -116,8 +119,10 @@ public class DeviceRequest40_50 extends VersionConvertor_40_50 {
|
|||
tgt.setIntentElement(convertRequestIntent(src.getIntentElement()));
|
||||
if (src.hasPriority())
|
||||
tgt.setPriorityElement(convertRequestPriority(src.getPriorityElement()));
|
||||
if (src.hasCode())
|
||||
tgt.setCode(convertType(src.getCode()));
|
||||
if (src.getCode().hasConcept())
|
||||
tgt.setCode(convertType(src.getCode().getConcept()));
|
||||
if (src.getCode().hasReference())
|
||||
tgt.setCode(convertType(src.getCode().getReference()));
|
||||
for (org.hl7.fhir.r5.model.DeviceRequest.DeviceRequestParameterComponent t : src.getParameter()) tgt.addParameter(convertDeviceRequestParameterComponent(t));
|
||||
if (src.hasSubject())
|
||||
tgt.setSubject(convertReference(src.getSubject()));
|
||||
|
|
|
@ -69,15 +69,15 @@ public class DeviceUseStatement40_50 extends VersionConvertor_40_50 {
|
|||
if (src.hasTiming())
|
||||
tgt.setTiming(convertType(src.getTiming()));
|
||||
if (src.hasRecordedOn())
|
||||
tgt.setRecordedOnElement(convertDateTime(src.getRecordedOnElement()));
|
||||
tgt.setDateAssertedElement(convertDateTime(src.getRecordedOnElement()));
|
||||
if (src.hasSource())
|
||||
tgt.setSource(convertReference(src.getSource()));
|
||||
tgt.setInformationSource(convertReference(src.getSource()));
|
||||
if (src.hasDevice())
|
||||
tgt.setDevice(convertReference(src.getDevice()));
|
||||
tgt.getDevice().setReference(convertReference(src.getDevice()));
|
||||
for (org.hl7.fhir.r4.model.CodeableConcept t : src.getReasonCode()) tgt.addReason(convertCodeableConceptToCodeableReference(t));
|
||||
for (org.hl7.fhir.r4.model.Reference t : src.getReasonReference()) tgt.addReason(convertReferenceToCodeableReference(t));
|
||||
if (src.hasBodySite())
|
||||
tgt.setBodySite(convertCodeableConcept(src.getBodySite()));
|
||||
tgt.getBodySite().setConcept(convertCodeableConcept(src.getBodySite()));
|
||||
for (org.hl7.fhir.r4.model.Annotation t : src.getNote()) tgt.addNote(convertAnnotation(t));
|
||||
return tgt;
|
||||
}
|
||||
|
@ -96,18 +96,18 @@ public class DeviceUseStatement40_50 extends VersionConvertor_40_50 {
|
|||
for (org.hl7.fhir.r5.model.Reference t : src.getDerivedFrom()) tgt.addDerivedFrom(convertReference(t));
|
||||
if (src.hasTiming())
|
||||
tgt.setTiming(convertType(src.getTiming()));
|
||||
if (src.hasRecordedOn())
|
||||
tgt.setRecordedOnElement(convertDateTime(src.getRecordedOnElement()));
|
||||
if (src.hasSource())
|
||||
tgt.setSource(convertReference(src.getSource()));
|
||||
if (src.hasDevice())
|
||||
tgt.setDevice(convertReference(src.getDevice()));
|
||||
if (src.hasDateAsserted())
|
||||
tgt.setRecordedOnElement(convertDateTime(src.getDateAssertedElement()));
|
||||
if (src.hasInformationSource())
|
||||
tgt.setSource(convertReference(src.getInformationSource()));
|
||||
if (src.getDevice().hasReference())
|
||||
tgt.setDevice(convertReference(src.getDevice().getReference()));
|
||||
for (CodeableReference t : src.getReason()) if (t.hasConcept())
|
||||
tgt.addReasonCode(convertCodeableConcept(t.getConcept()));
|
||||
for (CodeableReference t : src.getReason()) if (t.hasReference())
|
||||
tgt.addReasonReference(convertReference(t.getReference()));
|
||||
if (src.hasBodySite())
|
||||
tgt.setBodySite(convertCodeableConcept(src.getBodySite()));
|
||||
if (src.getBodySite().hasConcept())
|
||||
tgt.setBodySite(convertCodeableConcept(src.getBodySite().getConcept()));
|
||||
for (org.hl7.fhir.r5.model.Annotation t : src.getNote()) tgt.addNote(convertAnnotation(t));
|
||||
return tgt;
|
||||
}
|
||||
|
|
|
@ -457,16 +457,16 @@ public class Enumerations40_50 extends VersionConvertor_40_50 {
|
|||
tgt.setValue(org.hl7.fhir.r5.model.Enumerations.ConceptMapRelationship.EQUIVALENT);
|
||||
break;
|
||||
case WIDER:
|
||||
tgt.setValue(org.hl7.fhir.r5.model.Enumerations.ConceptMapRelationship.SOURCENARROWERTARGET);
|
||||
tgt.setValue(org.hl7.fhir.r5.model.Enumerations.ConceptMapRelationship.SOURCEISNARROWERTHANTARGET);
|
||||
break;
|
||||
case SUBSUMES:
|
||||
tgt.setValue(org.hl7.fhir.r5.model.Enumerations.ConceptMapRelationship.SOURCENARROWERTARGET);
|
||||
tgt.setValue(org.hl7.fhir.r5.model.Enumerations.ConceptMapRelationship.SOURCEISNARROWERTHANTARGET);
|
||||
break;
|
||||
case NARROWER:
|
||||
tgt.setValue(org.hl7.fhir.r5.model.Enumerations.ConceptMapRelationship.SOURCEBROADERTARGET);
|
||||
tgt.setValue(org.hl7.fhir.r5.model.Enumerations.ConceptMapRelationship.SOURCEISBROADERTHANTARGET);
|
||||
break;
|
||||
case SPECIALIZES:
|
||||
tgt.setValue(org.hl7.fhir.r5.model.Enumerations.ConceptMapRelationship.SOURCEBROADERTARGET);
|
||||
tgt.setValue(org.hl7.fhir.r5.model.Enumerations.ConceptMapRelationship.SOURCEISBROADERTHANTARGET);
|
||||
break;
|
||||
case INEXACT:
|
||||
tgt.setValue(org.hl7.fhir.r5.model.Enumerations.ConceptMapRelationship.RELATEDTO);
|
||||
|
@ -496,10 +496,10 @@ public class Enumerations40_50 extends VersionConvertor_40_50 {
|
|||
case EQUIVALENT:
|
||||
tgt.setValue(org.hl7.fhir.r4.model.Enumerations.ConceptMapEquivalence.EQUIVALENT);
|
||||
break;
|
||||
case SOURCENARROWERTARGET:
|
||||
case SOURCEISNARROWERTHANTARGET:
|
||||
tgt.setValue(org.hl7.fhir.r4.model.Enumerations.ConceptMapEquivalence.WIDER);
|
||||
break;
|
||||
case SOURCEBROADERTARGET:
|
||||
case SOURCEISBROADERTHANTARGET:
|
||||
tgt.setValue(org.hl7.fhir.r4.model.Enumerations.ConceptMapEquivalence.NARROWER);
|
||||
break;
|
||||
case NOTRELATEDTO:
|
||||
|
|
|
@ -303,9 +303,9 @@ public class Immunization40_50 extends VersionConvertor_40_50 {
|
|||
tgt.setAuthority(convertReference(src.getAuthority()));
|
||||
for (org.hl7.fhir.r4.model.CodeableConcept t : src.getTargetDisease()) tgt.addTargetDisease(convertCodeableConcept(t));
|
||||
if (src.hasDoseNumber())
|
||||
tgt.setDoseNumber(convertType(src.getDoseNumber()));
|
||||
tgt.setDoseNumber(src.getDoseNumber().primitiveValue());
|
||||
if (src.hasSeriesDoses())
|
||||
tgt.setSeriesDoses(convertType(src.getSeriesDoses()));
|
||||
tgt.setSeriesDoses(src.getSeriesDoses().primitiveValue());
|
||||
return tgt;
|
||||
}
|
||||
|
||||
|
@ -320,9 +320,9 @@ public class Immunization40_50 extends VersionConvertor_40_50 {
|
|||
tgt.setAuthority(convertReference(src.getAuthority()));
|
||||
for (org.hl7.fhir.r5.model.CodeableConcept t : src.getTargetDisease()) tgt.addTargetDisease(convertCodeableConcept(t));
|
||||
if (src.hasDoseNumber())
|
||||
tgt.setDoseNumber(convertType(src.getDoseNumber()));
|
||||
tgt.setDoseNumber(convertType(src.getDoseNumberElement()));
|
||||
if (src.hasSeriesDoses())
|
||||
tgt.setSeriesDoses(convertType(src.getSeriesDoses()));
|
||||
tgt.setSeriesDoses(convertType(src.getSeriesDosesElement()));
|
||||
return tgt;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -79,9 +79,9 @@ public class ImmunizationEvaluation40_50 extends VersionConvertor_40_50 {
|
|||
if (src.hasSeries())
|
||||
tgt.setSeriesElement(convertString(src.getSeriesElement()));
|
||||
if (src.hasDoseNumber())
|
||||
tgt.setDoseNumber(convertType(src.getDoseNumber()));
|
||||
tgt.setDoseNumber(src.getDoseNumber().primitiveValue());
|
||||
if (src.hasSeriesDoses())
|
||||
tgt.setSeriesDoses(convertType(src.getSeriesDoses()));
|
||||
tgt.setSeriesDoses(src.getSeriesDoses().primitiveValue());
|
||||
return tgt;
|
||||
}
|
||||
|
||||
|
@ -111,9 +111,9 @@ public class ImmunizationEvaluation40_50 extends VersionConvertor_40_50 {
|
|||
if (src.hasSeries())
|
||||
tgt.setSeriesElement(convertString(src.getSeriesElement()));
|
||||
if (src.hasDoseNumber())
|
||||
tgt.setDoseNumber(convertType(src.getDoseNumber()));
|
||||
tgt.setDoseNumber(convertType(src.getDoseNumberElement()));
|
||||
if (src.hasSeriesDoses())
|
||||
tgt.setSeriesDoses(convertType(src.getSeriesDoses()));
|
||||
tgt.setSeriesDoses(convertType(src.getSeriesDosesElement()));
|
||||
return tgt;
|
||||
}
|
||||
|
||||
|
|
|
@ -103,9 +103,9 @@ public class ImmunizationRecommendation40_50 extends VersionConvertor_40_50 {
|
|||
if (src.hasSeries())
|
||||
tgt.setSeriesElement(convertString(src.getSeriesElement()));
|
||||
if (src.hasDoseNumber())
|
||||
tgt.setDoseNumber(convertType(src.getDoseNumber()));
|
||||
tgt.setDoseNumber(src.getDoseNumber().primitiveValue());
|
||||
if (src.hasSeriesDoses())
|
||||
tgt.setSeriesDoses(convertType(src.getSeriesDoses()));
|
||||
tgt.setSeriesDoses(src.getSeriesDoses().primitiveValue());
|
||||
for (org.hl7.fhir.r4.model.Reference t : src.getSupportingImmunization()) tgt.addSupportingImmunization(convertReference(t));
|
||||
for (org.hl7.fhir.r4.model.Reference t : src.getSupportingPatientInformation()) tgt.addSupportingPatientInformation(convertReference(t));
|
||||
return tgt;
|
||||
|
@ -129,9 +129,9 @@ public class ImmunizationRecommendation40_50 extends VersionConvertor_40_50 {
|
|||
if (src.hasSeries())
|
||||
tgt.setSeriesElement(convertString(src.getSeriesElement()));
|
||||
if (src.hasDoseNumber())
|
||||
tgt.setDoseNumber(convertType(src.getDoseNumber()));
|
||||
tgt.setDoseNumber(convertType(src.getDoseNumberElement()));
|
||||
if (src.hasSeriesDoses())
|
||||
tgt.setSeriesDoses(convertType(src.getSeriesDoses()));
|
||||
tgt.setSeriesDoses(convertType(src.getSeriesDosesElement()));
|
||||
for (org.hl7.fhir.r5.model.Reference t : src.getSupportingImmunization()) tgt.addSupportingImmunization(convertReference(t));
|
||||
for (org.hl7.fhir.r5.model.Reference t : src.getSupportingPatientInformation()) tgt.addSupportingPatientInformation(convertReference(t));
|
||||
return tgt;
|
||||
|
|
|
@ -146,8 +146,10 @@ public class Medication40_50 extends VersionConvertor_40_50 {
|
|||
return null;
|
||||
org.hl7.fhir.r5.model.Medication.MedicationIngredientComponent tgt = new org.hl7.fhir.r5.model.Medication.MedicationIngredientComponent();
|
||||
copyElement(src, tgt);
|
||||
if (src.hasItem())
|
||||
tgt.setItem(convertType(src.getItem()));
|
||||
if (src.hasItemCodeableConcept())
|
||||
tgt.getItem().setConcept(convertCodeableConcept(src.getItemCodeableConcept()));
|
||||
if (src.hasItemReference())
|
||||
tgt.getItem().setReference(convertReference(src.getItemReference()));
|
||||
if (src.hasIsActive())
|
||||
tgt.setIsActiveElement(convertBoolean(src.getIsActiveElement()));
|
||||
if (src.hasStrength())
|
||||
|
@ -160,8 +162,10 @@ public class Medication40_50 extends VersionConvertor_40_50 {
|
|||
return null;
|
||||
org.hl7.fhir.r4.model.Medication.MedicationIngredientComponent tgt = new org.hl7.fhir.r4.model.Medication.MedicationIngredientComponent();
|
||||
copyElement(src, tgt);
|
||||
if (src.hasItem())
|
||||
tgt.setItem(convertType(src.getItem()));
|
||||
if (src.getItem().hasConcept())
|
||||
tgt.setItem(convertType(src.getItem().getConcept()));
|
||||
if (src.getItem().hasReference())
|
||||
tgt.setItem(convertType(src.getItem().getReference()));
|
||||
if (src.hasIsActive())
|
||||
tgt.setIsActiveElement(convertBoolean(src.getIsActiveElement()));
|
||||
if (src.hasStrengthRatio())
|
||||
|
|
|
@ -71,8 +71,10 @@ public class MedicationAdministration40_50 extends VersionConvertor_40_50 {
|
|||
for (org.hl7.fhir.r4.model.CodeableConcept t : src.getStatusReason()) tgt.addStatusReason(convertCodeableConcept(t));
|
||||
if (src.hasCategory())
|
||||
tgt.addCategory(convertCodeableConcept(src.getCategory()));
|
||||
if (src.hasMedication())
|
||||
tgt.setMedication(convertType(src.getMedication()));
|
||||
if (src.hasMedicationCodeableConcept())
|
||||
tgt.getMedication().setConcept(convertCodeableConcept(src.getMedicationCodeableConcept()));
|
||||
if (src.hasMedicationReference())
|
||||
tgt.getMedication().setReference(convertReference(src.getMedicationReference()));
|
||||
if (src.hasSubject())
|
||||
tgt.setSubject(convertReference(src.getSubject()));
|
||||
if (src.hasContext())
|
||||
|
@ -106,8 +108,10 @@ public class MedicationAdministration40_50 extends VersionConvertor_40_50 {
|
|||
for (org.hl7.fhir.r5.model.CodeableConcept t : src.getStatusReason()) tgt.addStatusReason(convertCodeableConcept(t));
|
||||
if (src.hasCategory())
|
||||
tgt.setCategory(convertCodeableConcept(src.getCategoryFirstRep()));
|
||||
if (src.hasMedication())
|
||||
tgt.setMedication(convertType(src.getMedication()));
|
||||
if (src.getMedication().hasConcept())
|
||||
tgt.setMedication(convertType(src.getMedication().getConcept()));
|
||||
if (src.getMedication().hasReference())
|
||||
tgt.setMedication(convertType(src.getMedication().getReference()));
|
||||
if (src.hasSubject())
|
||||
tgt.setSubject(convertReference(src.getSubject()));
|
||||
if (src.hasEncounter())
|
||||
|
|
|
@ -65,12 +65,16 @@ public class MedicationDispense40_50 extends VersionConvertor_40_50 {
|
|||
for (org.hl7.fhir.r4.model.Reference t : src.getPartOf()) tgt.addPartOf(convertReference(t));
|
||||
if (src.hasStatus())
|
||||
tgt.setStatusElement(convertMedicationStatus(src.getStatusElement()));
|
||||
if (src.hasStatusReason())
|
||||
tgt.setStatusReason(convertType(src.getStatusReason()));
|
||||
if (src.hasStatusReasonCodeableConcept())
|
||||
tgt.getStatusReason().setConcept(convertCodeableConcept(src.getStatusReasonCodeableConcept()));
|
||||
if (src.hasStatusReasonReference())
|
||||
tgt.getStatusReason().setReference(convertReference(src.getStatusReasonReference()));
|
||||
if (src.hasCategory())
|
||||
tgt.addCategory(convertCodeableConcept(src.getCategory()));
|
||||
if (src.hasMedication())
|
||||
tgt.setMedication(convertType(src.getMedication()));
|
||||
if (src.hasMedicationCodeableConcept())
|
||||
tgt.getMedication().setConcept(convertCodeableConcept(src.getMedicationCodeableConcept()));
|
||||
if (src.hasMedicationReference())
|
||||
tgt.getMedication().setReference(convertReference(src.getMedicationReference()));
|
||||
if (src.hasSubject())
|
||||
tgt.setSubject(convertReference(src.getSubject()));
|
||||
if (src.hasContext())
|
||||
|
@ -111,12 +115,16 @@ public class MedicationDispense40_50 extends VersionConvertor_40_50 {
|
|||
for (org.hl7.fhir.r5.model.Reference t : src.getPartOf()) tgt.addPartOf(convertReference(t));
|
||||
if (src.hasStatus())
|
||||
tgt.setStatusElement(convertStatus(src.getStatusElement()));
|
||||
if (src.hasStatusReason())
|
||||
tgt.setStatusReason(convertType(src.getStatusReason()));
|
||||
if (src.getStatusReason().hasConcept())
|
||||
tgt.setStatusReason(convertType(src.getStatusReason().getConcept()));
|
||||
if (src.getStatusReason().hasReference())
|
||||
tgt.setStatusReason(convertType(src.getStatusReason().getReference()));
|
||||
if (src.hasCategory())
|
||||
tgt.setCategory(convertCodeableConcept(src.getCategoryFirstRep()));
|
||||
if (src.hasMedication())
|
||||
tgt.setMedication(convertType(src.getMedication()));
|
||||
if (src.getMedication().hasConcept())
|
||||
tgt.setMedication(convertType(src.getMedication().getConcept()));
|
||||
if (src.getMedication().hasReference())
|
||||
tgt.setMedication(convertType(src.getMedication().getReference()));
|
||||
if (src.hasSubject())
|
||||
tgt.setSubject(convertReference(src.getSubject()));
|
||||
if (src.hasEncounter())
|
||||
|
|
|
@ -206,8 +206,10 @@ public class MedicationKnowledge40_50 extends VersionConvertor_40_50 {
|
|||
return null;
|
||||
org.hl7.fhir.r5.model.MedicationKnowledge.MedicationKnowledgeIngredientComponent tgt = new org.hl7.fhir.r5.model.MedicationKnowledge.MedicationKnowledgeIngredientComponent();
|
||||
copyElement(src, tgt);
|
||||
if (src.hasItem())
|
||||
tgt.setItem(convertType(src.getItem()));
|
||||
if (src.hasItemCodeableConcept())
|
||||
tgt.getItem().setConcept(convertCodeableConcept(src.getItemCodeableConcept()));
|
||||
if (src.hasItemReference())
|
||||
tgt.getItem().setReference(convertReference(src.getItemReference()));
|
||||
if (src.hasIsActive())
|
||||
tgt.setIsActiveElement(convertBoolean(src.getIsActiveElement()));
|
||||
if (src.hasStrength())
|
||||
|
@ -220,8 +222,10 @@ public class MedicationKnowledge40_50 extends VersionConvertor_40_50 {
|
|||
return null;
|
||||
org.hl7.fhir.r4.model.MedicationKnowledge.MedicationKnowledgeIngredientComponent tgt = new org.hl7.fhir.r4.model.MedicationKnowledge.MedicationKnowledgeIngredientComponent();
|
||||
copyElement(src, tgt);
|
||||
if (src.hasItem())
|
||||
tgt.setItem(convertType(src.getItem()));
|
||||
if (src.getItem().hasConcept())
|
||||
tgt.setItem(convertType(src.getItem().getConcept()));
|
||||
if (src.getItem().hasReference())
|
||||
tgt.setItem(convertType(src.getItem().getReference()));
|
||||
if (src.hasIsActive())
|
||||
tgt.setIsActiveElement(convertBoolean(src.getIsActiveElement()));
|
||||
if (src.hasStrengthRatio())
|
||||
|
|
|
@ -74,8 +74,10 @@ public class MedicationRequest40_50 extends VersionConvertor_40_50 {
|
|||
tgt.setReportedElement(convertBoolean(src.getReportedBooleanType()));
|
||||
if (src.hasReportedReference())
|
||||
tgt.setInformationSource(convertReference(src.getReportedReference()));
|
||||
if (src.hasMedication())
|
||||
tgt.setMedication(convertType(src.getMedication()));
|
||||
if (src.hasMedicationCodeableConcept())
|
||||
tgt.getMedication().setConcept(convertCodeableConcept(src.getMedicationCodeableConcept()));
|
||||
if (src.hasMedicationReference())
|
||||
tgt.getMedication().setReference(convertReference(src.getMedicationReference()));
|
||||
if (src.hasSubject())
|
||||
tgt.setSubject(convertReference(src.getSubject()));
|
||||
if (src.hasEncounter())
|
||||
|
@ -135,8 +137,10 @@ public class MedicationRequest40_50 extends VersionConvertor_40_50 {
|
|||
tgt.setReported(convertBoolean(src.getReportedElement()));
|
||||
if (src.hasInformationSource())
|
||||
tgt.setReported(convertReference(src.getInformationSource()));
|
||||
if (src.hasMedication())
|
||||
tgt.setMedication(convertType(src.getMedication()));
|
||||
if (src.getMedication().hasReference())
|
||||
tgt.setMedication(convertType(src.getMedication().getReference()));
|
||||
if (src.getMedication().hasConcept())
|
||||
tgt.setMedication(convertType(src.getMedication().getConcept()));
|
||||
if (src.hasSubject())
|
||||
tgt.setSubject(convertReference(src.getSubject()));
|
||||
if (src.hasEncounter())
|
||||
|
|
|
@ -67,8 +67,12 @@ public class MedicationStatement40_50 extends VersionConvertor_40_50 {
|
|||
for (org.hl7.fhir.r4.model.CodeableConcept t : src.getStatusReason()) tgt.addStatusReason(convertCodeableConcept(t));
|
||||
if (src.hasCategory())
|
||||
tgt.addCategory(convertCodeableConcept(src.getCategory()));
|
||||
if (src.hasMedication())
|
||||
tgt.setMedication(convertType(src.getMedication()));
|
||||
if (src.hasMedicationCodeableConcept()) {
|
||||
tgt.getMedication().setConcept(convertCodeableConcept(src.getMedicationCodeableConcept()));
|
||||
}
|
||||
if (src.hasMedicationReference()) {
|
||||
tgt.getMedication().setReference(convertReference(src.getMedicationReference()));
|
||||
}
|
||||
if (src.hasSubject())
|
||||
tgt.setSubject(convertReference(src.getSubject()));
|
||||
if (src.hasContext())
|
||||
|
@ -100,8 +104,12 @@ public class MedicationStatement40_50 extends VersionConvertor_40_50 {
|
|||
for (org.hl7.fhir.r5.model.CodeableConcept t : src.getStatusReason()) tgt.addStatusReason(convertCodeableConcept(t));
|
||||
if (src.hasCategory())
|
||||
tgt.setCategory(convertCodeableConcept(src.getCategoryFirstRep()));
|
||||
if (src.hasMedication())
|
||||
tgt.setMedication(convertType(src.getMedication()));
|
||||
if (src.getMedication().hasConcept()) {
|
||||
tgt.setMedication(convertType(src.getMedication().getConcept()));
|
||||
}
|
||||
if (src.getMedication().hasReference()) {
|
||||
tgt.setMedication(convertType(src.getMedication().getReference()));
|
||||
}
|
||||
if (src.hasSubject())
|
||||
tgt.setSubject(convertReference(src.getSubject()));
|
||||
if (src.hasEncounter())
|
||||
|
|
|
@ -64,7 +64,7 @@ public class MedicinalProductDefinition40_50 extends VersionConvertor_40_50 {
|
|||
if (src.hasType())
|
||||
tgt.setType(convertCodeableConcept(src.getType()));
|
||||
if (src.hasDomain())
|
||||
tgt.setDomain(convertCoding(src.getDomain()));
|
||||
tgt.getDomain().addCoding(convertCoding(src.getDomain()));
|
||||
// version (new)
|
||||
// status (new)
|
||||
// description (new)
|
||||
|
@ -108,7 +108,7 @@ public class MedicinalProductDefinition40_50 extends VersionConvertor_40_50 {
|
|||
copyElement(srcPart, tgtPart);
|
||||
tgtName.addNamePart(tgtPart);
|
||||
tgtPart.setPartElement(convertString(srcPart.getPartElement()));
|
||||
tgtPart.setType(convertCoding(srcPart.getType()));
|
||||
tgtPart.getType().addCoding(convertCoding(srcPart.getType()));
|
||||
}
|
||||
for (org.hl7.fhir.r4.model.MedicinalProduct.MedicinalProductNameCountryLanguageComponent srcLang : srcName.getCountryLanguage()) {
|
||||
org.hl7.fhir.r5.model.MedicinalProductDefinition.MedicinalProductDefinitionNameCountryLanguageComponent tgtLang = new org.hl7.fhir.r5.model.MedicinalProductDefinition.MedicinalProductDefinitionNameCountryLanguageComponent();
|
||||
|
@ -129,7 +129,7 @@ public class MedicinalProductDefinition40_50 extends VersionConvertor_40_50 {
|
|||
copyElement(srcMBO, tgtMBO);
|
||||
tgt.addManufacturingBusinessOperation(tgtMBO);
|
||||
if (srcMBO.hasOperationType()) {
|
||||
tgtMBO.setType(convertCodeableConcept(srcMBO.getOperationType()));
|
||||
tgtMBO.getType().setConcept(convertCodeableConcept(srcMBO.getOperationType()));
|
||||
// operationType -> type[x]
|
||||
}
|
||||
if (srcMBO.hasAuthorisationReferenceNumber())
|
||||
|
@ -163,8 +163,8 @@ public class MedicinalProductDefinition40_50 extends VersionConvertor_40_50 {
|
|||
for (org.hl7.fhir.r5.model.Identifier t : src.getIdentifier()) tgt.addIdentifier(convertIdentifier(t));
|
||||
if (src.hasType())
|
||||
tgt.setType(convertCodeableConcept(src.getType()));
|
||||
if (src.hasDomain())
|
||||
tgt.setDomain(convertCoding(src.getDomain()));
|
||||
if (src.getDomain().hasCoding())
|
||||
tgt.setDomain(convertCoding(src.getDomain().getCodingFirstRep()));
|
||||
if (src.hasVersion())
|
||||
throw new FHIRException("Converting MedicinalProductDefinition.version is not supported");
|
||||
if (src.hasStatus())
|
||||
|
@ -220,7 +220,9 @@ public class MedicinalProductDefinition40_50 extends VersionConvertor_40_50 {
|
|||
copyElement(srcPart, tgtPart);
|
||||
tgtName.addNamePart(tgtPart);
|
||||
tgtPart.setPartElement(convertString(srcPart.getPartElement()));
|
||||
tgtPart.setType(convertCoding(srcPart.getType()));
|
||||
if (srcPart.getType().hasCoding()) {
|
||||
tgtPart.setType(convertCoding(srcPart.getType().getCodingFirstRep()));
|
||||
}
|
||||
}
|
||||
for (org.hl7.fhir.r5.model.MedicinalProductDefinition.MedicinalProductDefinitionNameCountryLanguageComponent srcLang : srcName.getCountryLanguage()) {
|
||||
org.hl7.fhir.r4.model.MedicinalProduct.MedicinalProductNameCountryLanguageComponent tgtLang = new org.hl7.fhir.r4.model.MedicinalProduct.MedicinalProductNameCountryLanguageComponent();
|
||||
|
@ -248,8 +250,8 @@ public class MedicinalProductDefinition40_50 extends VersionConvertor_40_50 {
|
|||
tgt.addManufacturingBusinessOperation(tgtMBO);
|
||||
if (srcMBO.hasType()) {
|
||||
// type[x] -> operationType
|
||||
if (srcMBO.getType() instanceof org.hl7.fhir.r5.model.CodeableConcept)
|
||||
tgtMBO.setOperationType(convertCodeableConcept((org.hl7.fhir.r5.model.CodeableConcept)srcMBO.getType()));
|
||||
if (srcMBO.getType().hasConcept())
|
||||
tgtMBO.setOperationType(convertCodeableConcept(srcMBO.getType().getConcept()));
|
||||
else
|
||||
throw new FHIRException("Converting MedicinalProductDefinition.manufacturingBusinessOperation.typeReference is not supported");
|
||||
}
|
||||
|
|
|
@ -63,7 +63,7 @@ public class SubstancePolymer40_50 extends VersionConvertor_40_50 {
|
|||
if (src.hasGeometry())
|
||||
tgt.setGeometry(convertCodeableConcept(src.getGeometry()));
|
||||
for (org.hl7.fhir.r4.model.CodeableConcept t : src.getCopolymerConnectivity()) tgt.addCopolymerConnectivity(convertCodeableConcept(t));
|
||||
for (org.hl7.fhir.r4.model.StringType t : src.getModification()) tgt.getModification().add(convertString(t));
|
||||
for (org.hl7.fhir.r4.model.StringType t : src.getModification()) tgt.setModificationElement(convertString(t));
|
||||
for (org.hl7.fhir.r4.model.SubstancePolymer.SubstancePolymerMonomerSetComponent t : src.getMonomerSet()) tgt.addMonomerSet(convertSubstancePolymerMonomerSetComponent(t));
|
||||
for (org.hl7.fhir.r4.model.SubstancePolymer.SubstancePolymerRepeatComponent t : src.getRepeat()) tgt.addRepeat(convertSubstancePolymerRepeatComponent(t));
|
||||
return tgt;
|
||||
|
@ -79,7 +79,7 @@ public class SubstancePolymer40_50 extends VersionConvertor_40_50 {
|
|||
if (src.hasGeometry())
|
||||
tgt.setGeometry(convertCodeableConcept(src.getGeometry()));
|
||||
for (org.hl7.fhir.r5.model.CodeableConcept t : src.getCopolymerConnectivity()) tgt.addCopolymerConnectivity(convertCodeableConcept(t));
|
||||
for (org.hl7.fhir.r5.model.StringType t : src.getModification()) tgt.getModification().add(convertString(t));
|
||||
if (src.hasModification()) tgt.getModification().add(convertString(src.getModificationElement()));
|
||||
for (org.hl7.fhir.r5.model.SubstancePolymer.SubstancePolymerMonomerSetComponent t : src.getMonomerSet()) tgt.addMonomerSet(convertSubstancePolymerMonomerSetComponent(t));
|
||||
for (org.hl7.fhir.r5.model.SubstancePolymer.SubstancePolymerRepeatComponent t : src.getRepeat()) tgt.addRepeat(convertSubstancePolymerRepeatComponent(t));
|
||||
return tgt;
|
||||
|
@ -113,9 +113,9 @@ public class SubstancePolymer40_50 extends VersionConvertor_40_50 {
|
|||
org.hl7.fhir.r5.model.SubstancePolymer.SubstancePolymerMonomerSetStartingMaterialComponent tgt = new org.hl7.fhir.r5.model.SubstancePolymer.SubstancePolymerMonomerSetStartingMaterialComponent();
|
||||
copyElement(src, tgt);
|
||||
if (src.hasMaterial())
|
||||
tgt.setMaterial(convertCodeableConcept(src.getMaterial()));
|
||||
tgt.setCode(convertCodeableConcept(src.getMaterial()));
|
||||
if (src.hasType())
|
||||
tgt.setType(convertCodeableConcept(src.getType()));
|
||||
tgt.setCategory(convertCodeableConcept(src.getType()));
|
||||
if (src.hasIsDefining())
|
||||
tgt.setIsDefiningElement(convertBoolean(src.getIsDefiningElement()));
|
||||
if (src.hasAmount())
|
||||
|
@ -128,10 +128,10 @@ public class SubstancePolymer40_50 extends VersionConvertor_40_50 {
|
|||
return null;
|
||||
org.hl7.fhir.r4.model.SubstancePolymer.SubstancePolymerMonomerSetStartingMaterialComponent tgt = new org.hl7.fhir.r4.model.SubstancePolymer.SubstancePolymerMonomerSetStartingMaterialComponent();
|
||||
copyElement(src, tgt);
|
||||
if (src.hasMaterial())
|
||||
tgt.setMaterial(convertCodeableConcept(src.getMaterial()));
|
||||
if (src.hasCode())
|
||||
tgt.setMaterial(convertCodeableConcept(src.getCode()));
|
||||
if (src.hasType())
|
||||
tgt.setType(convertCodeableConcept(src.getType()));
|
||||
tgt.setType(convertCodeableConcept(src.getCategory()));
|
||||
if (src.hasIsDefining())
|
||||
tgt.setIsDefiningElement(convertBoolean(src.getIsDefiningElement()));
|
||||
if (src.hasAmount())
|
||||
|
@ -175,9 +175,9 @@ public class SubstancePolymer40_50 extends VersionConvertor_40_50 {
|
|||
org.hl7.fhir.r5.model.SubstancePolymer.SubstancePolymerRepeatRepeatUnitComponent tgt = new org.hl7.fhir.r5.model.SubstancePolymer.SubstancePolymerRepeatRepeatUnitComponent();
|
||||
copyElement(src, tgt);
|
||||
if (src.hasOrientationOfPolymerisation())
|
||||
tgt.setOrientationOfPolymerisation(convertCodeableConcept(src.getOrientationOfPolymerisation()));
|
||||
tgt.setOrientation(convertCodeableConcept(src.getOrientationOfPolymerisation()));
|
||||
if (src.hasRepeatUnit())
|
||||
tgt.setRepeatUnitElement(convertString(src.getRepeatUnitElement()));
|
||||
tgt.setUnitElement(convertString(src.getRepeatUnitElement()));
|
||||
if (src.hasAmount())
|
||||
tgt.setAmount(convertSubstanceAmount(src.getAmount()));
|
||||
for (org.hl7.fhir.r4.model.SubstancePolymer.SubstancePolymerRepeatRepeatUnitDegreeOfPolymerisationComponent t : src.getDegreeOfPolymerisation()) tgt.addDegreeOfPolymerisation(convertSubstancePolymerRepeatRepeatUnitDegreeOfPolymerisationComponent(t));
|
||||
|
@ -190,10 +190,10 @@ public class SubstancePolymer40_50 extends VersionConvertor_40_50 {
|
|||
return null;
|
||||
org.hl7.fhir.r4.model.SubstancePolymer.SubstancePolymerRepeatRepeatUnitComponent tgt = new org.hl7.fhir.r4.model.SubstancePolymer.SubstancePolymerRepeatRepeatUnitComponent();
|
||||
copyElement(src, tgt);
|
||||
if (src.hasOrientationOfPolymerisation())
|
||||
tgt.setOrientationOfPolymerisation(convertCodeableConcept(src.getOrientationOfPolymerisation()));
|
||||
if (src.hasRepeatUnit())
|
||||
tgt.setRepeatUnitElement(convertString(src.getRepeatUnitElement()));
|
||||
if (src.hasOrientation())
|
||||
tgt.setOrientationOfPolymerisation(convertCodeableConcept(src.getOrientation()));
|
||||
if (src.hasUnit())
|
||||
tgt.setRepeatUnitElement(convertString(src.getUnitElement()));
|
||||
if (src.hasAmount())
|
||||
tgt.setAmount(convertSubstanceAmount(src.getAmount()));
|
||||
for (org.hl7.fhir.r5.model.SubstancePolymer.SubstancePolymerRepeatRepeatUnitDegreeOfPolymerisationComponent t : src.getDegreeOfPolymerisation()) tgt.addDegreeOfPolymerisation(convertSubstancePolymerRepeatRepeatUnitDegreeOfPolymerisationComponent(t));
|
||||
|
|
|
@ -66,8 +66,13 @@ public class SupplyRequest40_50 extends VersionConvertor_40_50 {
|
|||
tgt.setCategory(convertCodeableConcept(src.getCategory()));
|
||||
if (src.hasPriority())
|
||||
tgt.setPriorityElement(convertRequestPriority(src.getPriorityElement()));
|
||||
if (src.hasItem())
|
||||
tgt.setItem(convertType(src.getItem()));
|
||||
if (src.hasItem()) {
|
||||
if (src.hasItemCodeableConcept()) {
|
||||
tgt.getItem().setConcept(convertCodeableConcept(src.getItemCodeableConcept()));
|
||||
} else {
|
||||
tgt.getItem().setReference(convertReference(src.getItemReference()));
|
||||
}
|
||||
}
|
||||
if (src.hasQuantity())
|
||||
tgt.setQuantity(convertQuantity(src.getQuantity()));
|
||||
for (org.hl7.fhir.r4.model.SupplyRequest.SupplyRequestParameterComponent t : src.getParameter()) tgt.addParameter(convertSupplyRequestParameterComponent(t));
|
||||
|
@ -99,8 +104,13 @@ public class SupplyRequest40_50 extends VersionConvertor_40_50 {
|
|||
tgt.setCategory(convertCodeableConcept(src.getCategory()));
|
||||
if (src.hasPriority())
|
||||
tgt.setPriorityElement(convertRequestPriority(src.getPriorityElement()));
|
||||
if (src.hasItem())
|
||||
tgt.setItem(convertType(src.getItem()));
|
||||
if (src.hasItem()) {
|
||||
if (src.getItem().hasReference()) {
|
||||
tgt.setItem(convertType(src.getItem().getReference()));
|
||||
} else {
|
||||
tgt.setItem(convertType(src.getItem().getConcept()));
|
||||
}
|
||||
}
|
||||
if (src.hasQuantity())
|
||||
tgt.setQuantity(convertQuantity(src.getQuantity()));
|
||||
for (org.hl7.fhir.r5.model.SupplyRequest.SupplyRequestParameterComponent t : src.getParameter()) tgt.addParameter(convertSupplyRequestParameterComponent(t));
|
||||
|
|
|
@ -13,3 +13,16 @@
|
|||
}
|
||||
|
||||
|
||||
public boolean matches(CodeableConcept other) {
|
||||
for (Coding c : other.getCoding()) {
|
||||
if (hasCoding(c.getSystem(), c.getCode())) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
public boolean hasCoding(Coding coding) {
|
||||
return hasCoding(coding.getSystem(), coding.getCode());
|
||||
}
|
||||
|
|
@ -24,3 +24,8 @@
|
|||
|
||||
}
|
||||
|
||||
|
||||
public boolean matches(Coding other) {
|
||||
return other.hasCode() && this.hasCode() && other.hasSystem() && this.hasSystem() && this.getCode().equals(other.getCode()) && this.getSystem().equals(other.getSystem()) ;
|
||||
}
|
||||
|
|
@ -8,7 +8,7 @@ package org.hl7.fhir.r5.model;
|
|||
|
||||
public class Constants {
|
||||
|
||||
public final static String LOCAL_REF_REGEX = "({{rt}})\\\\/[A-Za-z0-9\\\\-\\\\.]{1,64}\";
|
||||
public final static String LOCAL_REF_REGEX = "({{rt}})\\\\/[A-Za-z0-9\\\\-\\\\.]{1,64}";
|
||||
public final static String NS_SYSTEM_TYPE = "http://hl7.org/fhirpath/System.";
|
||||
|
||||
public final static String VERSION = "{{version}}";
|
||||
|
|
|
@ -32,7 +32,15 @@
|
|||
return b.toString();
|
||||
}
|
||||
|
||||
|
||||
public String typeSummaryVB() {
|
||||
CommaSeparatedStringBuilder b = new CommaSeparatedStringBuilder("|");
|
||||
for (TypeRefComponent tr : getType()) {
|
||||
if (tr.hasCode())
|
||||
b.append(tr.getWorkingCode());
|
||||
}
|
||||
return b.toString().replace(" ", "");
|
||||
}
|
||||
|
||||
public TypeRefComponent getType(String code) {
|
||||
for (TypeRefComponent tr : getType())
|
||||
if (tr.getCode().equals(code))
|
||||
|
|
|
@ -28,6 +28,12 @@ public class JsonParser extends JsonParserBase {
|
|||
setAllowUnknownContent(allowUnknownContent);
|
||||
}
|
||||
|
||||
public JsonParser(boolean allowUnknownContent, boolean allowComments) {
|
||||
super();
|
||||
setAllowUnknownContent(allowUnknownContent);
|
||||
setAllowComments(allowComments);
|
||||
}
|
||||
|
||||
protected void parseBaseProperties(JsonObject json, Base res) throws IOException, FHIRFormatError {
|
||||
// nothing
|
||||
}
|
||||
|
|
|
@ -90,4 +90,3 @@
|
|||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
@ -0,0 +1,19 @@
|
|||
public String toString() {
|
||||
String s = getName() + " = ";
|
||||
if (hasValue()) {
|
||||
if (getValue().isPrimitive()) {
|
||||
s = s + getValue().primitiveValue();
|
||||
} else {
|
||||
s = s + "["+getValue().fhirType()+"]";
|
||||
}
|
||||
} else if (hasResource()) {
|
||||
s = s + "["+getResource().fhirType()+"]";
|
||||
} else {
|
||||
CommaSeparatedStringBuilder b = new CommaSeparatedStringBuilder();
|
||||
for (ParametersParameterComponent p : getPart()) {
|
||||
b.append(p.getName());
|
||||
}
|
||||
s = s + "{"+b.toString()+"}";
|
||||
}
|
||||
return s;
|
||||
}
|
|
@ -0,0 +1,26 @@
|
|||
package org.hl7.fhir.r5.model;
|
||||
|
||||
{{license}}
|
||||
|
||||
{{startMark}}
|
||||
|
||||
import org.hl7.fhir.exceptions.FHIRException;
|
||||
|
||||
public enum ResourceType {
|
||||
{{types-enum}};
|
||||
|
||||
|
||||
public String getPath() {;
|
||||
switch (this) {
|
||||
{{types-getPath}}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
public static ResourceType fromCode(String code) throws FHIRException {;
|
||||
{{types-fromCode}}
|
||||
throw new FHIRException("Unknown resource type"+code);
|
||||
}
|
||||
|
||||
}
|
|
@ -64,7 +64,7 @@
|
|||
if (hasTargetProfile()) {
|
||||
res = res + "->(";
|
||||
boolean first = true;
|
||||
for (CanonicalType s : getProfile()) {
|
||||
for (CanonicalType s : getTargetProfile()) {
|
||||
if (first) first = false; else res = res + "|";
|
||||
res = res + s.getValue();
|
||||
}
|
||||
|
|
|
@ -46,7 +46,7 @@ public class Analyser {
|
|||
sd.setUserData("java.type.info", type);
|
||||
|
||||
type.setDefn(sd.getSnapshot().getElementFirstRep());
|
||||
type.setChildren(filterChildren(ProfileUtilities.getChildList(sd, type.getDefn())));
|
||||
type.setChildren(filterChildren(new ProfileUtilities(null, null, null).getChildList(sd, type.getDefn())));
|
||||
type.setInheritedChildren(getAbstractChildren(res.getAncestor()));
|
||||
|
||||
for (ElementDefinition e : type.getChildren()) {
|
||||
|
@ -92,7 +92,7 @@ public class Analyser {
|
|||
List<ElementDefinition> res = new ArrayList<>();
|
||||
StructureDefinition sdb = definitions.getStructures().get(structure.getBaseDefinition());
|
||||
res.addAll(getAbstractChildren(sdb));
|
||||
res.addAll(filterChildren(ProfileUtilities.getChildList(structure, structure.getSnapshot().getElementFirstRep())));
|
||||
res.addAll(filterChildren(new ProfileUtilities(null, null, null).getChildList(structure, structure.getSnapshot().getElementFirstRep())));
|
||||
return res;
|
||||
}
|
||||
|
||||
|
@ -168,7 +168,7 @@ public class Analyser {
|
|||
analysis.getTypeList().add(ctype);
|
||||
ctype.setDefn(e);
|
||||
ctype.setAncestorName(e.typeSummary());
|
||||
ctype.setChildren(filterChildren(ProfileUtilities.getChildList(analysis.getStructure(), ctype.getDefn())));
|
||||
ctype.setChildren(filterChildren(new ProfileUtilities(null, null, null).getChildList(analysis.getStructure(), ctype.getDefn())));
|
||||
|
||||
for (ElementDefinition c : ctype.getChildren()) {
|
||||
scanNestedTypes(analysis, ctype, cpath, c);
|
||||
|
@ -188,7 +188,9 @@ public class Analyser {
|
|||
if (inc.hasSystem() && !inc.hasFilter() && !inc.hasConcept() && !(inc.getSystem().startsWith("http://hl7.org/fhir") || inc.getSystem().startsWith("http://terminology.hl7.org")))
|
||||
ok = false;
|
||||
}
|
||||
if (config.getIni().getBooleanProperty("no-enum", vs.getUrl())) {
|
||||
if (vs == null) {
|
||||
ok = false;
|
||||
} else if (config.getIni().getBooleanProperty("no-enum", vs.getUrl())) {
|
||||
ok = false;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -80,7 +80,11 @@ public class JavaEnumerationsGenerator extends JavaBaseGenerator {
|
|||
for (String n : names) {
|
||||
ValueSet vs = enums.get(n);
|
||||
write("// "+n+": "+vs.getDescription());
|
||||
write(vs.getUserData("usages").toString());
|
||||
if (vs.hasUserData("usages")) {
|
||||
write(vs.getUserData("usages").toString());
|
||||
} else {
|
||||
write("?null?");
|
||||
}
|
||||
write("\r\n");
|
||||
}
|
||||
write("\r\n");
|
||||
|
|
|
@ -76,7 +76,7 @@ public class JavaParserJsonGenerator extends JavaBaseGenerator {
|
|||
generateComposer(analysis);
|
||||
if (!analysis.isAbstract()) {
|
||||
if (analysis.getStructure().getKind() == StructureDefinitionKind.COMPLEXTYPE) {
|
||||
pregt.append(" } else if (json.has(prefix+\""+analysis.getName()+"\")) {\r\n return parse"+analysis.getRootType().getName()+"(json.getAsJsonObject(prefix+\""+analysis.getName()+"\"));\r\n");
|
||||
pregt.append(" } else if (json.has(prefix+\""+analysis.getName()+"\")) {\r\n return parse"+analysis.getRootType().getName()+"(getJObject(json, prefix+\""+analysis.getName()+"\"));\r\n");
|
||||
pregt2.append(" } else if (type.equals(\""+analysis.getName()+"\")) {\r\n return parse"+analysis.getName()+"(json);\r\n");
|
||||
cregtn.append(" } else if (type instanceof "+analysis.getName()+") {\r\n compose"+analysis.getName()+"(prefix+\""+analysis.getName()+"\", ("+analysis.getClassName()+") type);\r\n");
|
||||
cregti.append(" } else if (type instanceof "+analysis.getName()+") {\r\n compose"+analysis.getName()+"Properties(("+analysis.getName()+") type);\r\n");
|
||||
|
@ -212,7 +212,7 @@ public class JavaParserJsonGenerator extends JavaBaseGenerator {
|
|||
if (tn.equals("XhtmlNode")) {
|
||||
prsr = "parseXhtml(json.get(\""+name+"\").getAsString())";
|
||||
} else if (tn.contains("Reference(")) {
|
||||
prsr = "parseReference(json.getAsJsonObject(\""+name+"\"))";
|
||||
prsr = "parseReference(getJObject(json, \""+name+"\"))";
|
||||
aprsr = "parseReference(array.get(i).getAsJsonObject())";
|
||||
anprsr = "parseReference(null)";
|
||||
} else if (tn.contains("canonical(")) {
|
||||
|
@ -231,7 +231,7 @@ public class JavaParserJsonGenerator extends JavaBaseGenerator {
|
|||
if ((ed.isInlineType() || ed.hasContentReference()) && !pn.startsWith(analysis.getClassName())) {
|
||||
pn = analysis.getClassName()+pn;
|
||||
}
|
||||
prsr = "parse"+pn+"(json.getAsJsonObject(\""+name+"\"))";
|
||||
prsr = "parse"+pn+"(getJObject(json, \""+name+"\"))";
|
||||
aprsr = "parse"+pn+"(array.get(i).getAsJsonObject())";
|
||||
anprsr = "parse"+pn+"(null)";
|
||||
}
|
||||
|
@ -276,7 +276,7 @@ public class JavaParserJsonGenerator extends JavaBaseGenerator {
|
|||
if ((isPrimitive(ed.typeSummary()) || ed.typeSummary().startsWith("canonical(")) && !tn.equals("XhtmlNode")) {
|
||||
parser.append(" res.add"+upFirst(getElementName(name, false))+"Element("+prsr+");\r\n");
|
||||
parser.append(" if (json.has(\"_"+name+"\"))\r\n");
|
||||
parser.append(" parseElementProperties(json.getAsJsonObject(\"_"+name+"\"), res.get"+upFirst(getElementName(name, false))+"ElementFirstRep());\r\n");
|
||||
parser.append(" parseElementProperties(getJObject(json, \"_"+name+"\"), res.get"+upFirst(getElementName(name, false))+"ElementFirstRep());\r\n");
|
||||
} else {
|
||||
parser.append(" res.add"+upFirst(getElementName(name, false))+"("+prsr+");\r\n");
|
||||
}
|
||||
|
@ -285,7 +285,7 @@ public class JavaParserJsonGenerator extends JavaBaseGenerator {
|
|||
if ((isPrimitive(ed.typeSummary()) || ed.typeSummary().startsWith("canonical(")) && !tn.equals("XhtmlNode")) {
|
||||
parser.append(" res.set"+upFirst(getElementName(name, false))+"Element("+prsr+");\r\n");
|
||||
parser.append(" if (json.has(\"_"+name+"\"))\r\n");
|
||||
parser.append(" parseElementProperties(json.getAsJsonObject(\"_"+name+"\"), res.get"+upFirst(getElementName(name, false))+"Element());\r\n");
|
||||
parser.append(" parseElementProperties(getJObject(json, \"_"+name+"\"), res.get"+upFirst(getElementName(name, false))+"Element());\r\n");
|
||||
} else {
|
||||
parser.append(" res.set"+upFirst(getElementName(name, false))+"("+prsr+");\r\n");
|
||||
}
|
||||
|
|
|
@ -0,0 +1,107 @@
|
|||
package org.hl7.fhir.core.generator.codegen;
|
||||
/*
|
||||
Copyright (c) 2011+, HL7, Inc
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without modification,
|
||||
are permitted provided that the following conditions are met:
|
||||
|
||||
* Redistributions of source code must retain the above copyright notice, this
|
||||
list of conditions and the following disclaimer.
|
||||
* Redistributions in binary form must reproduce the above copyright notice,
|
||||
this list of conditions and the following disclaimer in the documentation
|
||||
and/or other materials provided with the distribution.
|
||||
* Neither the name of HL7 nor the names of its contributors may be used to
|
||||
endorse or promote products derived from this software without specific
|
||||
prior written permission.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
||||
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
||||
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
||||
IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
|
||||
INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
||||
NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
||||
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||||
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||
POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
*/
|
||||
import java.io.OutputStream;
|
||||
import java.io.OutputStreamWriter;
|
||||
import java.io.UnsupportedEncodingException;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collections;
|
||||
import java.util.Date;
|
||||
import java.util.HashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import org.hl7.fhir.core.generator.analysis.TypeInfo;
|
||||
import org.hl7.fhir.core.generator.codegen.JavaBaseGenerator;
|
||||
import org.hl7.fhir.core.generator.engine.Definitions;
|
||||
import org.hl7.fhir.r5.model.ImplementationGuide.SPDXLicense;
|
||||
import org.hl7.fhir.r5.model.StructureDefinition;
|
||||
import org.hl7.fhir.r5.model.StructureDefinition.StructureDefinitionKind;
|
||||
import org.hl7.fhir.r5.model.StructureDefinition.TypeDerivationRule;
|
||||
|
||||
|
||||
|
||||
public class JavaTypeGenerator extends JavaBaseGenerator {
|
||||
|
||||
|
||||
public JavaTypeGenerator(OutputStream out, Definitions definitions, Configuration configuration, Date genDate, String version) throws UnsupportedEncodingException {
|
||||
super(out, definitions, configuration, version, genDate);
|
||||
}
|
||||
|
||||
public void generate() throws Exception {
|
||||
String template = config.getAdornments().get("ResourceType");
|
||||
template = template.replace("{{license}}", config.getLicense());
|
||||
template = template.replace("{{startMark}}", startVMarkValue());
|
||||
template = template.replace("{{types-enum}}", genEnums());
|
||||
template = template.replace("{{types-getPath}}", genTypePaths());
|
||||
template = template.replace("{{types-fromCode}}", genFromCode());
|
||||
write(template);
|
||||
flush();
|
||||
close();
|
||||
}
|
||||
|
||||
|
||||
private String genEnums() {
|
||||
StringBuilder b = new StringBuilder();
|
||||
boolean first = true;
|
||||
for (StructureDefinition sd : definitions.getStructures().getSortedList()) {
|
||||
if (sd.getKind() == StructureDefinitionKind.RESOURCE && sd.getDerivation() == TypeDerivationRule.SPECIALIZATION && !sd.getAbstract()) {
|
||||
String tn = sd.getType();
|
||||
if (first) { first = false; } else { b.append(",\r\n "); }
|
||||
b.append(tn);
|
||||
}
|
||||
}
|
||||
|
||||
return b.toString();
|
||||
}
|
||||
|
||||
private String genTypePaths() {
|
||||
StringBuilder b = new StringBuilder();
|
||||
for (StructureDefinition sd : definitions.getStructures().getSortedList()) {
|
||||
if (sd.getKind() == StructureDefinitionKind.RESOURCE && sd.getDerivation() == TypeDerivationRule.SPECIALIZATION && !sd.getAbstract()) {
|
||||
b.append(" case "+sd.getType()+":\r\n");
|
||||
b.append(" return \""+sd.getType().toLowerCase()+"\";\r\n");
|
||||
}
|
||||
}
|
||||
|
||||
return b.toString();
|
||||
}
|
||||
|
||||
private String genFromCode() {
|
||||
StringBuilder b = new StringBuilder();
|
||||
for (StructureDefinition sd : definitions.getStructures().getSortedList()) {
|
||||
if (sd.getKind() == StructureDefinitionKind.RESOURCE && sd.getDerivation() == TypeDerivationRule.SPECIALIZATION && !sd.getAbstract()) {
|
||||
b.append(" if (\""+sd.getType()+"\".equals(code))\r\n");
|
||||
b.append(" return "+sd.getType()+";\r\n");
|
||||
}
|
||||
}
|
||||
return b.toString();
|
||||
}
|
||||
|
||||
}
|
|
@ -23,28 +23,28 @@ public class DefinitionsLoader {
|
|||
Definitions res = new Definitions();
|
||||
|
||||
for (String t : npm.listResources("CodeSystem")) {
|
||||
res.getCodeSystems().see((CodeSystem) load(npm, t));
|
||||
res.getCodeSystems().see((CodeSystem) load(npm, t), null);
|
||||
}
|
||||
for (String t : npm.listResources("ValueSet")) {
|
||||
res.getValuesets().see((ValueSet) load(npm, t));
|
||||
res.getValuesets().see((ValueSet) load(npm, t), null);
|
||||
}
|
||||
for (String t : npm.listResources("ConceptMap")) {
|
||||
res.getConceptMaps().see((ConceptMap) load(npm, t));
|
||||
res.getConceptMaps().see((ConceptMap) load(npm, t), null);
|
||||
}
|
||||
for (String t : npm.listResources("CapabilityStatement")) {
|
||||
res.getStatements().see((CapabilityStatement) load(npm, t));
|
||||
res.getStatements().see((CapabilityStatement) load(npm, t), null);
|
||||
}
|
||||
for (String t : npm.listResources("StructureDefinition")) {
|
||||
res.getStructures().see((StructureDefinition) load(npm, t));
|
||||
res.getStructures().see((StructureDefinition) load(npm, t), null);
|
||||
}
|
||||
for (String t : npm.listResources("OperationDefinition")) {
|
||||
res.getOperations().see((OperationDefinition) load(npm, t));
|
||||
res.getOperations().see((OperationDefinition) load(npm, t), null);
|
||||
}
|
||||
for (String t : npm.listResources("SearchParameter")) {
|
||||
res.getSearchParams().see((SearchParameter) load(npm, t));
|
||||
res.getSearchParams().see((SearchParameter) load(npm, t), null);
|
||||
}
|
||||
for (String t : npm.listResources("CompartmentDefinition")) {
|
||||
res.getCompartments().see((CompartmentDefinition) load(npm, t));
|
||||
res.getCompartments().see((CompartmentDefinition) load(npm, t), null);
|
||||
}
|
||||
return res;
|
||||
}
|
||||
|
|
|
@ -19,6 +19,7 @@ import org.hl7.fhir.core.generator.codegen.JavaParserJsonGenerator;
|
|||
import org.hl7.fhir.core.generator.codegen.JavaParserRdfGenerator;
|
||||
import org.hl7.fhir.core.generator.codegen.JavaParserXmlGenerator;
|
||||
import org.hl7.fhir.core.generator.codegen.JavaResourceGenerator;
|
||||
import org.hl7.fhir.core.generator.codegen.JavaTypeGenerator;
|
||||
import org.hl7.fhir.r5.model.ValueSet;
|
||||
import org.hl7.fhir.r5.model.StructureDefinition.StructureDefinitionKind;
|
||||
import org.hl7.fhir.r5.model.StructureDefinition.TypeDerivationRule;
|
||||
|
@ -61,18 +62,20 @@ public class JavaCoreGenerator {
|
|||
String ap = Utilities.path(src);
|
||||
System.out.println("Load Configuration from "+ap);
|
||||
Configuration config = new Configuration(ap);
|
||||
String pid = "r5";
|
||||
String jid = "r5";
|
||||
|
||||
|
||||
PackageCacheManager pcm = new PackageCacheManager(true, ToolsVersion.TOOLS_VERSION);
|
||||
System.out.println("Cache: "+pcm.getFolder());
|
||||
System.out.println("Load hl7.fhir.r5.core");
|
||||
NpmPackage npm = pcm.loadPackage("hl7.fhir.r5.core", version);
|
||||
System.out.println("Load hl7.fhir."+pid+".core");
|
||||
NpmPackage npm = pcm.loadPackage("hl7.fhir."+pid+".core", version);
|
||||
Definitions master = DefinitionsLoader.load(npm);
|
||||
|
||||
markValueSets(master, config);
|
||||
|
||||
System.out.println("Load hl7.fhir.r5.expansions");
|
||||
Definitions expansions = DefinitionsLoader.load(pcm.loadPackage("hl7.fhir.r5.expansions", version));
|
||||
System.out.println("Load hl7.fhir."+pid+".expansions");
|
||||
Definitions expansions = DefinitionsLoader.load(pcm.loadPackage("hl7.fhir."+pid+".expansions", version));
|
||||
|
||||
System.out.println("Process Expansions");
|
||||
updateExpansions(master, expansions);
|
||||
|
@ -88,6 +91,7 @@ public class JavaCoreGenerator {
|
|||
egen.close();
|
||||
|
||||
JavaFactoryGenerator fgen = new JavaFactoryGenerator(new FileOutputStream(Utilities.path(dest, "src", "org", "hl7", "fhir", "r5", "model", "ResourceFactory.java")), master, config, date, npm.version());
|
||||
JavaTypeGenerator tgen = new JavaTypeGenerator(new FileOutputStream(Utilities.path(dest, "src", "org", "hl7", "fhir", "r5", "model", "ResourceType.java")), master, config, date, npm.version());
|
||||
JavaParserJsonGenerator jgen = new JavaParserJsonGenerator(new FileOutputStream(Utilities.path(dest, "src", "org", "hl7", "fhir", "r5", "formats", "JsonParser.java")), master, config, date, npm.version());
|
||||
JavaParserXmlGenerator xgen = new JavaParserXmlGenerator(new FileOutputStream(Utilities.path(dest, "src", "org", "hl7", "fhir", "r5", "formats", "XmlParser.java")), master, config, date, npm.version());
|
||||
JavaParserRdfGenerator rgen = new JavaParserRdfGenerator(new FileOutputStream(Utilities.path(dest, "src", "org", "hl7", "fhir", "r5", "formats", "RdfParser.java")), master, config, date, npm.version());
|
||||
|
@ -169,6 +173,9 @@ public class JavaCoreGenerator {
|
|||
System.out.println(" .. Factory");
|
||||
fgen.generate();
|
||||
fgen.close();
|
||||
System.out.println(" .. Types");
|
||||
tgen.generate();
|
||||
tgen.close();
|
||||
System.out.println(" .. JsonParser");
|
||||
jgen.generate();
|
||||
jgen.close();
|
||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -49,7 +49,7 @@ package org.hl7.fhir.r5.model;
|
|||
POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
// Generated on Tue, Dec 31, 2019 12:12+1100 for FHIR vcurrent
|
||||
// Generated on Mon, May 11, 2020 09:58+1000 for FHIR vcurrent
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Date;
|
||||
|
|
|
@ -49,7 +49,7 @@ package org.hl7.fhir.r5.model;
|
|||
POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
// Generated on Tue, Dec 31, 2019 12:12+1100 for FHIR vcurrent
|
||||
// Generated on Mon, May 11, 2020 09:58+1000 for FHIR vcurrent
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Date;
|
||||
|
@ -4392,7 +4392,7 @@ public class ActivityDefinition extends MetadataResource {
|
|||
* Path: <b>ActivityDefinition.relatedArtifact.where(type='composed-of').resource</b><br>
|
||||
* </p>
|
||||
*/
|
||||
@SearchParamDefinition(name="composed-of", path="ActivityDefinition.relatedArtifact.where(type='composed-of').resource", description="What resource is being referenced", type="reference", target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, CatalogEntry.class, ChargeItem.class, ChargeItemDefinition.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceMetric.class, DeviceRequest.class, DeviceUseStatement.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, Topic.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } )
|
||||
@SearchParamDefinition(name="composed-of", path="ActivityDefinition.relatedArtifact.where(type='composed-of').resource", description="What resource is being referenced", type="reference", target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, CatalogEntry.class, ChargeItem.class, ChargeItemDefinition.class, Citation.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceMetric.class, DeviceRequest.class, DeviceUseStatement.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceFocus.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, NutritionProduct.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Permission.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, SubscriptionStatus.class, SubscriptionTopic.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } )
|
||||
public static final String SP_COMPOSED_OF = "composed-of";
|
||||
/**
|
||||
* <b>Fluent Client</b> search parameter constant for <b>composed-of</b>
|
||||
|
@ -4538,7 +4538,7 @@ public class ActivityDefinition extends MetadataResource {
|
|||
* Path: <b>ActivityDefinition.relatedArtifact.where(type='depends-on').resource | ActivityDefinition.library</b><br>
|
||||
* </p>
|
||||
*/
|
||||
@SearchParamDefinition(name="depends-on", path="ActivityDefinition.relatedArtifact.where(type='depends-on').resource | ActivityDefinition.library", description="What resource is being referenced", type="reference", target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, CatalogEntry.class, ChargeItem.class, ChargeItemDefinition.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceMetric.class, DeviceRequest.class, DeviceUseStatement.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, Topic.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } )
|
||||
@SearchParamDefinition(name="depends-on", path="ActivityDefinition.relatedArtifact.where(type='depends-on').resource | ActivityDefinition.library", description="What resource is being referenced", type="reference", target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, CatalogEntry.class, ChargeItem.class, ChargeItemDefinition.class, Citation.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceMetric.class, DeviceRequest.class, DeviceUseStatement.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceFocus.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, NutritionProduct.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Permission.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, SubscriptionStatus.class, SubscriptionTopic.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } )
|
||||
public static final String SP_DEPENDS_ON = "depends-on";
|
||||
/**
|
||||
* <b>Fluent Client</b> search parameter constant for <b>depends-on</b>
|
||||
|
@ -4564,7 +4564,7 @@ public class ActivityDefinition extends MetadataResource {
|
|||
* Path: <b>ActivityDefinition.relatedArtifact.where(type='derived-from').resource</b><br>
|
||||
* </p>
|
||||
*/
|
||||
@SearchParamDefinition(name="derived-from", path="ActivityDefinition.relatedArtifact.where(type='derived-from').resource", description="What resource is being referenced", type="reference", target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, CatalogEntry.class, ChargeItem.class, ChargeItemDefinition.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceMetric.class, DeviceRequest.class, DeviceUseStatement.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, Topic.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } )
|
||||
@SearchParamDefinition(name="derived-from", path="ActivityDefinition.relatedArtifact.where(type='derived-from').resource", description="What resource is being referenced", type="reference", target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, CatalogEntry.class, ChargeItem.class, ChargeItemDefinition.class, Citation.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceMetric.class, DeviceRequest.class, DeviceUseStatement.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceFocus.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, NutritionProduct.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Permission.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, SubscriptionStatus.class, SubscriptionTopic.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } )
|
||||
public static final String SP_DERIVED_FROM = "derived-from";
|
||||
/**
|
||||
* <b>Fluent Client</b> search parameter constant for <b>derived-from</b>
|
||||
|
@ -4690,7 +4690,7 @@ public class ActivityDefinition extends MetadataResource {
|
|||
* Path: <b>ActivityDefinition.relatedArtifact.where(type='predecessor').resource</b><br>
|
||||
* </p>
|
||||
*/
|
||||
@SearchParamDefinition(name="predecessor", path="ActivityDefinition.relatedArtifact.where(type='predecessor').resource", description="What resource is being referenced", type="reference", target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, CatalogEntry.class, ChargeItem.class, ChargeItemDefinition.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceMetric.class, DeviceRequest.class, DeviceUseStatement.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, Topic.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } )
|
||||
@SearchParamDefinition(name="predecessor", path="ActivityDefinition.relatedArtifact.where(type='predecessor').resource", description="What resource is being referenced", type="reference", target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, CatalogEntry.class, ChargeItem.class, ChargeItemDefinition.class, Citation.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceMetric.class, DeviceRequest.class, DeviceUseStatement.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceFocus.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, NutritionProduct.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Permission.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, SubscriptionStatus.class, SubscriptionTopic.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } )
|
||||
public static final String SP_PREDECESSOR = "predecessor";
|
||||
/**
|
||||
* <b>Fluent Client</b> search parameter constant for <b>predecessor</b>
|
||||
|
@ -4756,7 +4756,7 @@ public class ActivityDefinition extends MetadataResource {
|
|||
* Path: <b>ActivityDefinition.relatedArtifact.where(type='successor').resource</b><br>
|
||||
* </p>
|
||||
*/
|
||||
@SearchParamDefinition(name="successor", path="ActivityDefinition.relatedArtifact.where(type='successor').resource", description="What resource is being referenced", type="reference", target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, CatalogEntry.class, ChargeItem.class, ChargeItemDefinition.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceMetric.class, DeviceRequest.class, DeviceUseStatement.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, Topic.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } )
|
||||
@SearchParamDefinition(name="successor", path="ActivityDefinition.relatedArtifact.where(type='successor').resource", description="What resource is being referenced", type="reference", target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, CatalogEntry.class, ChargeItem.class, ChargeItemDefinition.class, Citation.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceMetric.class, DeviceRequest.class, DeviceUseStatement.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceFocus.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, NutritionProduct.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Permission.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, SubscriptionStatus.class, SubscriptionTopic.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } )
|
||||
public static final String SP_SUCCESSOR = "successor";
|
||||
/**
|
||||
* <b>Fluent Client</b> search parameter constant for <b>successor</b>
|
||||
|
|
|
@ -49,7 +49,7 @@ package org.hl7.fhir.r5.model;
|
|||
POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
// Generated on Tue, Dec 31, 2019 12:12+1100 for FHIR vcurrent
|
||||
// Generated on Mon, May 11, 2020 09:58+1000 for FHIR vcurrent
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Date;
|
||||
|
|
|
@ -49,7 +49,7 @@ package org.hl7.fhir.r5.model;
|
|||
POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
// Generated on Tue, Dec 31, 2019 12:12+1100 for FHIR vcurrent
|
||||
// Generated on Mon, May 11, 2020 09:58+1000 for FHIR vcurrent
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Date;
|
||||
|
@ -74,18 +74,18 @@ import ca.uhn.fhir.model.api.annotation.Block;
|
|||
public class AdministrableProductDefinition extends DomainResource {
|
||||
|
||||
@Block()
|
||||
public static class AdministrableProductDefinitionCharacteristicComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
public static class AdministrableProductDefinitionPropertyComponent extends BackboneElement implements IBaseBackboneElement {
|
||||
/**
|
||||
* A code expressing the type of characteristic.
|
||||
*/
|
||||
@Child(name = "code", type = {CodeableConcept.class}, order=1, min=1, max=1, modifier=false, summary=true)
|
||||
@Child(name = "type", type = {CodeableConcept.class}, order=1, min=1, max=1, modifier=false, summary=true)
|
||||
@Description(shortDefinition="A code expressing the type of characteristic", formalDefinition="A code expressing the type of characteristic." )
|
||||
protected CodeableConcept code;
|
||||
protected CodeableConcept type;
|
||||
|
||||
/**
|
||||
* A value for the characteristic.
|
||||
*/
|
||||
@Child(name = "value", type = {Coding.class, Quantity.class, StringType.class, DateType.class, BooleanType.class, Attachment.class}, order=2, min=0, max=1, modifier=false, summary=true)
|
||||
@Child(name = "value", type = {CodeableConcept.class, Quantity.class, DateType.class, BooleanType.class, Attachment.class}, order=2, min=0, max=1, modifier=false, summary=true)
|
||||
@Description(shortDefinition="A value for the characteristic", formalDefinition="A value for the characteristic." )
|
||||
protected DataType value;
|
||||
|
||||
|
@ -96,44 +96,44 @@ public class AdministrableProductDefinition extends DomainResource {
|
|||
@Description(shortDefinition="The status of characteristic e.g. assigned or pending", formalDefinition="The status of characteristic e.g. assigned or pending." )
|
||||
protected CodeableConcept status;
|
||||
|
||||
private static final long serialVersionUID = -343249058L;
|
||||
private static final long serialVersionUID = -872048207L;
|
||||
|
||||
/**
|
||||
* Constructor
|
||||
*/
|
||||
public AdministrableProductDefinitionCharacteristicComponent() {
|
||||
public AdministrableProductDefinitionPropertyComponent() {
|
||||
super();
|
||||
}
|
||||
|
||||
/**
|
||||
* Constructor
|
||||
*/
|
||||
public AdministrableProductDefinitionCharacteristicComponent(CodeableConcept code) {
|
||||
public AdministrableProductDefinitionPropertyComponent(CodeableConcept type) {
|
||||
super();
|
||||
this.setCode(code);
|
||||
this.setType(type);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return {@link #code} (A code expressing the type of characteristic.)
|
||||
* @return {@link #type} (A code expressing the type of characteristic.)
|
||||
*/
|
||||
public CodeableConcept getCode() {
|
||||
if (this.code == null)
|
||||
public CodeableConcept getType() {
|
||||
if (this.type == null)
|
||||
if (Configuration.errorOnAutoCreate())
|
||||
throw new Error("Attempt to auto-create AdministrableProductDefinitionCharacteristicComponent.code");
|
||||
throw new Error("Attempt to auto-create AdministrableProductDefinitionPropertyComponent.type");
|
||||
else if (Configuration.doAutoCreate())
|
||||
this.code = new CodeableConcept(); // cc
|
||||
return this.code;
|
||||
this.type = new CodeableConcept(); // cc
|
||||
return this.type;
|
||||
}
|
||||
|
||||
public boolean hasCode() {
|
||||
return this.code != null && !this.code.isEmpty();
|
||||
public boolean hasType() {
|
||||
return this.type != null && !this.type.isEmpty();
|
||||
}
|
||||
|
||||
/**
|
||||
* @param value {@link #code} (A code expressing the type of characteristic.)
|
||||
* @param value {@link #type} (A code expressing the type of characteristic.)
|
||||
*/
|
||||
public AdministrableProductDefinitionCharacteristicComponent setCode(CodeableConcept value) {
|
||||
this.code = value;
|
||||
public AdministrableProductDefinitionPropertyComponent setType(CodeableConcept value) {
|
||||
this.type = value;
|
||||
return this;
|
||||
}
|
||||
|
||||
|
@ -147,16 +147,16 @@ public class AdministrableProductDefinition extends DomainResource {
|
|||
/**
|
||||
* @return {@link #value} (A value for the characteristic.)
|
||||
*/
|
||||
public Coding getValueCoding() throws FHIRException {
|
||||
public CodeableConcept getValueCodeableConcept() throws FHIRException {
|
||||
if (this.value == null)
|
||||
this.value = new Coding();
|
||||
if (!(this.value instanceof Coding))
|
||||
throw new FHIRException("Type mismatch: the type Coding was expected, but "+this.value.getClass().getName()+" was encountered");
|
||||
return (Coding) this.value;
|
||||
this.value = new CodeableConcept();
|
||||
if (!(this.value instanceof CodeableConcept))
|
||||
throw new FHIRException("Type mismatch: the type CodeableConcept was expected, but "+this.value.getClass().getName()+" was encountered");
|
||||
return (CodeableConcept) this.value;
|
||||
}
|
||||
|
||||
public boolean hasValueCoding() {
|
||||
return this != null && this.value instanceof Coding;
|
||||
public boolean hasValueCodeableConcept() {
|
||||
return this != null && this.value instanceof CodeableConcept;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -174,21 +174,6 @@ public class AdministrableProductDefinition extends DomainResource {
|
|||
return this != null && this.value instanceof Quantity;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return {@link #value} (A value for the characteristic.)
|
||||
*/
|
||||
public StringType getValueStringType() throws FHIRException {
|
||||
if (this.value == null)
|
||||
this.value = new StringType();
|
||||
if (!(this.value instanceof StringType))
|
||||
throw new FHIRException("Type mismatch: the type StringType was expected, but "+this.value.getClass().getName()+" was encountered");
|
||||
return (StringType) this.value;
|
||||
}
|
||||
|
||||
public boolean hasValueStringType() {
|
||||
return this != null && this.value instanceof StringType;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return {@link #value} (A value for the characteristic.)
|
||||
*/
|
||||
|
@ -241,9 +226,9 @@ public class AdministrableProductDefinition extends DomainResource {
|
|||
/**
|
||||
* @param value {@link #value} (A value for the characteristic.)
|
||||
*/
|
||||
public AdministrableProductDefinitionCharacteristicComponent setValue(DataType value) {
|
||||
if (value != null && !(value instanceof Coding || value instanceof Quantity || value instanceof StringType || value instanceof DateType || value instanceof BooleanType || value instanceof Attachment))
|
||||
throw new Error("Not the right type for AdministrableProductDefinition.characteristic.value[x]: "+value.fhirType());
|
||||
public AdministrableProductDefinitionPropertyComponent setValue(DataType value) {
|
||||
if (value != null && !(value instanceof CodeableConcept || value instanceof Quantity || value instanceof DateType || value instanceof BooleanType || value instanceof Attachment))
|
||||
throw new Error("Not the right type for AdministrableProductDefinition.property.value[x]: "+value.fhirType());
|
||||
this.value = value;
|
||||
return this;
|
||||
}
|
||||
|
@ -254,7 +239,7 @@ public class AdministrableProductDefinition extends DomainResource {
|
|||
public CodeableConcept getStatus() {
|
||||
if (this.status == null)
|
||||
if (Configuration.errorOnAutoCreate())
|
||||
throw new Error("Attempt to auto-create AdministrableProductDefinitionCharacteristicComponent.status");
|
||||
throw new Error("Attempt to auto-create AdministrableProductDefinitionPropertyComponent.status");
|
||||
else if (Configuration.doAutoCreate())
|
||||
this.status = new CodeableConcept(); // cc
|
||||
return this.status;
|
||||
|
@ -267,27 +252,26 @@ public class AdministrableProductDefinition extends DomainResource {
|
|||
/**
|
||||
* @param value {@link #status} (The status of characteristic e.g. assigned or pending.)
|
||||
*/
|
||||
public AdministrableProductDefinitionCharacteristicComponent setStatus(CodeableConcept value) {
|
||||
public AdministrableProductDefinitionPropertyComponent setStatus(CodeableConcept value) {
|
||||
this.status = value;
|
||||
return this;
|
||||
}
|
||||
|
||||
protected void listChildren(List<Property> children) {
|
||||
super.listChildren(children);
|
||||
children.add(new Property("code", "CodeableConcept", "A code expressing the type of characteristic.", 0, 1, code));
|
||||
children.add(new Property("value[x]", "Coding|Quantity|string|date|boolean|Attachment", "A value for the characteristic.", 0, 1, value));
|
||||
children.add(new Property("type", "CodeableConcept", "A code expressing the type of characteristic.", 0, 1, type));
|
||||
children.add(new Property("value[x]", "CodeableConcept|Quantity|date|boolean|Attachment", "A value for the characteristic.", 0, 1, value));
|
||||
children.add(new Property("status", "CodeableConcept", "The status of characteristic e.g. assigned or pending.", 0, 1, status));
|
||||
}
|
||||
|
||||
@Override
|
||||
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException {
|
||||
switch (_hash) {
|
||||
case 3059181: /*code*/ return new Property("code", "CodeableConcept", "A code expressing the type of characteristic.", 0, 1, code);
|
||||
case -1410166417: /*value[x]*/ return new Property("value[x]", "Coding|Quantity|string|date|boolean|Attachment", "A value for the characteristic.", 0, 1, value);
|
||||
case 111972721: /*value*/ return new Property("value[x]", "Coding|Quantity|string|date|boolean|Attachment", "A value for the characteristic.", 0, 1, value);
|
||||
case -1887705029: /*valueCoding*/ return new Property("value[x]", "Coding", "A value for the characteristic.", 0, 1, value);
|
||||
case 3575610: /*type*/ return new Property("type", "CodeableConcept", "A code expressing the type of characteristic.", 0, 1, type);
|
||||
case -1410166417: /*value[x]*/ return new Property("value[x]", "CodeableConcept|Quantity|date|boolean|Attachment", "A value for the characteristic.", 0, 1, value);
|
||||
case 111972721: /*value*/ return new Property("value[x]", "CodeableConcept|Quantity|date|boolean|Attachment", "A value for the characteristic.", 0, 1, value);
|
||||
case 924902896: /*valueCodeableConcept*/ return new Property("value[x]", "CodeableConcept", "A value for the characteristic.", 0, 1, value);
|
||||
case -2029823716: /*valueQuantity*/ return new Property("value[x]", "Quantity", "A value for the characteristic.", 0, 1, value);
|
||||
case -1424603934: /*valueString*/ return new Property("value[x]", "string", "A value for the characteristic.", 0, 1, value);
|
||||
case -766192449: /*valueDate*/ return new Property("value[x]", "date", "A value for the characteristic.", 0, 1, value);
|
||||
case 733421943: /*valueBoolean*/ return new Property("value[x]", "boolean", "A value for the characteristic.", 0, 1, value);
|
||||
case -475566732: /*valueAttachment*/ return new Property("value[x]", "Attachment", "A value for the characteristic.", 0, 1, value);
|
||||
|
@ -300,7 +284,7 @@ public class AdministrableProductDefinition extends DomainResource {
|
|||
@Override
|
||||
public Base[] getProperty(int hash, String name, boolean checkValid) throws FHIRException {
|
||||
switch (hash) {
|
||||
case 3059181: /*code*/ return this.code == null ? new Base[0] : new Base[] {this.code}; // CodeableConcept
|
||||
case 3575610: /*type*/ return this.type == null ? new Base[0] : new Base[] {this.type}; // CodeableConcept
|
||||
case 111972721: /*value*/ return this.value == null ? new Base[0] : new Base[] {this.value}; // DataType
|
||||
case -892481550: /*status*/ return this.status == null ? new Base[0] : new Base[] {this.status}; // CodeableConcept
|
||||
default: return super.getProperty(hash, name, checkValid);
|
||||
|
@ -311,8 +295,8 @@ public class AdministrableProductDefinition extends DomainResource {
|
|||
@Override
|
||||
public Base setProperty(int hash, String name, Base value) throws FHIRException {
|
||||
switch (hash) {
|
||||
case 3059181: // code
|
||||
this.code = TypeConvertor.castToCodeableConcept(value); // CodeableConcept
|
||||
case 3575610: // type
|
||||
this.type = TypeConvertor.castToCodeableConcept(value); // CodeableConcept
|
||||
return value;
|
||||
case 111972721: // value
|
||||
this.value = TypeConvertor.castToType(value); // DataType
|
||||
|
@ -327,8 +311,8 @@ public class AdministrableProductDefinition extends DomainResource {
|
|||
|
||||
@Override
|
||||
public Base setProperty(String name, Base value) throws FHIRException {
|
||||
if (name.equals("code")) {
|
||||
this.code = TypeConvertor.castToCodeableConcept(value); // CodeableConcept
|
||||
if (name.equals("type")) {
|
||||
this.type = TypeConvertor.castToCodeableConcept(value); // CodeableConcept
|
||||
} else if (name.equals("value[x]")) {
|
||||
this.value = TypeConvertor.castToType(value); // DataType
|
||||
} else if (name.equals("status")) {
|
||||
|
@ -341,7 +325,7 @@ public class AdministrableProductDefinition extends DomainResource {
|
|||
@Override
|
||||
public Base makeProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
case 3059181: return getCode();
|
||||
case 3575610: return getType();
|
||||
case -1410166417: return getValue();
|
||||
case 111972721: return getValue();
|
||||
case -892481550: return getStatus();
|
||||
|
@ -353,8 +337,8 @@ public class AdministrableProductDefinition extends DomainResource {
|
|||
@Override
|
||||
public String[] getTypesForProperty(int hash, String name) throws FHIRException {
|
||||
switch (hash) {
|
||||
case 3059181: /*code*/ return new String[] {"CodeableConcept"};
|
||||
case 111972721: /*value*/ return new String[] {"Coding", "Quantity", "string", "date", "boolean", "Attachment"};
|
||||
case 3575610: /*type*/ return new String[] {"CodeableConcept"};
|
||||
case 111972721: /*value*/ return new String[] {"CodeableConcept", "Quantity", "date", "boolean", "Attachment"};
|
||||
case -892481550: /*status*/ return new String[] {"CodeableConcept"};
|
||||
default: return super.getTypesForProperty(hash, name);
|
||||
}
|
||||
|
@ -363,22 +347,18 @@ public class AdministrableProductDefinition extends DomainResource {
|
|||
|
||||
@Override
|
||||
public Base addChild(String name) throws FHIRException {
|
||||
if (name.equals("code")) {
|
||||
this.code = new CodeableConcept();
|
||||
return this.code;
|
||||
if (name.equals("type")) {
|
||||
this.type = new CodeableConcept();
|
||||
return this.type;
|
||||
}
|
||||
else if (name.equals("valueCoding")) {
|
||||
this.value = new Coding();
|
||||
else if (name.equals("valueCodeableConcept")) {
|
||||
this.value = new CodeableConcept();
|
||||
return this.value;
|
||||
}
|
||||
else if (name.equals("valueQuantity")) {
|
||||
this.value = new Quantity();
|
||||
return this.value;
|
||||
}
|
||||
else if (name.equals("valueString")) {
|
||||
this.value = new StringType();
|
||||
return this.value;
|
||||
}
|
||||
else if (name.equals("valueDate")) {
|
||||
this.value = new DateType();
|
||||
return this.value;
|
||||
|
@ -399,15 +379,15 @@ public class AdministrableProductDefinition extends DomainResource {
|
|||
return super.addChild(name);
|
||||
}
|
||||
|
||||
public AdministrableProductDefinitionCharacteristicComponent copy() {
|
||||
AdministrableProductDefinitionCharacteristicComponent dst = new AdministrableProductDefinitionCharacteristicComponent();
|
||||
public AdministrableProductDefinitionPropertyComponent copy() {
|
||||
AdministrableProductDefinitionPropertyComponent dst = new AdministrableProductDefinitionPropertyComponent();
|
||||
copyValues(dst);
|
||||
return dst;
|
||||
}
|
||||
|
||||
public void copyValues(AdministrableProductDefinitionCharacteristicComponent dst) {
|
||||
public void copyValues(AdministrableProductDefinitionPropertyComponent dst) {
|
||||
super.copyValues(dst);
|
||||
dst.code = code == null ? null : code.copy();
|
||||
dst.type = type == null ? null : type.copy();
|
||||
dst.value = value == null ? null : value.copy();
|
||||
dst.status = status == null ? null : status.copy();
|
||||
}
|
||||
|
@ -416,10 +396,10 @@ public class AdministrableProductDefinition extends DomainResource {
|
|||
public boolean equalsDeep(Base other_) {
|
||||
if (!super.equalsDeep(other_))
|
||||
return false;
|
||||
if (!(other_ instanceof AdministrableProductDefinitionCharacteristicComponent))
|
||||
if (!(other_ instanceof AdministrableProductDefinitionPropertyComponent))
|
||||
return false;
|
||||
AdministrableProductDefinitionCharacteristicComponent o = (AdministrableProductDefinitionCharacteristicComponent) other_;
|
||||
return compareDeep(code, o.code, true) && compareDeep(value, o.value, true) && compareDeep(status, o.status, true)
|
||||
AdministrableProductDefinitionPropertyComponent o = (AdministrableProductDefinitionPropertyComponent) other_;
|
||||
return compareDeep(type, o.type, true) && compareDeep(value, o.value, true) && compareDeep(status, o.status, true)
|
||||
;
|
||||
}
|
||||
|
||||
|
@ -427,18 +407,18 @@ public class AdministrableProductDefinition extends DomainResource {
|
|||
public boolean equalsShallow(Base other_) {
|
||||
if (!super.equalsShallow(other_))
|
||||
return false;
|
||||
if (!(other_ instanceof AdministrableProductDefinitionCharacteristicComponent))
|
||||
if (!(other_ instanceof AdministrableProductDefinitionPropertyComponent))
|
||||
return false;
|
||||
AdministrableProductDefinitionCharacteristicComponent o = (AdministrableProductDefinitionCharacteristicComponent) other_;
|
||||
AdministrableProductDefinitionPropertyComponent o = (AdministrableProductDefinitionPropertyComponent) other_;
|
||||
return true;
|
||||
}
|
||||
|
||||
public boolean isEmpty() {
|
||||
return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(code, value, status);
|
||||
return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(type, value, status);
|
||||
}
|
||||
|
||||
public String fhirType() {
|
||||
return "AdministrableProductDefinition.characteristic";
|
||||
return "AdministrableProductDefinition.property";
|
||||
|
||||
}
|
||||
|
||||
|
@ -1495,9 +1475,9 @@ public class AdministrableProductDefinition extends DomainResource {
|
|||
/**
|
||||
* Characteristics e.g. a products onset of action.
|
||||
*/
|
||||
@Child(name = "characteristic", type = {}, order=7, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true)
|
||||
@Child(name = "property", type = {}, order=7, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true)
|
||||
@Description(shortDefinition="Characteristics e.g. a products onset of action", formalDefinition="Characteristics e.g. a products onset of action." )
|
||||
protected List<AdministrableProductDefinitionCharacteristicComponent> characteristic;
|
||||
protected List<AdministrableProductDefinitionPropertyComponent> property;
|
||||
|
||||
/**
|
||||
* The path by which the pharmaceutical product is taken into or makes contact with the body.
|
||||
|
@ -1506,7 +1486,7 @@ public class AdministrableProductDefinition extends DomainResource {
|
|||
@Description(shortDefinition="The path by which the pharmaceutical product is taken into or makes contact with the body", formalDefinition="The path by which the pharmaceutical product is taken into or makes contact with the body." )
|
||||
protected List<AdministrableProductDefinitionRouteOfAdministrationComponent> routeOfAdministration;
|
||||
|
||||
private static final long serialVersionUID = 1618278928L;
|
||||
private static final long serialVersionUID = -1072766896L;
|
||||
|
||||
/**
|
||||
* Constructor
|
||||
|
@ -1838,56 +1818,56 @@ public class AdministrableProductDefinition extends DomainResource {
|
|||
}
|
||||
|
||||
/**
|
||||
* @return {@link #characteristic} (Characteristics e.g. a products onset of action.)
|
||||
* @return {@link #property} (Characteristics e.g. a products onset of action.)
|
||||
*/
|
||||
public List<AdministrableProductDefinitionCharacteristicComponent> getCharacteristic() {
|
||||
if (this.characteristic == null)
|
||||
this.characteristic = new ArrayList<AdministrableProductDefinitionCharacteristicComponent>();
|
||||
return this.characteristic;
|
||||
public List<AdministrableProductDefinitionPropertyComponent> getProperty() {
|
||||
if (this.property == null)
|
||||
this.property = new ArrayList<AdministrableProductDefinitionPropertyComponent>();
|
||||
return this.property;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return Returns a reference to <code>this</code> for easy method chaining
|
||||
*/
|
||||
public AdministrableProductDefinition setCharacteristic(List<AdministrableProductDefinitionCharacteristicComponent> theCharacteristic) {
|
||||
this.characteristic = theCharacteristic;
|
||||
public AdministrableProductDefinition setProperty(List<AdministrableProductDefinitionPropertyComponent> theProperty) {
|
||||
this.property = theProperty;
|
||||
return this;
|
||||
}
|
||||
|
||||
public boolean hasCharacteristic() {
|
||||
if (this.characteristic == null)
|
||||
public boolean hasProperty() {
|
||||
if (this.property == null)
|
||||
return false;
|
||||
for (AdministrableProductDefinitionCharacteristicComponent item : this.characteristic)
|
||||
for (AdministrableProductDefinitionPropertyComponent item : this.property)
|
||||
if (!item.isEmpty())
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
|
||||
public AdministrableProductDefinitionCharacteristicComponent addCharacteristic() { //3
|
||||
AdministrableProductDefinitionCharacteristicComponent t = new AdministrableProductDefinitionCharacteristicComponent();
|
||||
if (this.characteristic == null)
|
||||
this.characteristic = new ArrayList<AdministrableProductDefinitionCharacteristicComponent>();
|
||||
this.characteristic.add(t);
|
||||
public AdministrableProductDefinitionPropertyComponent addProperty() { //3
|
||||
AdministrableProductDefinitionPropertyComponent t = new AdministrableProductDefinitionPropertyComponent();
|
||||
if (this.property == null)
|
||||
this.property = new ArrayList<AdministrableProductDefinitionPropertyComponent>();
|
||||
this.property.add(t);
|
||||
return t;
|
||||
}
|
||||
|
||||
public AdministrableProductDefinition addCharacteristic(AdministrableProductDefinitionCharacteristicComponent t) { //3
|
||||
public AdministrableProductDefinition addProperty(AdministrableProductDefinitionPropertyComponent t) { //3
|
||||
if (t == null)
|
||||
return this;
|
||||
if (this.characteristic == null)
|
||||
this.characteristic = new ArrayList<AdministrableProductDefinitionCharacteristicComponent>();
|
||||
this.characteristic.add(t);
|
||||
if (this.property == null)
|
||||
this.property = new ArrayList<AdministrableProductDefinitionPropertyComponent>();
|
||||
this.property.add(t);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return The first repetition of repeating field {@link #characteristic}, creating it if it does not already exist {3}
|
||||
* @return The first repetition of repeating field {@link #property}, creating it if it does not already exist {3}
|
||||
*/
|
||||
public AdministrableProductDefinitionCharacteristicComponent getCharacteristicFirstRep() {
|
||||
if (getCharacteristic().isEmpty()) {
|
||||
addCharacteristic();
|
||||
public AdministrableProductDefinitionPropertyComponent getPropertyFirstRep() {
|
||||
if (getProperty().isEmpty()) {
|
||||
addProperty();
|
||||
}
|
||||
return getCharacteristic().get(0);
|
||||
return getProperty().get(0);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -1952,7 +1932,7 @@ public class AdministrableProductDefinition extends DomainResource {
|
|||
children.add(new Property("producedFrom", "Reference(ManufacturedItemDefinition)", "The manufactured item(s) that this administrable product is produced from. Either a single item, or several that are mixed before administration (e.g. a power item and a solution item). Note that these are not raw ingredients.", 0, java.lang.Integer.MAX_VALUE, producedFrom));
|
||||
children.add(new Property("ingredient", "Reference(Ingredient)", "The ingredients of this administrable pharmaceutical product.", 0, java.lang.Integer.MAX_VALUE, ingredient));
|
||||
children.add(new Property("device", "Reference(DeviceDefinition)", "Accompanying device.", 0, java.lang.Integer.MAX_VALUE, device));
|
||||
children.add(new Property("characteristic", "", "Characteristics e.g. a products onset of action.", 0, java.lang.Integer.MAX_VALUE, characteristic));
|
||||
children.add(new Property("property", "", "Characteristics e.g. a products onset of action.", 0, java.lang.Integer.MAX_VALUE, property));
|
||||
children.add(new Property("routeOfAdministration", "", "The path by which the pharmaceutical product is taken into or makes contact with the body.", 0, java.lang.Integer.MAX_VALUE, routeOfAdministration));
|
||||
}
|
||||
|
||||
|
@ -1966,7 +1946,7 @@ public class AdministrableProductDefinition extends DomainResource {
|
|||
case 588380494: /*producedFrom*/ return new Property("producedFrom", "Reference(ManufacturedItemDefinition)", "The manufactured item(s) that this administrable product is produced from. Either a single item, or several that are mixed before administration (e.g. a power item and a solution item). Note that these are not raw ingredients.", 0, java.lang.Integer.MAX_VALUE, producedFrom);
|
||||
case -206409263: /*ingredient*/ return new Property("ingredient", "Reference(Ingredient)", "The ingredients of this administrable pharmaceutical product.", 0, java.lang.Integer.MAX_VALUE, ingredient);
|
||||
case -1335157162: /*device*/ return new Property("device", "Reference(DeviceDefinition)", "Accompanying device.", 0, java.lang.Integer.MAX_VALUE, device);
|
||||
case 366313883: /*characteristic*/ return new Property("characteristic", "", "Characteristics e.g. a products onset of action.", 0, java.lang.Integer.MAX_VALUE, characteristic);
|
||||
case -993141291: /*property*/ return new Property("property", "", "Characteristics e.g. a products onset of action.", 0, java.lang.Integer.MAX_VALUE, property);
|
||||
case 1742084734: /*routeOfAdministration*/ return new Property("routeOfAdministration", "", "The path by which the pharmaceutical product is taken into or makes contact with the body.", 0, java.lang.Integer.MAX_VALUE, routeOfAdministration);
|
||||
default: return super.getNamedProperty(_hash, _name, _checkValid);
|
||||
}
|
||||
|
@ -1983,7 +1963,7 @@ public class AdministrableProductDefinition extends DomainResource {
|
|||
case 588380494: /*producedFrom*/ return this.producedFrom == null ? new Base[0] : this.producedFrom.toArray(new Base[this.producedFrom.size()]); // Reference
|
||||
case -206409263: /*ingredient*/ return this.ingredient == null ? new Base[0] : this.ingredient.toArray(new Base[this.ingredient.size()]); // Reference
|
||||
case -1335157162: /*device*/ return this.device == null ? new Base[0] : this.device.toArray(new Base[this.device.size()]); // Reference
|
||||
case 366313883: /*characteristic*/ return this.characteristic == null ? new Base[0] : this.characteristic.toArray(new Base[this.characteristic.size()]); // AdministrableProductDefinitionCharacteristicComponent
|
||||
case -993141291: /*property*/ return this.property == null ? new Base[0] : this.property.toArray(new Base[this.property.size()]); // AdministrableProductDefinitionPropertyComponent
|
||||
case 1742084734: /*routeOfAdministration*/ return this.routeOfAdministration == null ? new Base[0] : this.routeOfAdministration.toArray(new Base[this.routeOfAdministration.size()]); // AdministrableProductDefinitionRouteOfAdministrationComponent
|
||||
default: return super.getProperty(hash, name, checkValid);
|
||||
}
|
||||
|
@ -2014,8 +1994,8 @@ public class AdministrableProductDefinition extends DomainResource {
|
|||
case -1335157162: // device
|
||||
this.getDevice().add(TypeConvertor.castToReference(value)); // Reference
|
||||
return value;
|
||||
case 366313883: // characteristic
|
||||
this.getCharacteristic().add((AdministrableProductDefinitionCharacteristicComponent) value); // AdministrableProductDefinitionCharacteristicComponent
|
||||
case -993141291: // property
|
||||
this.getProperty().add((AdministrableProductDefinitionPropertyComponent) value); // AdministrableProductDefinitionPropertyComponent
|
||||
return value;
|
||||
case 1742084734: // routeOfAdministration
|
||||
this.getRouteOfAdministration().add((AdministrableProductDefinitionRouteOfAdministrationComponent) value); // AdministrableProductDefinitionRouteOfAdministrationComponent
|
||||
|
@ -2041,8 +2021,8 @@ public class AdministrableProductDefinition extends DomainResource {
|
|||
this.getIngredient().add(TypeConvertor.castToReference(value));
|
||||
} else if (name.equals("device")) {
|
||||
this.getDevice().add(TypeConvertor.castToReference(value));
|
||||
} else if (name.equals("characteristic")) {
|
||||
this.getCharacteristic().add((AdministrableProductDefinitionCharacteristicComponent) value);
|
||||
} else if (name.equals("property")) {
|
||||
this.getProperty().add((AdministrableProductDefinitionPropertyComponent) value);
|
||||
} else if (name.equals("routeOfAdministration")) {
|
||||
this.getRouteOfAdministration().add((AdministrableProductDefinitionRouteOfAdministrationComponent) value);
|
||||
} else
|
||||
|
@ -2060,7 +2040,7 @@ public class AdministrableProductDefinition extends DomainResource {
|
|||
case 588380494: return addProducedFrom();
|
||||
case -206409263: return addIngredient();
|
||||
case -1335157162: return addDevice();
|
||||
case 366313883: return addCharacteristic();
|
||||
case -993141291: return addProperty();
|
||||
case 1742084734: return addRouteOfAdministration();
|
||||
default: return super.makeProperty(hash, name);
|
||||
}
|
||||
|
@ -2077,7 +2057,7 @@ public class AdministrableProductDefinition extends DomainResource {
|
|||
case 588380494: /*producedFrom*/ return new String[] {"Reference"};
|
||||
case -206409263: /*ingredient*/ return new String[] {"Reference"};
|
||||
case -1335157162: /*device*/ return new String[] {"Reference"};
|
||||
case 366313883: /*characteristic*/ return new String[] {};
|
||||
case -993141291: /*property*/ return new String[] {};
|
||||
case 1742084734: /*routeOfAdministration*/ return new String[] {};
|
||||
default: return super.getTypesForProperty(hash, name);
|
||||
}
|
||||
|
@ -2109,8 +2089,8 @@ public class AdministrableProductDefinition extends DomainResource {
|
|||
else if (name.equals("device")) {
|
||||
return addDevice();
|
||||
}
|
||||
else if (name.equals("characteristic")) {
|
||||
return addCharacteristic();
|
||||
else if (name.equals("property")) {
|
||||
return addProperty();
|
||||
}
|
||||
else if (name.equals("routeOfAdministration")) {
|
||||
return addRouteOfAdministration();
|
||||
|
@ -2159,10 +2139,10 @@ public class AdministrableProductDefinition extends DomainResource {
|
|||
for (Reference i : device)
|
||||
dst.device.add(i.copy());
|
||||
};
|
||||
if (characteristic != null) {
|
||||
dst.characteristic = new ArrayList<AdministrableProductDefinitionCharacteristicComponent>();
|
||||
for (AdministrableProductDefinitionCharacteristicComponent i : characteristic)
|
||||
dst.characteristic.add(i.copy());
|
||||
if (property != null) {
|
||||
dst.property = new ArrayList<AdministrableProductDefinitionPropertyComponent>();
|
||||
for (AdministrableProductDefinitionPropertyComponent i : property)
|
||||
dst.property.add(i.copy());
|
||||
};
|
||||
if (routeOfAdministration != null) {
|
||||
dst.routeOfAdministration = new ArrayList<AdministrableProductDefinitionRouteOfAdministrationComponent>();
|
||||
|
@ -2184,7 +2164,7 @@ public class AdministrableProductDefinition extends DomainResource {
|
|||
AdministrableProductDefinition o = (AdministrableProductDefinition) other_;
|
||||
return compareDeep(identifier, o.identifier, true) && compareDeep(subject, o.subject, true) && compareDeep(administrableDoseForm, o.administrableDoseForm, true)
|
||||
&& compareDeep(unitOfPresentation, o.unitOfPresentation, true) && compareDeep(producedFrom, o.producedFrom, true)
|
||||
&& compareDeep(ingredient, o.ingredient, true) && compareDeep(device, o.device, true) && compareDeep(characteristic, o.characteristic, true)
|
||||
&& compareDeep(ingredient, o.ingredient, true) && compareDeep(device, o.device, true) && compareDeep(property, o.property, true)
|
||||
&& compareDeep(routeOfAdministration, o.routeOfAdministration, true);
|
||||
}
|
||||
|
||||
|
@ -2200,7 +2180,7 @@ public class AdministrableProductDefinition extends DomainResource {
|
|||
|
||||
public boolean isEmpty() {
|
||||
return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(identifier, subject, administrableDoseForm
|
||||
, unitOfPresentation, producedFrom, ingredient, device, characteristic, routeOfAdministration
|
||||
, unitOfPresentation, producedFrom, ingredient, device, property, routeOfAdministration
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
@ -49,7 +49,7 @@ package org.hl7.fhir.r5.model;
|
|||
POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
// Generated on Tue, Dec 31, 2019 12:12+1100 for FHIR vcurrent
|
||||
// Generated on Mon, May 11, 2020 09:58+1000 for FHIR vcurrent
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Date;
|
||||
|
@ -1798,10 +1798,10 @@ public class AdverseEvent extends DomainResource {
|
|||
protected List<Identifier> identifier;
|
||||
|
||||
/**
|
||||
* The current state of the data entry of the adverse event or potential adverse event.
|
||||
* The current state of the adverse event or potential adverse event.
|
||||
*/
|
||||
@Child(name = "status", type = {CodeType.class}, order=1, min=1, max=1, modifier=true, summary=true)
|
||||
@Description(shortDefinition="in-progress | completed | entered-in-error | unknown", formalDefinition="The current state of the data entry of the adverse event or potential adverse event." )
|
||||
@Description(shortDefinition="in-progress | completed | entered-in-error | unknown", formalDefinition="The current state of the adverse event or potential adverse event." )
|
||||
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/adverse-event-status")
|
||||
protected Enumeration<AdverseEventStatus> status;
|
||||
|
||||
|
@ -1817,7 +1817,7 @@ public class AdverseEvent extends DomainResource {
|
|||
* The overall type of event, intended for search and filtering purposes.
|
||||
*/
|
||||
@Child(name = "category", type = {CodeableConcept.class}, order=3, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true)
|
||||
@Description(shortDefinition="product-problem | product-quality | product-use-error | wrong-dose | incorrect-prescribing-information | wrong-technique | wrong-route-of-administration | wrong-rate | wrong-duration | wrong-time | expired-drug | medical-device-use-error | problem-different-manufacturer | unsafe-physical-environment", formalDefinition="The overall type of event, intended for search and filtering purposes." )
|
||||
@Description(shortDefinition="wrong-patient | procedure-mishap | medication-mishap | device | unsafe-physical-environment | hospital-aquired-infection | wrong-body-site", formalDefinition="The overall type of event, intended for search and filtering purposes." )
|
||||
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/adverse-event-category")
|
||||
protected List<CodeableConcept> category;
|
||||
|
||||
|
@ -1837,10 +1837,10 @@ public class AdverseEvent extends DomainResource {
|
|||
protected Reference subject;
|
||||
|
||||
/**
|
||||
* The Encounter during which AdverseEvent was created or to which the creation of this record is tightly associated.
|
||||
* The Encounter associated with the start of the AdverseEvent.
|
||||
*/
|
||||
@Child(name = "encounter", type = {Encounter.class}, order=6, min=0, max=1, modifier=false, summary=true)
|
||||
@Description(shortDefinition="The Encounter during which this AdverseEvent was created", formalDefinition="The Encounter during which AdverseEvent was created or to which the creation of this record is tightly associated." )
|
||||
@Description(shortDefinition="The Encounter associated with the start of the AdverseEvent", formalDefinition="The Encounter associated with the start of the AdverseEvent." )
|
||||
protected Reference encounter;
|
||||
|
||||
/**
|
||||
|
@ -2023,7 +2023,7 @@ public class AdverseEvent extends DomainResource {
|
|||
}
|
||||
|
||||
/**
|
||||
* @return {@link #status} (The current state of the data entry of the adverse event or potential adverse event.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value
|
||||
* @return {@link #status} (The current state of the adverse event or potential adverse event.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value
|
||||
*/
|
||||
public Enumeration<AdverseEventStatus> getStatusElement() {
|
||||
if (this.status == null)
|
||||
|
@ -2043,7 +2043,7 @@ public class AdverseEvent extends DomainResource {
|
|||
}
|
||||
|
||||
/**
|
||||
* @param value {@link #status} (The current state of the data entry of the adverse event or potential adverse event.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value
|
||||
* @param value {@link #status} (The current state of the adverse event or potential adverse event.). This is the underlying object with id, value and extensions. The accessor "getStatus" gives direct access to the value
|
||||
*/
|
||||
public AdverseEvent setStatusElement(Enumeration<AdverseEventStatus> value) {
|
||||
this.status = value;
|
||||
|
@ -2051,14 +2051,14 @@ public class AdverseEvent extends DomainResource {
|
|||
}
|
||||
|
||||
/**
|
||||
* @return The current state of the data entry of the adverse event or potential adverse event.
|
||||
* @return The current state of the adverse event or potential adverse event.
|
||||
*/
|
||||
public AdverseEventStatus getStatus() {
|
||||
return this.status == null ? null : this.status.getValue();
|
||||
}
|
||||
|
||||
/**
|
||||
* @param value The current state of the data entry of the adverse event or potential adverse event.
|
||||
* @param value The current state of the adverse event or potential adverse event.
|
||||
*/
|
||||
public AdverseEvent setStatus(AdverseEventStatus value) {
|
||||
if (this.status == null)
|
||||
|
@ -2214,7 +2214,7 @@ public class AdverseEvent extends DomainResource {
|
|||
}
|
||||
|
||||
/**
|
||||
* @return {@link #encounter} (The Encounter during which AdverseEvent was created or to which the creation of this record is tightly associated.)
|
||||
* @return {@link #encounter} (The Encounter associated with the start of the AdverseEvent.)
|
||||
*/
|
||||
public Reference getEncounter() {
|
||||
if (this.encounter == null)
|
||||
|
@ -2230,7 +2230,7 @@ public class AdverseEvent extends DomainResource {
|
|||
}
|
||||
|
||||
/**
|
||||
* @param value {@link #encounter} (The Encounter during which AdverseEvent was created or to which the creation of this record is tightly associated.)
|
||||
* @param value {@link #encounter} (The Encounter associated with the start of the AdverseEvent.)
|
||||
*/
|
||||
public AdverseEvent setEncounter(Reference value) {
|
||||
this.encounter = value;
|
||||
|
@ -2924,12 +2924,12 @@ public class AdverseEvent extends DomainResource {
|
|||
protected void listChildren(List<Property> children) {
|
||||
super.listChildren(children);
|
||||
children.add(new Property("identifier", "Identifier", "Business identifiers assigned to this adverse event by the performer or other systems which remain constant as the resource is updated and propagates from server to server.", 0, java.lang.Integer.MAX_VALUE, identifier));
|
||||
children.add(new Property("status", "code", "The current state of the data entry of the adverse event or potential adverse event.", 0, 1, status));
|
||||
children.add(new Property("status", "code", "The current state of the adverse event or potential adverse event.", 0, 1, status));
|
||||
children.add(new Property("actuality", "code", "Whether the event actually happened, or just had the potential to. Note that this is independent of whether anyone was affected or harmed or how severely.", 0, 1, actuality));
|
||||
children.add(new Property("category", "CodeableConcept", "The overall type of event, intended for search and filtering purposes.", 0, java.lang.Integer.MAX_VALUE, category));
|
||||
children.add(new Property("code", "CodeableConcept", "Specific event that occurred or that was averted, such as patient fall, wrong organ removed, or wrong blood transfused.", 0, 1, code));
|
||||
children.add(new Property("subject", "Reference(Patient|Group|Practitioner|RelatedPerson)", "This subject or group impacted by the event.", 0, 1, subject));
|
||||
children.add(new Property("encounter", "Reference(Encounter)", "The Encounter during which AdverseEvent was created or to which the creation of this record is tightly associated.", 0, 1, encounter));
|
||||
children.add(new Property("encounter", "Reference(Encounter)", "The Encounter associated with the start of the AdverseEvent.", 0, 1, encounter));
|
||||
children.add(new Property("occurrence[x]", "dateTime|Period|Timing", "The date (and perhaps time) when the adverse event occurred.", 0, 1, occurrence));
|
||||
children.add(new Property("detected", "dateTime", "Estimated or actual date the AdverseEvent began, in the opinion of the reporter.", 0, 1, detected));
|
||||
children.add(new Property("recordedDate", "dateTime", "The date on which the existence of the AdverseEvent was first recorded.", 0, 1, recordedDate));
|
||||
|
@ -2951,12 +2951,12 @@ public class AdverseEvent extends DomainResource {
|
|||
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException {
|
||||
switch (_hash) {
|
||||
case -1618432855: /*identifier*/ return new Property("identifier", "Identifier", "Business identifiers assigned to this adverse event by the performer or other systems which remain constant as the resource is updated and propagates from server to server.", 0, java.lang.Integer.MAX_VALUE, identifier);
|
||||
case -892481550: /*status*/ return new Property("status", "code", "The current state of the data entry of the adverse event or potential adverse event.", 0, 1, status);
|
||||
case -892481550: /*status*/ return new Property("status", "code", "The current state of the adverse event or potential adverse event.", 0, 1, status);
|
||||
case 528866400: /*actuality*/ return new Property("actuality", "code", "Whether the event actually happened, or just had the potential to. Note that this is independent of whether anyone was affected or harmed or how severely.", 0, 1, actuality);
|
||||
case 50511102: /*category*/ return new Property("category", "CodeableConcept", "The overall type of event, intended for search and filtering purposes.", 0, java.lang.Integer.MAX_VALUE, category);
|
||||
case 3059181: /*code*/ return new Property("code", "CodeableConcept", "Specific event that occurred or that was averted, such as patient fall, wrong organ removed, or wrong blood transfused.", 0, 1, code);
|
||||
case -1867885268: /*subject*/ return new Property("subject", "Reference(Patient|Group|Practitioner|RelatedPerson)", "This subject or group impacted by the event.", 0, 1, subject);
|
||||
case 1524132147: /*encounter*/ return new Property("encounter", "Reference(Encounter)", "The Encounter during which AdverseEvent was created or to which the creation of this record is tightly associated.", 0, 1, encounter);
|
||||
case 1524132147: /*encounter*/ return new Property("encounter", "Reference(Encounter)", "The Encounter associated with the start of the AdverseEvent.", 0, 1, encounter);
|
||||
case -2022646513: /*occurrence[x]*/ return new Property("occurrence[x]", "dateTime|Period|Timing", "The date (and perhaps time) when the adverse event occurred.", 0, 1, occurrence);
|
||||
case 1687874001: /*occurrence*/ return new Property("occurrence[x]", "dateTime|Period|Timing", "The date (and perhaps time) when the adverse event occurred.", 0, 1, occurrence);
|
||||
case -298443636: /*occurrenceDateTime*/ return new Property("occurrence[x]", "dateTime", "The date (and perhaps time) when the adverse event occurred.", 0, 1, occurrence);
|
||||
|
@ -3434,17 +3434,17 @@ public class AdverseEvent extends DomainResource {
|
|||
/**
|
||||
* Search parameter: <b>category</b>
|
||||
* <p>
|
||||
* Description: <b>product-problem | product-quality | product-use-error | wrong-dose | incorrect-prescribing-information | wrong-technique | wrong-route-of-administration | wrong-rate | wrong-duration | wrong-time | expired-drug | medical-device-use-error | problem-different-manufacturer | unsafe-physical-environment</b><br>
|
||||
* Description: <b>wrong-patient | procedure-mishap | medication-mishap | device | unsafe-physical-environment | hospital-aquired-infection | wrong-body-site</b><br>
|
||||
* Type: <b>token</b><br>
|
||||
* Path: <b>AdverseEvent.category</b><br>
|
||||
* </p>
|
||||
*/
|
||||
@SearchParamDefinition(name="category", path="AdverseEvent.category", description="product-problem | product-quality | product-use-error | wrong-dose | incorrect-prescribing-information | wrong-technique | wrong-route-of-administration | wrong-rate | wrong-duration | wrong-time | expired-drug | medical-device-use-error | problem-different-manufacturer | unsafe-physical-environment", type="token" )
|
||||
@SearchParamDefinition(name="category", path="AdverseEvent.category", description="wrong-patient | procedure-mishap | medication-mishap | device | unsafe-physical-environment | hospital-aquired-infection | wrong-body-site", type="token" )
|
||||
public static final String SP_CATEGORY = "category";
|
||||
/**
|
||||
* <b>Fluent Client</b> search parameter constant for <b>category</b>
|
||||
* <p>
|
||||
* Description: <b>product-problem | product-quality | product-use-error | wrong-dose | incorrect-prescribing-information | wrong-technique | wrong-route-of-administration | wrong-rate | wrong-duration | wrong-time | expired-drug | medical-device-use-error | problem-different-manufacturer | unsafe-physical-environment</b><br>
|
||||
* Description: <b>wrong-patient | procedure-mishap | medication-mishap | device | unsafe-physical-environment | hospital-aquired-infection | wrong-body-site</b><br>
|
||||
* Type: <b>token</b><br>
|
||||
* Path: <b>AdverseEvent.category</b><br>
|
||||
* </p>
|
||||
|
|
|
@ -49,7 +49,7 @@ package org.hl7.fhir.r5.model;
|
|||
POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
// Generated on Tue, Dec 31, 2019 12:12+1100 for FHIR vcurrent
|
||||
// Generated on Mon, May 11, 2020 09:58+1000 for FHIR vcurrent
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Date;
|
||||
|
|
|
@ -49,7 +49,7 @@ package org.hl7.fhir.r5.model;
|
|||
POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
// Generated on Tue, Dec 31, 2019 12:12+1100 for FHIR vcurrent
|
||||
// Generated on Mon, May 11, 2020 09:58+1000 for FHIR vcurrent
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Date;
|
||||
|
@ -2530,10 +2530,10 @@ public class AllergyIntolerance extends DomainResource {
|
|||
* [ServiceRequest](servicerequest.html): What is being requested/ordered
|
||||
</b><br>
|
||||
* Type: <b>token</b><br>
|
||||
* Path: <b>AllergyIntolerance.code | AllergyIntolerance.reaction.substance | Condition.code | (DeviceRequest.code as CodeableConcept) | DiagnosticReport.code | FamilyMemberHistory.condition.code | List.code | Medication.code | (MedicationAdministration.medication as CodeableConcept) | (MedicationDispense.medication as CodeableConcept) | (MedicationRequest.medication as CodeableConcept) | (MedicationUsage.medication as CodeableConcept) | Observation.code | Procedure.code | ServiceRequest.code</b><br>
|
||||
* Path: <b>AllergyIntolerance.code | AllergyIntolerance.reaction.substance | Condition.code | DeviceRequest.code.concept | DiagnosticReport.code | FamilyMemberHistory.condition.code | List.code | Medication.code | MedicationAdministration.medication.concept | MedicationDispense.medication.concept | MedicationRequest.medication.concept | MedicationUsage.medication.concept | Observation.code | Procedure.code | ServiceRequest.code</b><br>
|
||||
* </p>
|
||||
*/
|
||||
@SearchParamDefinition(name="code", path="AllergyIntolerance.code | AllergyIntolerance.reaction.substance | Condition.code | (DeviceRequest.code as CodeableConcept) | DiagnosticReport.code | FamilyMemberHistory.condition.code | List.code | Medication.code | (MedicationAdministration.medication as CodeableConcept) | (MedicationDispense.medication as CodeableConcept) | (MedicationRequest.medication as CodeableConcept) | (MedicationUsage.medication as CodeableConcept) | Observation.code | Procedure.code | ServiceRequest.code", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): Code that identifies the allergy or intolerance\r\n* [Condition](condition.html): Code for the condition\r\n* [DeviceRequest](devicerequest.html): Code for what is being requested/ordered\r\n* [DiagnosticReport](diagnosticreport.html): The code for the report, as opposed to codes for the atomic results, which are the names on the observation resource referred to from the result\r\n* [FamilyMemberHistory](familymemberhistory.html): A search by a condition code\r\n* [List](list.html): What the purpose of this list is\r\n* [Medication](medication.html): Returns medications for a specific code\r\n* [MedicationAdministration](medicationadministration.html): Return administrations of this medication code\r\n* [MedicationDispense](medicationdispense.html): Returns dispenses of this medicine code\r\n* [MedicationRequest](medicationrequest.html): Return prescriptions of this medication code\r\n* [MedicationUsage](medicationusage.html): Return statements of this medication code\r\n* [Observation](observation.html): The code of the observation type\r\n* [Procedure](procedure.html): A code to identify a procedure\r\n* [ServiceRequest](servicerequest.html): What is being requested/ordered\r\n", type="token" )
|
||||
@SearchParamDefinition(name="code", path="AllergyIntolerance.code | AllergyIntolerance.reaction.substance | Condition.code | DeviceRequest.code.concept | DiagnosticReport.code | FamilyMemberHistory.condition.code | List.code | Medication.code | MedicationAdministration.medication.concept | MedicationDispense.medication.concept | MedicationRequest.medication.concept | MedicationUsage.medication.concept | Observation.code | Procedure.code | ServiceRequest.code", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): Code that identifies the allergy or intolerance\r\n* [Condition](condition.html): Code for the condition\r\n* [DeviceRequest](devicerequest.html): Code for what is being requested/ordered\r\n* [DiagnosticReport](diagnosticreport.html): The code for the report, as opposed to codes for the atomic results, which are the names on the observation resource referred to from the result\r\n* [FamilyMemberHistory](familymemberhistory.html): A search by a condition code\r\n* [List](list.html): What the purpose of this list is\r\n* [Medication](medication.html): Returns medications for a specific code\r\n* [MedicationAdministration](medicationadministration.html): Return administrations of this medication code\r\n* [MedicationDispense](medicationdispense.html): Returns dispenses of this medicine code\r\n* [MedicationRequest](medicationrequest.html): Return prescriptions of this medication code\r\n* [MedicationUsage](medicationusage.html): Return statements of this medication code\r\n* [Observation](observation.html): The code of the observation type\r\n* [Procedure](procedure.html): A code to identify a procedure\r\n* [ServiceRequest](servicerequest.html): What is being requested/ordered\r\n", type="token" )
|
||||
public static final String SP_CODE = "code";
|
||||
/**
|
||||
* <b>Fluent Client</b> search parameter constant for <b>code</b>
|
||||
|
@ -2556,7 +2556,7 @@ public class AllergyIntolerance extends DomainResource {
|
|||
* [ServiceRequest](servicerequest.html): What is being requested/ordered
|
||||
</b><br>
|
||||
* Type: <b>token</b><br>
|
||||
* Path: <b>AllergyIntolerance.code | AllergyIntolerance.reaction.substance | Condition.code | (DeviceRequest.code as CodeableConcept) | DiagnosticReport.code | FamilyMemberHistory.condition.code | List.code | Medication.code | (MedicationAdministration.medication as CodeableConcept) | (MedicationDispense.medication as CodeableConcept) | (MedicationRequest.medication as CodeableConcept) | (MedicationUsage.medication as CodeableConcept) | Observation.code | Procedure.code | ServiceRequest.code</b><br>
|
||||
* Path: <b>AllergyIntolerance.code | AllergyIntolerance.reaction.substance | Condition.code | DeviceRequest.code.concept | DiagnosticReport.code | FamilyMemberHistory.condition.code | List.code | Medication.code | MedicationAdministration.medication.concept | MedicationDispense.medication.concept | MedicationRequest.medication.concept | MedicationUsage.medication.concept | Observation.code | Procedure.code | ServiceRequest.code</b><br>
|
||||
* </p>
|
||||
*/
|
||||
public static final ca.uhn.fhir.rest.gclient.TokenClientParam CODE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CODE);
|
||||
|
@ -2585,10 +2585,10 @@ public class AllergyIntolerance extends DomainResource {
|
|||
* [SupplyRequest](supplyrequest.html): When the request was made
|
||||
</b><br>
|
||||
* Type: <b>date</b><br>
|
||||
* Path: <b>AllergyIntolerance.recordedDate | CarePlan.period | ClinicalImpression.date | Composition.date | Consent.dateTime | DiagnosticReport.effective | Encounter.period | EpisodeOfCare.period | FamilyMemberHistory.date | Flag.period | Immunization.occurrence | List.date | Observation.effective | Procedure.occurrence | (RiskAssessment.occurrence as dateTime) | SupplyRequest.authoredOn</b><br>
|
||||
* Path: <b>AllergyIntolerance.recordedDate | CarePlan.period | ClinicalImpression.date | Composition.date | Consent.dateTime | DiagnosticReport.effective | Encounter.period | EpisodeOfCare.period | FamilyMemberHistory.date | Flag.period | (Immunization.occurrence as dateTime) | List.date | Observation.effective | Procedure.occurrence | (RiskAssessment.occurrence as dateTime) | SupplyRequest.authoredOn</b><br>
|
||||
* </p>
|
||||
*/
|
||||
@SearchParamDefinition(name="date", path="AllergyIntolerance.recordedDate | CarePlan.period | ClinicalImpression.date | Composition.date | Consent.dateTime | DiagnosticReport.effective | Encounter.period | EpisodeOfCare.period | FamilyMemberHistory.date | Flag.period | Immunization.occurrence | List.date | Observation.effective | Procedure.occurrence | (RiskAssessment.occurrence as dateTime) | SupplyRequest.authoredOn", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): Date first version of the resource instance was recorded\r\n* [CarePlan](careplan.html): Time period plan covers\r\n* [CareTeam](careteam.html): A date within the coverage time period.\r\n* [ClinicalImpression](clinicalimpression.html): When the assessment was documented\r\n* [Composition](composition.html): Composition editing time\r\n* [Consent](consent.html): When consent was agreed to\r\n* [DiagnosticReport](diagnosticreport.html): The clinically relevant time of the report\r\n* [Encounter](encounter.html): A date within the period the Encounter lasted\r\n* [EpisodeOfCare](episodeofcare.html): The provided date search value falls within the episode of care's period\r\n* [FamilyMemberHistory](familymemberhistory.html): When history was recorded or last updated\r\n* [Flag](flag.html): Time period when flag is active\r\n* [Immunization](immunization.html): Vaccination (non)-Administration Date\r\n* [List](list.html): When the list was prepared\r\n* [Observation](observation.html): Obtained date/time. If the obtained element is a period, a date that falls in the period\r\n* [Procedure](procedure.html): When the procedure occurred or is occurring\r\n* [RiskAssessment](riskassessment.html): When was assessment made?\r\n* [SupplyRequest](supplyrequest.html): When the request was made\r\n", type="date" )
|
||||
@SearchParamDefinition(name="date", path="AllergyIntolerance.recordedDate | CarePlan.period | ClinicalImpression.date | Composition.date | Consent.dateTime | DiagnosticReport.effective | Encounter.period | EpisodeOfCare.period | FamilyMemberHistory.date | Flag.period | (Immunization.occurrence as dateTime) | List.date | Observation.effective | Procedure.occurrence | (RiskAssessment.occurrence as dateTime) | SupplyRequest.authoredOn", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): Date first version of the resource instance was recorded\r\n* [CarePlan](careplan.html): Time period plan covers\r\n* [CareTeam](careteam.html): A date within the coverage time period.\r\n* [ClinicalImpression](clinicalimpression.html): When the assessment was documented\r\n* [Composition](composition.html): Composition editing time\r\n* [Consent](consent.html): When consent was agreed to\r\n* [DiagnosticReport](diagnosticreport.html): The clinically relevant time of the report\r\n* [Encounter](encounter.html): A date within the period the Encounter lasted\r\n* [EpisodeOfCare](episodeofcare.html): The provided date search value falls within the episode of care's period\r\n* [FamilyMemberHistory](familymemberhistory.html): When history was recorded or last updated\r\n* [Flag](flag.html): Time period when flag is active\r\n* [Immunization](immunization.html): Vaccination (non)-Administration Date\r\n* [List](list.html): When the list was prepared\r\n* [Observation](observation.html): Obtained date/time. If the obtained element is a period, a date that falls in the period\r\n* [Procedure](procedure.html): When the procedure occurred or is occurring\r\n* [RiskAssessment](riskassessment.html): When was assessment made?\r\n* [SupplyRequest](supplyrequest.html): When the request was made\r\n", type="date" )
|
||||
public static final String SP_DATE = "date";
|
||||
/**
|
||||
* <b>Fluent Client</b> search parameter constant for <b>date</b>
|
||||
|
@ -2614,7 +2614,7 @@ public class AllergyIntolerance extends DomainResource {
|
|||
* [SupplyRequest](supplyrequest.html): When the request was made
|
||||
</b><br>
|
||||
* Type: <b>date</b><br>
|
||||
* Path: <b>AllergyIntolerance.recordedDate | CarePlan.period | ClinicalImpression.date | Composition.date | Consent.dateTime | DiagnosticReport.effective | Encounter.period | EpisodeOfCare.period | FamilyMemberHistory.date | Flag.period | Immunization.occurrence | List.date | Observation.effective | Procedure.occurrence | (RiskAssessment.occurrence as dateTime) | SupplyRequest.authoredOn</b><br>
|
||||
* Path: <b>AllergyIntolerance.recordedDate | CarePlan.period | ClinicalImpression.date | Composition.date | Consent.dateTime | DiagnosticReport.effective | Encounter.period | EpisodeOfCare.period | FamilyMemberHistory.date | Flag.period | (Immunization.occurrence as dateTime) | List.date | Observation.effective | Procedure.occurrence | (RiskAssessment.occurrence as dateTime) | SupplyRequest.authoredOn</b><br>
|
||||
* </p>
|
||||
*/
|
||||
public static final ca.uhn.fhir.rest.gclient.DateClientParam DATE = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_DATE);
|
||||
|
@ -2742,10 +2742,10 @@ public class AllergyIntolerance extends DomainResource {
|
|||
* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for
|
||||
</b><br>
|
||||
* Type: <b>reference</b><br>
|
||||
* Path: <b>AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.patient | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUseStatement.subject | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient</b><br>
|
||||
* Path: <b>AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.subject.where(resolve() is Patient) | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUseStatement.subject | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient</b><br>
|
||||
* </p>
|
||||
*/
|
||||
@SearchParamDefinition(name="patient", path="AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.patient | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUseStatement.subject | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): Who the sensitivity is for\r\n* [CarePlan](careplan.html): Who the care plan is for\r\n* [CareTeam](careteam.html): Who care team is for\r\n* [ClinicalImpression](clinicalimpression.html): Patient or group assessed\r\n* [Composition](composition.html): Who and/or what the composition is about\r\n* [Condition](condition.html): Who has the condition?\r\n* [Consent](consent.html): Who the consent applies to\r\n* [DetectedIssue](detectedissue.html): Associated patient\r\n* [DeviceRequest](devicerequest.html): Individual the service is ordered for\r\n* [DeviceUseStatement](deviceusestatement.html): Search by subject - a patient\r\n* [DiagnosticReport](diagnosticreport.html): The subject of the report if a patient\r\n* [DocumentManifest](documentmanifest.html): The subject of the set of documents\r\n* [DocumentReference](documentreference.html): Who/what is the subject of the document\r\n* [Encounter](encounter.html): The patient or group present at the encounter\r\n* [EpisodeOfCare](episodeofcare.html): The patient who is the focus of this episode of care\r\n* [FamilyMemberHistory](familymemberhistory.html): The identity of a subject to list family member history items for\r\n* [Flag](flag.html): The identity of a subject to list flags for\r\n* [Goal](goal.html): Who this goal is intended for\r\n* [ImagingStudy](imagingstudy.html): Who the study is about\r\n* [Immunization](immunization.html): The patient for the vaccination record\r\n* [List](list.html): If all resources have the same subject\r\n* [MedicationAdministration](medicationadministration.html): The identity of a patient to list administrations for\r\n* [MedicationDispense](medicationdispense.html): The identity of a patient to list dispenses for\r\n* [MedicationRequest](medicationrequest.html): Returns prescriptions for a specific patient\r\n* [MedicationUsage](medicationusage.html): Returns statements for a specific patient.\r\n* [NutritionOrder](nutritionorder.html): The identity of the person who requires the diet, formula or nutritional supplement\r\n* [Observation](observation.html): The subject that the observation is about (if patient)\r\n* [Procedure](procedure.html): Search by subject - a patient\r\n* [RiskAssessment](riskassessment.html): Who/what does assessment apply to?\r\n* [ServiceRequest](servicerequest.html): Search by subject - a patient\r\n* [SupplyDelivery](supplydelivery.html): Patient for whom the item is supplied\r\n* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for\r\n", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Patient") }, target={Group.class, Patient.class } )
|
||||
@SearchParamDefinition(name="patient", path="AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.subject.where(resolve() is Patient) | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUseStatement.subject | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): Who the sensitivity is for\r\n* [CarePlan](careplan.html): Who the care plan is for\r\n* [CareTeam](careteam.html): Who care team is for\r\n* [ClinicalImpression](clinicalimpression.html): Patient or group assessed\r\n* [Composition](composition.html): Who and/or what the composition is about\r\n* [Condition](condition.html): Who has the condition?\r\n* [Consent](consent.html): Who the consent applies to\r\n* [DetectedIssue](detectedissue.html): Associated patient\r\n* [DeviceRequest](devicerequest.html): Individual the service is ordered for\r\n* [DeviceUseStatement](deviceusestatement.html): Search by subject - a patient\r\n* [DiagnosticReport](diagnosticreport.html): The subject of the report if a patient\r\n* [DocumentManifest](documentmanifest.html): The subject of the set of documents\r\n* [DocumentReference](documentreference.html): Who/what is the subject of the document\r\n* [Encounter](encounter.html): The patient or group present at the encounter\r\n* [EpisodeOfCare](episodeofcare.html): The patient who is the focus of this episode of care\r\n* [FamilyMemberHistory](familymemberhistory.html): The identity of a subject to list family member history items for\r\n* [Flag](flag.html): The identity of a subject to list flags for\r\n* [Goal](goal.html): Who this goal is intended for\r\n* [ImagingStudy](imagingstudy.html): Who the study is about\r\n* [Immunization](immunization.html): The patient for the vaccination record\r\n* [List](list.html): If all resources have the same subject\r\n* [MedicationAdministration](medicationadministration.html): The identity of a patient to list administrations for\r\n* [MedicationDispense](medicationdispense.html): The identity of a patient to list dispenses for\r\n* [MedicationRequest](medicationrequest.html): Returns prescriptions for a specific patient\r\n* [MedicationUsage](medicationusage.html): Returns statements for a specific patient.\r\n* [NutritionOrder](nutritionorder.html): The identity of the person who requires the diet, formula or nutritional supplement\r\n* [Observation](observation.html): The subject that the observation is about (if patient)\r\n* [Procedure](procedure.html): Search by subject - a patient\r\n* [RiskAssessment](riskassessment.html): Who/what does assessment apply to?\r\n* [ServiceRequest](servicerequest.html): Search by subject - a patient\r\n* [SupplyDelivery](supplydelivery.html): Patient for whom the item is supplied\r\n* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for\r\n", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Patient") }, target={Group.class, Patient.class } )
|
||||
public static final String SP_PATIENT = "patient";
|
||||
/**
|
||||
* <b>Fluent Client</b> search parameter constant for <b>patient</b>
|
||||
|
@ -2786,7 +2786,7 @@ public class AllergyIntolerance extends DomainResource {
|
|||
* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for
|
||||
</b><br>
|
||||
* Type: <b>reference</b><br>
|
||||
* Path: <b>AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.patient | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUseStatement.subject | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient</b><br>
|
||||
* Path: <b>AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.subject.where(resolve() is Patient) | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUseStatement.subject | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient</b><br>
|
||||
* </p>
|
||||
*/
|
||||
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PATIENT);
|
||||
|
|
|
@ -49,7 +49,7 @@ package org.hl7.fhir.r5.model;
|
|||
POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
// Generated on Tue, Dec 31, 2019 12:12+1100 for FHIR vcurrent
|
||||
// Generated on Mon, May 11, 2020 09:58+1000 for FHIR vcurrent
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Date;
|
||||
|
|
|
@ -49,7 +49,7 @@ package org.hl7.fhir.r5.model;
|
|||
POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
// Generated on Tue, Dec 31, 2019 12:12+1100 for FHIR vcurrent
|
||||
// Generated on Mon, May 11, 2020 09:58+1000 for FHIR vcurrent
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Date;
|
||||
|
@ -2843,7 +2843,7 @@ The duration (usually in minutes) could also be provided to indicate the length
|
|||
* Path: <b>Appointment.supportingInformation</b><br>
|
||||
* </p>
|
||||
*/
|
||||
@SearchParamDefinition(name="supporting-info", path="Appointment.supportingInformation", description="Additional information to support the appointment", type="reference", target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, CatalogEntry.class, ChargeItem.class, ChargeItemDefinition.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceMetric.class, DeviceRequest.class, DeviceUseStatement.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, Topic.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } )
|
||||
@SearchParamDefinition(name="supporting-info", path="Appointment.supportingInformation", description="Additional information to support the appointment", type="reference", target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, CatalogEntry.class, ChargeItem.class, ChargeItemDefinition.class, Citation.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceMetric.class, DeviceRequest.class, DeviceUseStatement.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceFocus.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, NutritionProduct.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Permission.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, SubscriptionStatus.class, SubscriptionTopic.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } )
|
||||
public static final String SP_SUPPORTING_INFO = "supporting-info";
|
||||
/**
|
||||
* <b>Fluent Client</b> search parameter constant for <b>supporting-info</b>
|
||||
|
|
|
@ -49,7 +49,7 @@ package org.hl7.fhir.r5.model;
|
|||
POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
// Generated on Tue, Dec 31, 2019 12:12+1100 for FHIR vcurrent
|
||||
// Generated on Mon, May 11, 2020 09:58+1000 for FHIR vcurrent
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Date;
|
||||
|
|
|
@ -49,7 +49,7 @@ package org.hl7.fhir.r5.model;
|
|||
POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
// Generated on Tue, Dec 31, 2019 12:12+1100 for FHIR vcurrent
|
||||
// Generated on Mon, May 11, 2020 09:58+1000 for FHIR vcurrent
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Date;
|
||||
|
|
|
@ -49,7 +49,7 @@ package org.hl7.fhir.r5.model;
|
|||
POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
// Generated on Tue, Dec 31, 2019 12:12+1100 for FHIR vcurrent
|
||||
// Generated on Mon, May 11, 2020 09:58+1000 for FHIR vcurrent
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Date;
|
||||
|
@ -353,130 +353,6 @@ public class AuditEvent extends DomainResource {
|
|||
}
|
||||
}
|
||||
|
||||
public enum AuditEventOutcome {
|
||||
/**
|
||||
* The operation completed successfully (whether with warnings or not).
|
||||
*/
|
||||
_0,
|
||||
/**
|
||||
* The action was not successful due to some kind of minor failure (often equivalent to an HTTP 400 response).
|
||||
*/
|
||||
_4,
|
||||
/**
|
||||
* The action was not successful due to some kind of unexpected error (often equivalent to an HTTP 500 response).
|
||||
*/
|
||||
_8,
|
||||
/**
|
||||
* An error of such magnitude occurred that the system is no longer available for use (i.e. the system died).
|
||||
*/
|
||||
_12,
|
||||
/**
|
||||
* added to help the parsers with the generic types
|
||||
*/
|
||||
NULL;
|
||||
public static AuditEventOutcome fromCode(String codeString) throws FHIRException {
|
||||
if (codeString == null || "".equals(codeString))
|
||||
return null;
|
||||
if ("0".equals(codeString))
|
||||
return _0;
|
||||
if ("4".equals(codeString))
|
||||
return _4;
|
||||
if ("8".equals(codeString))
|
||||
return _8;
|
||||
if ("12".equals(codeString))
|
||||
return _12;
|
||||
if (Configuration.isAcceptInvalidEnums())
|
||||
return null;
|
||||
else
|
||||
throw new FHIRException("Unknown AuditEventOutcome code '"+codeString+"'");
|
||||
}
|
||||
public String toCode() {
|
||||
switch (this) {
|
||||
case _0: return "0";
|
||||
case _4: return "4";
|
||||
case _8: return "8";
|
||||
case _12: return "12";
|
||||
default: return "?";
|
||||
}
|
||||
}
|
||||
public String getSystem() {
|
||||
switch (this) {
|
||||
case _0: return "http://hl7.org/fhir/audit-event-outcome";
|
||||
case _4: return "http://hl7.org/fhir/audit-event-outcome";
|
||||
case _8: return "http://hl7.org/fhir/audit-event-outcome";
|
||||
case _12: return "http://hl7.org/fhir/audit-event-outcome";
|
||||
default: return "?";
|
||||
}
|
||||
}
|
||||
public String getDefinition() {
|
||||
switch (this) {
|
||||
case _0: return "The operation completed successfully (whether with warnings or not).";
|
||||
case _4: return "The action was not successful due to some kind of minor failure (often equivalent to an HTTP 400 response).";
|
||||
case _8: return "The action was not successful due to some kind of unexpected error (often equivalent to an HTTP 500 response).";
|
||||
case _12: return "An error of such magnitude occurred that the system is no longer available for use (i.e. the system died).";
|
||||
default: return "?";
|
||||
}
|
||||
}
|
||||
public String getDisplay() {
|
||||
switch (this) {
|
||||
case _0: return "Success";
|
||||
case _4: return "Minor failure";
|
||||
case _8: return "Serious failure";
|
||||
case _12: return "Major failure";
|
||||
default: return "?";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public static class AuditEventOutcomeEnumFactory implements EnumFactory<AuditEventOutcome> {
|
||||
public AuditEventOutcome fromCode(String codeString) throws IllegalArgumentException {
|
||||
if (codeString == null || "".equals(codeString))
|
||||
if (codeString == null || "".equals(codeString))
|
||||
return null;
|
||||
if ("0".equals(codeString))
|
||||
return AuditEventOutcome._0;
|
||||
if ("4".equals(codeString))
|
||||
return AuditEventOutcome._4;
|
||||
if ("8".equals(codeString))
|
||||
return AuditEventOutcome._8;
|
||||
if ("12".equals(codeString))
|
||||
return AuditEventOutcome._12;
|
||||
throw new IllegalArgumentException("Unknown AuditEventOutcome code '"+codeString+"'");
|
||||
}
|
||||
public Enumeration<AuditEventOutcome> fromType(Base code) throws FHIRException {
|
||||
if (code == null)
|
||||
return null;
|
||||
if (code.isEmpty())
|
||||
return new Enumeration<AuditEventOutcome>(this);
|
||||
String codeString = ((PrimitiveType) code).asStringValue();
|
||||
if (codeString == null || "".equals(codeString))
|
||||
return null;
|
||||
if ("0".equals(codeString))
|
||||
return new Enumeration<AuditEventOutcome>(this, AuditEventOutcome._0);
|
||||
if ("4".equals(codeString))
|
||||
return new Enumeration<AuditEventOutcome>(this, AuditEventOutcome._4);
|
||||
if ("8".equals(codeString))
|
||||
return new Enumeration<AuditEventOutcome>(this, AuditEventOutcome._8);
|
||||
if ("12".equals(codeString))
|
||||
return new Enumeration<AuditEventOutcome>(this, AuditEventOutcome._12);
|
||||
throw new FHIRException("Unknown AuditEventOutcome code '"+codeString+"'");
|
||||
}
|
||||
public String toCode(AuditEventOutcome code) {
|
||||
if (code == AuditEventOutcome._0)
|
||||
return "0";
|
||||
if (code == AuditEventOutcome._4)
|
||||
return "4";
|
||||
if (code == AuditEventOutcome._8)
|
||||
return "8";
|
||||
if (code == AuditEventOutcome._12)
|
||||
return "12";
|
||||
return "?";
|
||||
}
|
||||
public String toSystem(AuditEventOutcome code) {
|
||||
return code.getSystem();
|
||||
}
|
||||
}
|
||||
|
||||
public enum AuditEventSeverity {
|
||||
/**
|
||||
* System is unusable.
|
||||
|
@ -2943,24 +2819,17 @@ public class AuditEvent extends DomainResource {
|
|||
protected InstantType recorded;
|
||||
|
||||
/**
|
||||
* Indicates whether the event succeeded or failed.
|
||||
* Indicates whether the event succeeded or failed. A free text descripiton can be given in outcome.text.
|
||||
*/
|
||||
@Child(name = "outcome", type = {CodeType.class}, order=6, min=0, max=1, modifier=false, summary=true)
|
||||
@Description(shortDefinition="Whether the event succeeded or failed", formalDefinition="Indicates whether the event succeeded or failed." )
|
||||
@Child(name = "outcome", type = {CodeableConcept.class}, order=6, min=0, max=1, modifier=false, summary=true)
|
||||
@Description(shortDefinition="Whether the event succeeded or failed", formalDefinition="Indicates whether the event succeeded or failed. A free text descripiton can be given in outcome.text." )
|
||||
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/audit-event-outcome")
|
||||
protected Enumeration<AuditEventOutcome> outcome;
|
||||
|
||||
/**
|
||||
* A free text description of the outcome of the event.
|
||||
*/
|
||||
@Child(name = "outcomeDesc", type = {StringType.class}, order=7, min=0, max=1, modifier=false, summary=true)
|
||||
@Description(shortDefinition="Description of the event outcome", formalDefinition="A free text description of the outcome of the event." )
|
||||
protected StringType outcomeDesc;
|
||||
protected CodeableConcept outcome;
|
||||
|
||||
/**
|
||||
* The purposeOfUse (reason) that was used during the event being recorded.
|
||||
*/
|
||||
@Child(name = "purposeOfEvent", type = {CodeableConcept.class}, order=8, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true)
|
||||
@Child(name = "purposeOfEvent", type = {CodeableConcept.class}, order=7, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true)
|
||||
@Description(shortDefinition="The purposeOfUse of the event", formalDefinition="The purposeOfUse (reason) that was used during the event being recorded." )
|
||||
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://terminology.hl7.org/ValueSet/v3-PurposeOfUse")
|
||||
protected List<CodeableConcept> purposeOfEvent;
|
||||
|
@ -2968,25 +2837,25 @@ public class AuditEvent extends DomainResource {
|
|||
/**
|
||||
* An actor taking an active role in the event or activity that is logged.
|
||||
*/
|
||||
@Child(name = "agent", type = {}, order=9, min=1, max=Child.MAX_UNLIMITED, modifier=false, summary=false)
|
||||
@Child(name = "agent", type = {}, order=8, min=1, max=Child.MAX_UNLIMITED, modifier=false, summary=false)
|
||||
@Description(shortDefinition="Actor involved in the event", formalDefinition="An actor taking an active role in the event or activity that is logged." )
|
||||
protected List<AuditEventAgentComponent> agent;
|
||||
|
||||
/**
|
||||
* The system that is reporting the event.
|
||||
*/
|
||||
@Child(name = "source", type = {}, order=10, min=1, max=1, modifier=false, summary=false)
|
||||
@Child(name = "source", type = {}, order=9, min=1, max=1, modifier=false, summary=false)
|
||||
@Description(shortDefinition="Audit Event Reporter", formalDefinition="The system that is reporting the event." )
|
||||
protected AuditEventSourceComponent source;
|
||||
|
||||
/**
|
||||
* Specific instances of data or objects that have been accessed.
|
||||
*/
|
||||
@Child(name = "entity", type = {}, order=11, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false)
|
||||
@Child(name = "entity", type = {}, order=10, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false)
|
||||
@Description(shortDefinition="Data or objects used", formalDefinition="Specific instances of data or objects that have been accessed." )
|
||||
protected List<AuditEventEntityComponent> entity;
|
||||
|
||||
private static final long serialVersionUID = 778790159L;
|
||||
private static final long serialVersionUID = -446219294L;
|
||||
|
||||
/**
|
||||
* Constructor
|
||||
|
@ -3251,103 +3120,29 @@ public class AuditEvent extends DomainResource {
|
|||
}
|
||||
|
||||
/**
|
||||
* @return {@link #outcome} (Indicates whether the event succeeded or failed.). This is the underlying object with id, value and extensions. The accessor "getOutcome" gives direct access to the value
|
||||
* @return {@link #outcome} (Indicates whether the event succeeded or failed. A free text descripiton can be given in outcome.text.)
|
||||
*/
|
||||
public Enumeration<AuditEventOutcome> getOutcomeElement() {
|
||||
public CodeableConcept getOutcome() {
|
||||
if (this.outcome == null)
|
||||
if (Configuration.errorOnAutoCreate())
|
||||
throw new Error("Attempt to auto-create AuditEvent.outcome");
|
||||
else if (Configuration.doAutoCreate())
|
||||
this.outcome = new Enumeration<AuditEventOutcome>(new AuditEventOutcomeEnumFactory()); // bb
|
||||
this.outcome = new CodeableConcept(); // cc
|
||||
return this.outcome;
|
||||
}
|
||||
|
||||
public boolean hasOutcomeElement() {
|
||||
return this.outcome != null && !this.outcome.isEmpty();
|
||||
}
|
||||
|
||||
public boolean hasOutcome() {
|
||||
return this.outcome != null && !this.outcome.isEmpty();
|
||||
}
|
||||
|
||||
/**
|
||||
* @param value {@link #outcome} (Indicates whether the event succeeded or failed.). This is the underlying object with id, value and extensions. The accessor "getOutcome" gives direct access to the value
|
||||
* @param value {@link #outcome} (Indicates whether the event succeeded or failed. A free text descripiton can be given in outcome.text.)
|
||||
*/
|
||||
public AuditEvent setOutcomeElement(Enumeration<AuditEventOutcome> value) {
|
||||
public AuditEvent setOutcome(CodeableConcept value) {
|
||||
this.outcome = value;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return Indicates whether the event succeeded or failed.
|
||||
*/
|
||||
public AuditEventOutcome getOutcome() {
|
||||
return this.outcome == null ? null : this.outcome.getValue();
|
||||
}
|
||||
|
||||
/**
|
||||
* @param value Indicates whether the event succeeded or failed.
|
||||
*/
|
||||
public AuditEvent setOutcome(AuditEventOutcome value) {
|
||||
if (value == null)
|
||||
this.outcome = null;
|
||||
else {
|
||||
if (this.outcome == null)
|
||||
this.outcome = new Enumeration<AuditEventOutcome>(new AuditEventOutcomeEnumFactory());
|
||||
this.outcome.setValue(value);
|
||||
}
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return {@link #outcomeDesc} (A free text description of the outcome of the event.). This is the underlying object with id, value and extensions. The accessor "getOutcomeDesc" gives direct access to the value
|
||||
*/
|
||||
public StringType getOutcomeDescElement() {
|
||||
if (this.outcomeDesc == null)
|
||||
if (Configuration.errorOnAutoCreate())
|
||||
throw new Error("Attempt to auto-create AuditEvent.outcomeDesc");
|
||||
else if (Configuration.doAutoCreate())
|
||||
this.outcomeDesc = new StringType(); // bb
|
||||
return this.outcomeDesc;
|
||||
}
|
||||
|
||||
public boolean hasOutcomeDescElement() {
|
||||
return this.outcomeDesc != null && !this.outcomeDesc.isEmpty();
|
||||
}
|
||||
|
||||
public boolean hasOutcomeDesc() {
|
||||
return this.outcomeDesc != null && !this.outcomeDesc.isEmpty();
|
||||
}
|
||||
|
||||
/**
|
||||
* @param value {@link #outcomeDesc} (A free text description of the outcome of the event.). This is the underlying object with id, value and extensions. The accessor "getOutcomeDesc" gives direct access to the value
|
||||
*/
|
||||
public AuditEvent setOutcomeDescElement(StringType value) {
|
||||
this.outcomeDesc = value;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return A free text description of the outcome of the event.
|
||||
*/
|
||||
public String getOutcomeDesc() {
|
||||
return this.outcomeDesc == null ? null : this.outcomeDesc.getValue();
|
||||
}
|
||||
|
||||
/**
|
||||
* @param value A free text description of the outcome of the event.
|
||||
*/
|
||||
public AuditEvent setOutcomeDesc(String value) {
|
||||
if (Utilities.noString(value))
|
||||
this.outcomeDesc = null;
|
||||
else {
|
||||
if (this.outcomeDesc == null)
|
||||
this.outcomeDesc = new StringType();
|
||||
this.outcomeDesc.setValue(value);
|
||||
}
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return {@link #purposeOfEvent} (The purposeOfUse (reason) that was used during the event being recorded.)
|
||||
*/
|
||||
|
@ -3539,8 +3334,7 @@ public class AuditEvent extends DomainResource {
|
|||
children.add(new Property("severity", "code", "Indicates and enables segmentation of various severity including debugging from critical.", 0, 1, severity));
|
||||
children.add(new Property("period", "Period", "The period during which the activity occurred.", 0, 1, period));
|
||||
children.add(new Property("recorded", "instant", "The time when the event was recorded.", 0, 1, recorded));
|
||||
children.add(new Property("outcome", "code", "Indicates whether the event succeeded or failed.", 0, 1, outcome));
|
||||
children.add(new Property("outcomeDesc", "string", "A free text description of the outcome of the event.", 0, 1, outcomeDesc));
|
||||
children.add(new Property("outcome", "CodeableConcept", "Indicates whether the event succeeded or failed. A free text descripiton can be given in outcome.text.", 0, 1, outcome));
|
||||
children.add(new Property("purposeOfEvent", "CodeableConcept", "The purposeOfUse (reason) that was used during the event being recorded.", 0, java.lang.Integer.MAX_VALUE, purposeOfEvent));
|
||||
children.add(new Property("agent", "", "An actor taking an active role in the event or activity that is logged.", 0, java.lang.Integer.MAX_VALUE, agent));
|
||||
children.add(new Property("source", "", "The system that is reporting the event.", 0, 1, source));
|
||||
|
@ -3556,8 +3350,7 @@ public class AuditEvent extends DomainResource {
|
|||
case 1478300413: /*severity*/ return new Property("severity", "code", "Indicates and enables segmentation of various severity including debugging from critical.", 0, 1, severity);
|
||||
case -991726143: /*period*/ return new Property("period", "Period", "The period during which the activity occurred.", 0, 1, period);
|
||||
case -799233872: /*recorded*/ return new Property("recorded", "instant", "The time when the event was recorded.", 0, 1, recorded);
|
||||
case -1106507950: /*outcome*/ return new Property("outcome", "code", "Indicates whether the event succeeded or failed.", 0, 1, outcome);
|
||||
case 1062502659: /*outcomeDesc*/ return new Property("outcomeDesc", "string", "A free text description of the outcome of the event.", 0, 1, outcomeDesc);
|
||||
case -1106507950: /*outcome*/ return new Property("outcome", "CodeableConcept", "Indicates whether the event succeeded or failed. A free text descripiton can be given in outcome.text.", 0, 1, outcome);
|
||||
case -341917691: /*purposeOfEvent*/ return new Property("purposeOfEvent", "CodeableConcept", "The purposeOfUse (reason) that was used during the event being recorded.", 0, java.lang.Integer.MAX_VALUE, purposeOfEvent);
|
||||
case 92750597: /*agent*/ return new Property("agent", "", "An actor taking an active role in the event or activity that is logged.", 0, java.lang.Integer.MAX_VALUE, agent);
|
||||
case -896505829: /*source*/ return new Property("source", "", "The system that is reporting the event.", 0, 1, source);
|
||||
|
@ -3576,8 +3369,7 @@ public class AuditEvent extends DomainResource {
|
|||
case 1478300413: /*severity*/ return this.severity == null ? new Base[0] : new Base[] {this.severity}; // Enumeration<AuditEventSeverity>
|
||||
case -991726143: /*period*/ return this.period == null ? new Base[0] : new Base[] {this.period}; // Period
|
||||
case -799233872: /*recorded*/ return this.recorded == null ? new Base[0] : new Base[] {this.recorded}; // InstantType
|
||||
case -1106507950: /*outcome*/ return this.outcome == null ? new Base[0] : new Base[] {this.outcome}; // Enumeration<AuditEventOutcome>
|
||||
case 1062502659: /*outcomeDesc*/ return this.outcomeDesc == null ? new Base[0] : new Base[] {this.outcomeDesc}; // StringType
|
||||
case -1106507950: /*outcome*/ return this.outcome == null ? new Base[0] : new Base[] {this.outcome}; // CodeableConcept
|
||||
case -341917691: /*purposeOfEvent*/ return this.purposeOfEvent == null ? new Base[0] : this.purposeOfEvent.toArray(new Base[this.purposeOfEvent.size()]); // CodeableConcept
|
||||
case 92750597: /*agent*/ return this.agent == null ? new Base[0] : this.agent.toArray(new Base[this.agent.size()]); // AuditEventAgentComponent
|
||||
case -896505829: /*source*/ return this.source == null ? new Base[0] : new Base[] {this.source}; // AuditEventSourceComponent
|
||||
|
@ -3611,11 +3403,7 @@ public class AuditEvent extends DomainResource {
|
|||
this.recorded = TypeConvertor.castToInstant(value); // InstantType
|
||||
return value;
|
||||
case -1106507950: // outcome
|
||||
value = new AuditEventOutcomeEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.outcome = (Enumeration) value; // Enumeration<AuditEventOutcome>
|
||||
return value;
|
||||
case 1062502659: // outcomeDesc
|
||||
this.outcomeDesc = TypeConvertor.castToString(value); // StringType
|
||||
this.outcome = TypeConvertor.castToCodeableConcept(value); // CodeableConcept
|
||||
return value;
|
||||
case -341917691: // purposeOfEvent
|
||||
this.getPurposeOfEvent().add(TypeConvertor.castToCodeableConcept(value)); // CodeableConcept
|
||||
|
@ -3651,10 +3439,7 @@ public class AuditEvent extends DomainResource {
|
|||
} else if (name.equals("recorded")) {
|
||||
this.recorded = TypeConvertor.castToInstant(value); // InstantType
|
||||
} else if (name.equals("outcome")) {
|
||||
value = new AuditEventOutcomeEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.outcome = (Enumeration) value; // Enumeration<AuditEventOutcome>
|
||||
} else if (name.equals("outcomeDesc")) {
|
||||
this.outcomeDesc = TypeConvertor.castToString(value); // StringType
|
||||
this.outcome = TypeConvertor.castToCodeableConcept(value); // CodeableConcept
|
||||
} else if (name.equals("purposeOfEvent")) {
|
||||
this.getPurposeOfEvent().add(TypeConvertor.castToCodeableConcept(value));
|
||||
} else if (name.equals("agent")) {
|
||||
|
@ -3677,8 +3462,7 @@ public class AuditEvent extends DomainResource {
|
|||
case 1478300413: return getSeverityElement();
|
||||
case -991726143: return getPeriod();
|
||||
case -799233872: return getRecordedElement();
|
||||
case -1106507950: return getOutcomeElement();
|
||||
case 1062502659: return getOutcomeDescElement();
|
||||
case -1106507950: return getOutcome();
|
||||
case -341917691: return addPurposeOfEvent();
|
||||
case 92750597: return addAgent();
|
||||
case -896505829: return getSource();
|
||||
|
@ -3697,8 +3481,7 @@ public class AuditEvent extends DomainResource {
|
|||
case 1478300413: /*severity*/ return new String[] {"code"};
|
||||
case -991726143: /*period*/ return new String[] {"Period"};
|
||||
case -799233872: /*recorded*/ return new String[] {"instant"};
|
||||
case -1106507950: /*outcome*/ return new String[] {"code"};
|
||||
case 1062502659: /*outcomeDesc*/ return new String[] {"string"};
|
||||
case -1106507950: /*outcome*/ return new String[] {"CodeableConcept"};
|
||||
case -341917691: /*purposeOfEvent*/ return new String[] {"CodeableConcept"};
|
||||
case 92750597: /*agent*/ return new String[] {};
|
||||
case -896505829: /*source*/ return new String[] {};
|
||||
|
@ -3731,10 +3514,8 @@ public class AuditEvent extends DomainResource {
|
|||
throw new FHIRException("Cannot call addChild on a primitive type AuditEvent.recorded");
|
||||
}
|
||||
else if (name.equals("outcome")) {
|
||||
throw new FHIRException("Cannot call addChild on a primitive type AuditEvent.outcome");
|
||||
}
|
||||
else if (name.equals("outcomeDesc")) {
|
||||
throw new FHIRException("Cannot call addChild on a primitive type AuditEvent.outcomeDesc");
|
||||
this.outcome = new CodeableConcept();
|
||||
return this.outcome;
|
||||
}
|
||||
else if (name.equals("purposeOfEvent")) {
|
||||
return addPurposeOfEvent();
|
||||
|
@ -3777,7 +3558,6 @@ public class AuditEvent extends DomainResource {
|
|||
dst.period = period == null ? null : period.copy();
|
||||
dst.recorded = recorded == null ? null : recorded.copy();
|
||||
dst.outcome = outcome == null ? null : outcome.copy();
|
||||
dst.outcomeDesc = outcomeDesc == null ? null : outcomeDesc.copy();
|
||||
if (purposeOfEvent != null) {
|
||||
dst.purposeOfEvent = new ArrayList<CodeableConcept>();
|
||||
for (CodeableConcept i : purposeOfEvent)
|
||||
|
@ -3809,7 +3589,7 @@ public class AuditEvent extends DomainResource {
|
|||
AuditEvent o = (AuditEvent) other_;
|
||||
return compareDeep(type, o.type, true) && compareDeep(subtype, o.subtype, true) && compareDeep(action, o.action, true)
|
||||
&& compareDeep(severity, o.severity, true) && compareDeep(period, o.period, true) && compareDeep(recorded, o.recorded, true)
|
||||
&& compareDeep(outcome, o.outcome, true) && compareDeep(outcomeDesc, o.outcomeDesc, true) && compareDeep(purposeOfEvent, o.purposeOfEvent, true)
|
||||
&& compareDeep(outcome, o.outcome, true) && compareDeep(purposeOfEvent, o.purposeOfEvent, true)
|
||||
&& compareDeep(agent, o.agent, true) && compareDeep(source, o.source, true) && compareDeep(entity, o.entity, true)
|
||||
;
|
||||
}
|
||||
|
@ -3822,13 +3602,12 @@ public class AuditEvent extends DomainResource {
|
|||
return false;
|
||||
AuditEvent o = (AuditEvent) other_;
|
||||
return compareValues(action, o.action, true) && compareValues(severity, o.severity, true) && compareValues(recorded, o.recorded, true)
|
||||
&& compareValues(outcome, o.outcome, true) && compareValues(outcomeDesc, o.outcomeDesc, true);
|
||||
;
|
||||
}
|
||||
|
||||
public boolean isEmpty() {
|
||||
return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(type, subtype, action, severity
|
||||
, period, recorded, outcome, outcomeDesc, purposeOfEvent, agent, source, entity
|
||||
);
|
||||
, period, recorded, outcome, purposeOfEvent, agent, source, entity);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -4050,7 +3829,7 @@ public class AuditEvent extends DomainResource {
|
|||
* Path: <b>AuditEvent.entity.what</b><br>
|
||||
* </p>
|
||||
*/
|
||||
@SearchParamDefinition(name="entity", path="AuditEvent.entity.what", description="Specific instance of resource", type="reference", target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, CatalogEntry.class, ChargeItem.class, ChargeItemDefinition.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceMetric.class, DeviceRequest.class, DeviceUseStatement.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, Topic.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } )
|
||||
@SearchParamDefinition(name="entity", path="AuditEvent.entity.what", description="Specific instance of resource", type="reference", target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, CatalogEntry.class, ChargeItem.class, ChargeItemDefinition.class, Citation.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceMetric.class, DeviceRequest.class, DeviceUseStatement.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceFocus.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, NutritionProduct.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Permission.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, SubscriptionStatus.class, SubscriptionTopic.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } )
|
||||
public static final String SP_ENTITY = "entity";
|
||||
/**
|
||||
* <b>Fluent Client</b> search parameter constant for <b>entity</b>
|
||||
|
|
|
@ -49,7 +49,7 @@ package org.hl7.fhir.r5.model;
|
|||
POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
// Generated on Tue, Dec 31, 2019 12:12+1100 for FHIR vcurrent
|
||||
// Generated on Mon, May 11, 2020 09:58+1000 for FHIR vcurrent
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Date;
|
||||
|
|
|
@ -49,7 +49,7 @@ package org.hl7.fhir.r5.model;
|
|||
POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
// Generated on Tue, Dec 31, 2019 12:12+1100 for FHIR vcurrent
|
||||
// Generated on Mon, May 11, 2020 09:58+1000 for FHIR vcurrent
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Date;
|
||||
|
|
|
@ -49,7 +49,7 @@ package org.hl7.fhir.r5.model;
|
|||
POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
// Generated on Tue, Dec 31, 2019 12:12+1100 for FHIR vcurrent
|
||||
// Generated on Mon, May 11, 2020 09:58+1000 for FHIR vcurrent
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Date;
|
||||
|
@ -603,7 +603,7 @@ public class Basic extends DomainResource {
|
|||
* Path: <b>Basic.subject</b><br>
|
||||
* </p>
|
||||
*/
|
||||
@SearchParamDefinition(name="subject", path="Basic.subject", description="Identifies the focus of this resource", type="reference", target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, CatalogEntry.class, ChargeItem.class, ChargeItemDefinition.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceMetric.class, DeviceRequest.class, DeviceUseStatement.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, Topic.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } )
|
||||
@SearchParamDefinition(name="subject", path="Basic.subject", description="Identifies the focus of this resource", type="reference", target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, CatalogEntry.class, ChargeItem.class, ChargeItemDefinition.class, Citation.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceMetric.class, DeviceRequest.class, DeviceUseStatement.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceFocus.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, NutritionProduct.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Permission.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, SubscriptionStatus.class, SubscriptionTopic.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } )
|
||||
public static final String SP_SUBJECT = "subject";
|
||||
/**
|
||||
* <b>Fluent Client</b> search parameter constant for <b>subject</b>
|
||||
|
|
|
@ -49,7 +49,7 @@ package org.hl7.fhir.r5.model;
|
|||
POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
// Generated on Tue, Dec 31, 2019 12:12+1100 for FHIR vcurrent
|
||||
// Generated on Mon, May 11, 2020 09:58+1000 for FHIR vcurrent
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Date;
|
||||
|
|
|
@ -49,7 +49,7 @@ package org.hl7.fhir.r5.model;
|
|||
POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
// Generated on Tue, Dec 31, 2019 12:12+1100 for FHIR vcurrent
|
||||
// Generated on Mon, May 11, 2020 09:58+1000 for FHIR vcurrent
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Date;
|
||||
|
|
|
@ -49,7 +49,7 @@ package org.hl7.fhir.r5.model;
|
|||
POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
// Generated on Tue, Dec 31, 2019 12:12+1100 for FHIR vcurrent
|
||||
// Generated on Mon, May 11, 2020 09:58+1000 for FHIR vcurrent
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Date;
|
||||
|
|
|
@ -49,7 +49,7 @@ package org.hl7.fhir.r5.model;
|
|||
POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
// Generated on Tue, Dec 31, 2019 12:12+1100 for FHIR vcurrent
|
||||
// Generated on Mon, May 11, 2020 09:58+1000 for FHIR vcurrent
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Date;
|
||||
|
@ -112,6 +112,10 @@ public class Bundle extends Resource implements IBaseBundle {
|
|||
* The bundle is a set of resources collected into a single package for ease of distribution that imposes no processing obligations or behavioral rules beyond persistence.
|
||||
*/
|
||||
COLLECTION,
|
||||
/**
|
||||
* The bundle has been generated by a Subscription to communicate information to a client.
|
||||
*/
|
||||
SUBSCRIPTIONNOTIFICATION,
|
||||
/**
|
||||
* added to help the parsers with the generic types
|
||||
*/
|
||||
|
@ -137,6 +141,8 @@ public class Bundle extends Resource implements IBaseBundle {
|
|||
return SEARCHSET;
|
||||
if ("collection".equals(codeString))
|
||||
return COLLECTION;
|
||||
if ("subscription-notification".equals(codeString))
|
||||
return SUBSCRIPTIONNOTIFICATION;
|
||||
if (Configuration.isAcceptInvalidEnums())
|
||||
return null;
|
||||
else
|
||||
|
@ -153,6 +159,7 @@ public class Bundle extends Resource implements IBaseBundle {
|
|||
case HISTORY: return "history";
|
||||
case SEARCHSET: return "searchset";
|
||||
case COLLECTION: return "collection";
|
||||
case SUBSCRIPTIONNOTIFICATION: return "subscription-notification";
|
||||
default: return "?";
|
||||
}
|
||||
}
|
||||
|
@ -167,6 +174,7 @@ public class Bundle extends Resource implements IBaseBundle {
|
|||
case HISTORY: return "http://hl7.org/fhir/bundle-type";
|
||||
case SEARCHSET: return "http://hl7.org/fhir/bundle-type";
|
||||
case COLLECTION: return "http://hl7.org/fhir/bundle-type";
|
||||
case SUBSCRIPTIONNOTIFICATION: return "http://hl7.org/fhir/bundle-type";
|
||||
default: return "?";
|
||||
}
|
||||
}
|
||||
|
@ -181,6 +189,7 @@ public class Bundle extends Resource implements IBaseBundle {
|
|||
case HISTORY: return "The bundle is a list of resources from a history interaction on a server.";
|
||||
case SEARCHSET: return "The bundle is a list of resources returned as a result of a search/query interaction, operation, or message.";
|
||||
case COLLECTION: return "The bundle is a set of resources collected into a single package for ease of distribution that imposes no processing obligations or behavioral rules beyond persistence.";
|
||||
case SUBSCRIPTIONNOTIFICATION: return "The bundle has been generated by a Subscription to communicate information to a client.";
|
||||
default: return "?";
|
||||
}
|
||||
}
|
||||
|
@ -195,6 +204,7 @@ public class Bundle extends Resource implements IBaseBundle {
|
|||
case HISTORY: return "History List";
|
||||
case SEARCHSET: return "Search Results";
|
||||
case COLLECTION: return "Collection";
|
||||
case SUBSCRIPTIONNOTIFICATION: return "Subscription Notification";
|
||||
default: return "?";
|
||||
}
|
||||
}
|
||||
|
@ -223,6 +233,8 @@ public class Bundle extends Resource implements IBaseBundle {
|
|||
return BundleType.SEARCHSET;
|
||||
if ("collection".equals(codeString))
|
||||
return BundleType.COLLECTION;
|
||||
if ("subscription-notification".equals(codeString))
|
||||
return BundleType.SUBSCRIPTIONNOTIFICATION;
|
||||
throw new IllegalArgumentException("Unknown BundleType code '"+codeString+"'");
|
||||
}
|
||||
public Enumeration<BundleType> fromType(Base code) throws FHIRException {
|
||||
|
@ -251,6 +263,8 @@ public class Bundle extends Resource implements IBaseBundle {
|
|||
return new Enumeration<BundleType>(this, BundleType.SEARCHSET);
|
||||
if ("collection".equals(codeString))
|
||||
return new Enumeration<BundleType>(this, BundleType.COLLECTION);
|
||||
if ("subscription-notification".equals(codeString))
|
||||
return new Enumeration<BundleType>(this, BundleType.SUBSCRIPTIONNOTIFICATION);
|
||||
throw new FHIRException("Unknown BundleType code '"+codeString+"'");
|
||||
}
|
||||
public String toCode(BundleType code) {
|
||||
|
@ -272,6 +286,8 @@ public class Bundle extends Resource implements IBaseBundle {
|
|||
return "searchset";
|
||||
if (code == BundleType.COLLECTION)
|
||||
return "collection";
|
||||
if (code == BundleType.SUBSCRIPTIONNOTIFICATION)
|
||||
return "subscription-notification";
|
||||
return "?";
|
||||
}
|
||||
public String toSystem(BundleType code) {
|
||||
|
@ -2547,7 +2563,7 @@ public class Bundle extends Resource implements IBaseBundle {
|
|||
* Indicates the purpose of this bundle - how it is intended to be used.
|
||||
*/
|
||||
@Child(name = "type", type = {CodeType.class}, order=1, min=1, max=1, modifier=false, summary=true)
|
||||
@Description(shortDefinition="document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection", formalDefinition="Indicates the purpose of this bundle - how it is intended to be used." )
|
||||
@Description(shortDefinition="document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection | subscription-notification", formalDefinition="Indicates the purpose of this bundle - how it is intended to be used." )
|
||||
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/bundle-type")
|
||||
protected Enumeration<BundleType> type;
|
||||
|
||||
|
@ -3210,17 +3226,17 @@ public class Bundle extends Resource implements IBaseBundle {
|
|||
/**
|
||||
* Search parameter: <b>type</b>
|
||||
* <p>
|
||||
* Description: <b>document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection</b><br>
|
||||
* Description: <b>document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection | subscription-notification</b><br>
|
||||
* Type: <b>token</b><br>
|
||||
* Path: <b>Bundle.type</b><br>
|
||||
* </p>
|
||||
*/
|
||||
@SearchParamDefinition(name="type", path="Bundle.type", description="document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection", type="token" )
|
||||
@SearchParamDefinition(name="type", path="Bundle.type", description="document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection | subscription-notification", type="token" )
|
||||
public static final String SP_TYPE = "type";
|
||||
/**
|
||||
* <b>Fluent Client</b> search parameter constant for <b>type</b>
|
||||
* <p>
|
||||
* Description: <b>document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection</b><br>
|
||||
* Description: <b>document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection | subscription-notification</b><br>
|
||||
* Type: <b>token</b><br>
|
||||
* Path: <b>Bundle.type</b><br>
|
||||
* </p>
|
||||
|
|
|
@ -49,7 +49,7 @@ package org.hl7.fhir.r5.model;
|
|||
POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
// Generated on Tue, Dec 31, 2019 12:12+1100 for FHIR vcurrent
|
||||
// Generated on Mon, May 11, 2020 09:58+1000 for FHIR vcurrent
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Date;
|
||||
|
|
|
@ -49,7 +49,7 @@ package org.hl7.fhir.r5.model;
|
|||
POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
// Generated on Tue, Dec 31, 2019 12:12+1100 for FHIR vcurrent
|
||||
// Generated on Mon, May 11, 2020 09:58+1000 for FHIR vcurrent
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Date;
|
||||
|
|
|
@ -49,7 +49,7 @@ package org.hl7.fhir.r5.model;
|
|||
POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
// Generated on Tue, Dec 31, 2019 12:12+1100 for FHIR vcurrent
|
||||
// Generated on Mon, May 11, 2020 09:58+1000 for FHIR vcurrent
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Date;
|
||||
|
|
|
@ -49,7 +49,7 @@ package org.hl7.fhir.r5.model;
|
|||
POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
// Generated on Tue, Dec 31, 2019 12:12+1100 for FHIR vcurrent
|
||||
// Generated on Mon, May 11, 2020 09:58+1000 for FHIR vcurrent
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Date;
|
||||
|
@ -1045,9 +1045,10 @@ public class CarePlan extends DomainResource {
|
|||
/**
|
||||
* Identifies the facility where the activity will occur; e.g. home, hospital, specific clinic, etc.
|
||||
*/
|
||||
@Child(name = "location", type = {Location.class}, order=11, min=0, max=1, modifier=false, summary=false)
|
||||
@Child(name = "location", type = {CodeableReference.class}, order=11, min=0, max=1, modifier=false, summary=false)
|
||||
@Description(shortDefinition="Where it should happen", formalDefinition="Identifies the facility where the activity will occur; e.g. home, hospital, specific clinic, etc." )
|
||||
protected Reference location;
|
||||
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://terminology.hl7.org/ValueSet/v3-ServiceDeliveryLocationRoleType")
|
||||
protected CodeableReference location;
|
||||
|
||||
/**
|
||||
* Indicates if this record was captured as a secondary 'reported' record rather than as an original primary source-of-truth record. It may also indicate the source of the report.
|
||||
|
@ -1092,7 +1093,7 @@ public class CarePlan extends DomainResource {
|
|||
@Description(shortDefinition="Extra info describing activity to perform", formalDefinition="This provides a textual description of constraints on the intended activity occurrence, including relation to other activities. It may also include objectives, pre-conditions and end-conditions. Finally, it may convey specifics about the activity such as body site, method, route, etc." )
|
||||
protected StringType description;
|
||||
|
||||
private static final long serialVersionUID = 24430165L;
|
||||
private static final long serialVersionUID = -1258570436L;
|
||||
|
||||
/**
|
||||
* Constructor
|
||||
|
@ -1593,12 +1594,12 @@ public class CarePlan extends DomainResource {
|
|||
/**
|
||||
* @return {@link #location} (Identifies the facility where the activity will occur; e.g. home, hospital, specific clinic, etc.)
|
||||
*/
|
||||
public Reference getLocation() {
|
||||
public CodeableReference getLocation() {
|
||||
if (this.location == null)
|
||||
if (Configuration.errorOnAutoCreate())
|
||||
throw new Error("Attempt to auto-create CarePlanActivityDetailComponent.location");
|
||||
else if (Configuration.doAutoCreate())
|
||||
this.location = new Reference(); // cc
|
||||
this.location = new CodeableReference(); // cc
|
||||
return this.location;
|
||||
}
|
||||
|
||||
|
@ -1609,7 +1610,7 @@ public class CarePlan extends DomainResource {
|
|||
/**
|
||||
* @param value {@link #location} (Identifies the facility where the activity will occur; e.g. home, hospital, specific clinic, etc.)
|
||||
*/
|
||||
public CarePlanActivityDetailComponent setLocation(Reference value) {
|
||||
public CarePlanActivityDetailComponent setLocation(CodeableReference value) {
|
||||
this.location = value;
|
||||
return this;
|
||||
}
|
||||
|
@ -1878,7 +1879,7 @@ public class CarePlan extends DomainResource {
|
|||
children.add(new Property("statusReason", "CodeableConcept", "Provides reason why the activity isn't yet started, is on hold, was cancelled, etc.", 0, 1, statusReason));
|
||||
children.add(new Property("doNotPerform", "boolean", "If true, indicates that the described activity is one that must NOT be engaged in when following the plan. If false, or missing, indicates that the described activity is one that should be engaged in when following the plan.", 0, 1, doNotPerform));
|
||||
children.add(new Property("scheduled[x]", "Timing|Period|string", "The period, timing or frequency upon which the described activity is to occur.", 0, 1, scheduled));
|
||||
children.add(new Property("location", "Reference(Location)", "Identifies the facility where the activity will occur; e.g. home, hospital, specific clinic, etc.", 0, 1, location));
|
||||
children.add(new Property("location", "CodeableReference(Location)", "Identifies the facility where the activity will occur; e.g. home, hospital, specific clinic, etc.", 0, 1, location));
|
||||
children.add(new Property("reported[x]", "boolean|Reference(Patient|RelatedPerson|Practitioner|PractitionerRole|Organization)", "Indicates if this record was captured as a secondary 'reported' record rather than as an original primary source-of-truth record. It may also indicate the source of the report.", 0, 1, reported));
|
||||
children.add(new Property("performer", "Reference(Practitioner|PractitionerRole|Organization|RelatedPerson|Patient|CareTeam|HealthcareService|Device)", "Identifies who's expected to be involved in the activity.", 0, java.lang.Integer.MAX_VALUE, performer));
|
||||
children.add(new Property("product[x]", "CodeableConcept|Reference(Medication|Substance)", "Identifies the food, drug or other product to be consumed or supplied in the activity.", 0, 1, product));
|
||||
|
@ -1904,7 +1905,7 @@ public class CarePlan extends DomainResource {
|
|||
case 998483799: /*scheduledTiming*/ return new Property("scheduled[x]", "Timing", "The period, timing or frequency upon which the described activity is to occur.", 0, 1, scheduled);
|
||||
case 880422094: /*scheduledPeriod*/ return new Property("scheduled[x]", "Period", "The period, timing or frequency upon which the described activity is to occur.", 0, 1, scheduled);
|
||||
case 980162334: /*scheduledString*/ return new Property("scheduled[x]", "string", "The period, timing or frequency upon which the described activity is to occur.", 0, 1, scheduled);
|
||||
case 1901043637: /*location*/ return new Property("location", "Reference(Location)", "Identifies the facility where the activity will occur; e.g. home, hospital, specific clinic, etc.", 0, 1, location);
|
||||
case 1901043637: /*location*/ return new Property("location", "CodeableReference(Location)", "Identifies the facility where the activity will occur; e.g. home, hospital, specific clinic, etc.", 0, 1, location);
|
||||
case -241505587: /*reported[x]*/ return new Property("reported[x]", "boolean|Reference(Patient|RelatedPerson|Practitioner|PractitionerRole|Organization)", "Indicates if this record was captured as a secondary 'reported' record rather than as an original primary source-of-truth record. It may also indicate the source of the report.", 0, 1, reported);
|
||||
case -427039533: /*reported*/ return new Property("reported[x]", "boolean|Reference(Patient|RelatedPerson|Practitioner|PractitionerRole|Organization)", "Indicates if this record was captured as a secondary 'reported' record rather than as an original primary source-of-truth record. It may also indicate the source of the report.", 0, 1, reported);
|
||||
case 1219992533: /*reportedBoolean*/ return new Property("reported[x]", "boolean", "Indicates if this record was captured as a secondary 'reported' record rather than as an original primary source-of-truth record. It may also indicate the source of the report.", 0, 1, reported);
|
||||
|
@ -1935,7 +1936,7 @@ public class CarePlan extends DomainResource {
|
|||
case 2051346646: /*statusReason*/ return this.statusReason == null ? new Base[0] : new Base[] {this.statusReason}; // CodeableConcept
|
||||
case -1788508167: /*doNotPerform*/ return this.doNotPerform == null ? new Base[0] : new Base[] {this.doNotPerform}; // BooleanType
|
||||
case -160710483: /*scheduled*/ return this.scheduled == null ? new Base[0] : new Base[] {this.scheduled}; // DataType
|
||||
case 1901043637: /*location*/ return this.location == null ? new Base[0] : new Base[] {this.location}; // Reference
|
||||
case 1901043637: /*location*/ return this.location == null ? new Base[0] : new Base[] {this.location}; // CodeableReference
|
||||
case -427039533: /*reported*/ return this.reported == null ? new Base[0] : new Base[] {this.reported}; // DataType
|
||||
case 481140686: /*performer*/ return this.performer == null ? new Base[0] : this.performer.toArray(new Base[this.performer.size()]); // Reference
|
||||
case -309474065: /*product*/ return this.product == null ? new Base[0] : new Base[] {this.product}; // DataType
|
||||
|
@ -1983,7 +1984,7 @@ public class CarePlan extends DomainResource {
|
|||
this.scheduled = TypeConvertor.castToType(value); // DataType
|
||||
return value;
|
||||
case 1901043637: // location
|
||||
this.location = TypeConvertor.castToReference(value); // Reference
|
||||
this.location = TypeConvertor.castToCodeableReference(value); // CodeableReference
|
||||
return value;
|
||||
case -427039533: // reported
|
||||
this.reported = TypeConvertor.castToType(value); // DataType
|
||||
|
@ -2033,7 +2034,7 @@ public class CarePlan extends DomainResource {
|
|||
} else if (name.equals("scheduled[x]")) {
|
||||
this.scheduled = TypeConvertor.castToType(value); // DataType
|
||||
} else if (name.equals("location")) {
|
||||
this.location = TypeConvertor.castToReference(value); // Reference
|
||||
this.location = TypeConvertor.castToCodeableReference(value); // CodeableReference
|
||||
} else if (name.equals("reported[x]")) {
|
||||
this.reported = TypeConvertor.castToType(value); // DataType
|
||||
} else if (name.equals("performer")) {
|
||||
|
@ -2092,7 +2093,7 @@ public class CarePlan extends DomainResource {
|
|||
case 2051346646: /*statusReason*/ return new String[] {"CodeableConcept"};
|
||||
case -1788508167: /*doNotPerform*/ return new String[] {"boolean"};
|
||||
case -160710483: /*scheduled*/ return new String[] {"Timing", "Period", "string"};
|
||||
case 1901043637: /*location*/ return new String[] {"Reference"};
|
||||
case 1901043637: /*location*/ return new String[] {"CodeableReference"};
|
||||
case -427039533: /*reported*/ return new String[] {"boolean", "Reference"};
|
||||
case 481140686: /*performer*/ return new String[] {"Reference"};
|
||||
case -309474065: /*product*/ return new String[] {"CodeableConcept", "Reference"};
|
||||
|
@ -2148,7 +2149,7 @@ public class CarePlan extends DomainResource {
|
|||
return this.scheduled;
|
||||
}
|
||||
else if (name.equals("location")) {
|
||||
this.location = new Reference();
|
||||
this.location = new CodeableReference();
|
||||
return this.location;
|
||||
}
|
||||
else if (name.equals("reportedBoolean")) {
|
||||
|
@ -4073,26 +4074,6 @@ public class CarePlan extends DomainResource {
|
|||
*/
|
||||
public static final ca.uhn.fhir.rest.gclient.TokenClientParam ACTIVITY_CODE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_ACTIVITY_CODE);
|
||||
|
||||
/**
|
||||
* Search parameter: <b>activity-date</b>
|
||||
* <p>
|
||||
* Description: <b>Specified date occurs within period specified by CarePlan.activity.detail.scheduled[x]</b><br>
|
||||
* Type: <b>date</b><br>
|
||||
* Path: <b>CarePlan.activity.detail.scheduled</b><br>
|
||||
* </p>
|
||||
*/
|
||||
@SearchParamDefinition(name="activity-date", path="CarePlan.activity.detail.scheduled", description="Specified date occurs within period specified by CarePlan.activity.detail.scheduled[x]", type="date" )
|
||||
public static final String SP_ACTIVITY_DATE = "activity-date";
|
||||
/**
|
||||
* <b>Fluent Client</b> search parameter constant for <b>activity-date</b>
|
||||
* <p>
|
||||
* Description: <b>Specified date occurs within period specified by CarePlan.activity.detail.scheduled[x]</b><br>
|
||||
* Type: <b>date</b><br>
|
||||
* Path: <b>CarePlan.activity.detail.scheduled</b><br>
|
||||
* </p>
|
||||
*/
|
||||
public static final ca.uhn.fhir.rest.gclient.DateClientParam ACTIVITY_DATE = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_ACTIVITY_DATE);
|
||||
|
||||
/**
|
||||
* Search parameter: <b>activity-reference</b>
|
||||
* <p>
|
||||
|
@ -4119,6 +4100,46 @@ public class CarePlan extends DomainResource {
|
|||
*/
|
||||
public static final ca.uhn.fhir.model.api.Include INCLUDE_ACTIVITY_REFERENCE = new ca.uhn.fhir.model.api.Include("CarePlan:activity-reference").toLocked();
|
||||
|
||||
/**
|
||||
* Search parameter: <b>activity-scheduled-date</b>
|
||||
* <p>
|
||||
* Description: <b>Specified date occurs within period specified by CarePlan.activity.detail.scheduled[x]</b><br>
|
||||
* Type: <b>date</b><br>
|
||||
* Path: <b>CarePlan.activity.detail.scheduled.as(Timing) | CarePlan.activity.detail.scheduled.as(Period)</b><br>
|
||||
* </p>
|
||||
*/
|
||||
@SearchParamDefinition(name="activity-scheduled-date", path="CarePlan.activity.detail.scheduled.as(Timing) | CarePlan.activity.detail.scheduled.as(Period)", description="Specified date occurs within period specified by CarePlan.activity.detail.scheduled[x]", type="date" )
|
||||
public static final String SP_ACTIVITY_SCHEDULED_DATE = "activity-scheduled-date";
|
||||
/**
|
||||
* <b>Fluent Client</b> search parameter constant for <b>activity-scheduled-date</b>
|
||||
* <p>
|
||||
* Description: <b>Specified date occurs within period specified by CarePlan.activity.detail.scheduled[x]</b><br>
|
||||
* Type: <b>date</b><br>
|
||||
* Path: <b>CarePlan.activity.detail.scheduled.as(Timing) | CarePlan.activity.detail.scheduled.as(Period)</b><br>
|
||||
* </p>
|
||||
*/
|
||||
public static final ca.uhn.fhir.rest.gclient.DateClientParam ACTIVITY_SCHEDULED_DATE = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_ACTIVITY_SCHEDULED_DATE);
|
||||
|
||||
/**
|
||||
* Search parameter: <b>activity-scheduled-string</b>
|
||||
* <p>
|
||||
* Description: <b>When activity is to occur</b><br>
|
||||
* Type: <b>string</b><br>
|
||||
* Path: <b>CarePlan.activity.detail.scheduled.as(string)</b><br>
|
||||
* </p>
|
||||
*/
|
||||
@SearchParamDefinition(name="activity-scheduled-string", path="CarePlan.activity.detail.scheduled.as(string)", description="When activity is to occur", type="string" )
|
||||
public static final String SP_ACTIVITY_SCHEDULED_STRING = "activity-scheduled-string";
|
||||
/**
|
||||
* <b>Fluent Client</b> search parameter constant for <b>activity-scheduled-string</b>
|
||||
* <p>
|
||||
* Description: <b>When activity is to occur</b><br>
|
||||
* Type: <b>string</b><br>
|
||||
* Path: <b>CarePlan.activity.detail.scheduled.as(string)</b><br>
|
||||
* </p>
|
||||
*/
|
||||
public static final ca.uhn.fhir.rest.gclient.StringClientParam ACTIVITY_SCHEDULED_STRING = new ca.uhn.fhir.rest.gclient.StringClientParam(SP_ACTIVITY_SCHEDULED_STRING);
|
||||
|
||||
/**
|
||||
* Search parameter: <b>based-on</b>
|
||||
* <p>
|
||||
|
@ -4483,10 +4504,10 @@ public class CarePlan extends DomainResource {
|
|||
* [SupplyRequest](supplyrequest.html): When the request was made
|
||||
</b><br>
|
||||
* Type: <b>date</b><br>
|
||||
* Path: <b>AllergyIntolerance.recordedDate | CarePlan.period | ClinicalImpression.date | Composition.date | Consent.dateTime | DiagnosticReport.effective | Encounter.period | EpisodeOfCare.period | FamilyMemberHistory.date | Flag.period | Immunization.occurrence | List.date | Observation.effective | Procedure.occurrence | (RiskAssessment.occurrence as dateTime) | SupplyRequest.authoredOn</b><br>
|
||||
* Path: <b>AllergyIntolerance.recordedDate | CarePlan.period | ClinicalImpression.date | Composition.date | Consent.dateTime | DiagnosticReport.effective | Encounter.period | EpisodeOfCare.period | FamilyMemberHistory.date | Flag.period | (Immunization.occurrence as dateTime) | List.date | Observation.effective | Procedure.occurrence | (RiskAssessment.occurrence as dateTime) | SupplyRequest.authoredOn</b><br>
|
||||
* </p>
|
||||
*/
|
||||
@SearchParamDefinition(name="date", path="AllergyIntolerance.recordedDate | CarePlan.period | ClinicalImpression.date | Composition.date | Consent.dateTime | DiagnosticReport.effective | Encounter.period | EpisodeOfCare.period | FamilyMemberHistory.date | Flag.period | Immunization.occurrence | List.date | Observation.effective | Procedure.occurrence | (RiskAssessment.occurrence as dateTime) | SupplyRequest.authoredOn", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): Date first version of the resource instance was recorded\r\n* [CarePlan](careplan.html): Time period plan covers\r\n* [CareTeam](careteam.html): A date within the coverage time period.\r\n* [ClinicalImpression](clinicalimpression.html): When the assessment was documented\r\n* [Composition](composition.html): Composition editing time\r\n* [Consent](consent.html): When consent was agreed to\r\n* [DiagnosticReport](diagnosticreport.html): The clinically relevant time of the report\r\n* [Encounter](encounter.html): A date within the period the Encounter lasted\r\n* [EpisodeOfCare](episodeofcare.html): The provided date search value falls within the episode of care's period\r\n* [FamilyMemberHistory](familymemberhistory.html): When history was recorded or last updated\r\n* [Flag](flag.html): Time period when flag is active\r\n* [Immunization](immunization.html): Vaccination (non)-Administration Date\r\n* [List](list.html): When the list was prepared\r\n* [Observation](observation.html): Obtained date/time. If the obtained element is a period, a date that falls in the period\r\n* [Procedure](procedure.html): When the procedure occurred or is occurring\r\n* [RiskAssessment](riskassessment.html): When was assessment made?\r\n* [SupplyRequest](supplyrequest.html): When the request was made\r\n", type="date" )
|
||||
@SearchParamDefinition(name="date", path="AllergyIntolerance.recordedDate | CarePlan.period | ClinicalImpression.date | Composition.date | Consent.dateTime | DiagnosticReport.effective | Encounter.period | EpisodeOfCare.period | FamilyMemberHistory.date | Flag.period | (Immunization.occurrence as dateTime) | List.date | Observation.effective | Procedure.occurrence | (RiskAssessment.occurrence as dateTime) | SupplyRequest.authoredOn", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): Date first version of the resource instance was recorded\r\n* [CarePlan](careplan.html): Time period plan covers\r\n* [CareTeam](careteam.html): A date within the coverage time period.\r\n* [ClinicalImpression](clinicalimpression.html): When the assessment was documented\r\n* [Composition](composition.html): Composition editing time\r\n* [Consent](consent.html): When consent was agreed to\r\n* [DiagnosticReport](diagnosticreport.html): The clinically relevant time of the report\r\n* [Encounter](encounter.html): A date within the period the Encounter lasted\r\n* [EpisodeOfCare](episodeofcare.html): The provided date search value falls within the episode of care's period\r\n* [FamilyMemberHistory](familymemberhistory.html): When history was recorded or last updated\r\n* [Flag](flag.html): Time period when flag is active\r\n* [Immunization](immunization.html): Vaccination (non)-Administration Date\r\n* [List](list.html): When the list was prepared\r\n* [Observation](observation.html): Obtained date/time. If the obtained element is a period, a date that falls in the period\r\n* [Procedure](procedure.html): When the procedure occurred or is occurring\r\n* [RiskAssessment](riskassessment.html): When was assessment made?\r\n* [SupplyRequest](supplyrequest.html): When the request was made\r\n", type="date" )
|
||||
public static final String SP_DATE = "date";
|
||||
/**
|
||||
* <b>Fluent Client</b> search parameter constant for <b>date</b>
|
||||
|
@ -4512,7 +4533,7 @@ public class CarePlan extends DomainResource {
|
|||
* [SupplyRequest](supplyrequest.html): When the request was made
|
||||
</b><br>
|
||||
* Type: <b>date</b><br>
|
||||
* Path: <b>AllergyIntolerance.recordedDate | CarePlan.period | ClinicalImpression.date | Composition.date | Consent.dateTime | DiagnosticReport.effective | Encounter.period | EpisodeOfCare.period | FamilyMemberHistory.date | Flag.period | Immunization.occurrence | List.date | Observation.effective | Procedure.occurrence | (RiskAssessment.occurrence as dateTime) | SupplyRequest.authoredOn</b><br>
|
||||
* Path: <b>AllergyIntolerance.recordedDate | CarePlan.period | ClinicalImpression.date | Composition.date | Consent.dateTime | DiagnosticReport.effective | Encounter.period | EpisodeOfCare.period | FamilyMemberHistory.date | Flag.period | (Immunization.occurrence as dateTime) | List.date | Observation.effective | Procedure.occurrence | (RiskAssessment.occurrence as dateTime) | SupplyRequest.authoredOn</b><br>
|
||||
* </p>
|
||||
*/
|
||||
public static final ca.uhn.fhir.rest.gclient.DateClientParam DATE = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_DATE);
|
||||
|
@ -4640,10 +4661,10 @@ public class CarePlan extends DomainResource {
|
|||
* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for
|
||||
</b><br>
|
||||
* Type: <b>reference</b><br>
|
||||
* Path: <b>AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.patient | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUseStatement.subject | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient</b><br>
|
||||
* Path: <b>AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.subject.where(resolve() is Patient) | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUseStatement.subject | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient</b><br>
|
||||
* </p>
|
||||
*/
|
||||
@SearchParamDefinition(name="patient", path="AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.patient | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUseStatement.subject | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): Who the sensitivity is for\r\n* [CarePlan](careplan.html): Who the care plan is for\r\n* [CareTeam](careteam.html): Who care team is for\r\n* [ClinicalImpression](clinicalimpression.html): Patient or group assessed\r\n* [Composition](composition.html): Who and/or what the composition is about\r\n* [Condition](condition.html): Who has the condition?\r\n* [Consent](consent.html): Who the consent applies to\r\n* [DetectedIssue](detectedissue.html): Associated patient\r\n* [DeviceRequest](devicerequest.html): Individual the service is ordered for\r\n* [DeviceUseStatement](deviceusestatement.html): Search by subject - a patient\r\n* [DiagnosticReport](diagnosticreport.html): The subject of the report if a patient\r\n* [DocumentManifest](documentmanifest.html): The subject of the set of documents\r\n* [DocumentReference](documentreference.html): Who/what is the subject of the document\r\n* [Encounter](encounter.html): The patient or group present at the encounter\r\n* [EpisodeOfCare](episodeofcare.html): The patient who is the focus of this episode of care\r\n* [FamilyMemberHistory](familymemberhistory.html): The identity of a subject to list family member history items for\r\n* [Flag](flag.html): The identity of a subject to list flags for\r\n* [Goal](goal.html): Who this goal is intended for\r\n* [ImagingStudy](imagingstudy.html): Who the study is about\r\n* [Immunization](immunization.html): The patient for the vaccination record\r\n* [List](list.html): If all resources have the same subject\r\n* [MedicationAdministration](medicationadministration.html): The identity of a patient to list administrations for\r\n* [MedicationDispense](medicationdispense.html): The identity of a patient to list dispenses for\r\n* [MedicationRequest](medicationrequest.html): Returns prescriptions for a specific patient\r\n* [MedicationUsage](medicationusage.html): Returns statements for a specific patient.\r\n* [NutritionOrder](nutritionorder.html): The identity of the person who requires the diet, formula or nutritional supplement\r\n* [Observation](observation.html): The subject that the observation is about (if patient)\r\n* [Procedure](procedure.html): Search by subject - a patient\r\n* [RiskAssessment](riskassessment.html): Who/what does assessment apply to?\r\n* [ServiceRequest](servicerequest.html): Search by subject - a patient\r\n* [SupplyDelivery](supplydelivery.html): Patient for whom the item is supplied\r\n* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for\r\n", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Patient") }, target={Group.class, Patient.class } )
|
||||
@SearchParamDefinition(name="patient", path="AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.subject.where(resolve() is Patient) | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUseStatement.subject | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): Who the sensitivity is for\r\n* [CarePlan](careplan.html): Who the care plan is for\r\n* [CareTeam](careteam.html): Who care team is for\r\n* [ClinicalImpression](clinicalimpression.html): Patient or group assessed\r\n* [Composition](composition.html): Who and/or what the composition is about\r\n* [Condition](condition.html): Who has the condition?\r\n* [Consent](consent.html): Who the consent applies to\r\n* [DetectedIssue](detectedissue.html): Associated patient\r\n* [DeviceRequest](devicerequest.html): Individual the service is ordered for\r\n* [DeviceUseStatement](deviceusestatement.html): Search by subject - a patient\r\n* [DiagnosticReport](diagnosticreport.html): The subject of the report if a patient\r\n* [DocumentManifest](documentmanifest.html): The subject of the set of documents\r\n* [DocumentReference](documentreference.html): Who/what is the subject of the document\r\n* [Encounter](encounter.html): The patient or group present at the encounter\r\n* [EpisodeOfCare](episodeofcare.html): The patient who is the focus of this episode of care\r\n* [FamilyMemberHistory](familymemberhistory.html): The identity of a subject to list family member history items for\r\n* [Flag](flag.html): The identity of a subject to list flags for\r\n* [Goal](goal.html): Who this goal is intended for\r\n* [ImagingStudy](imagingstudy.html): Who the study is about\r\n* [Immunization](immunization.html): The patient for the vaccination record\r\n* [List](list.html): If all resources have the same subject\r\n* [MedicationAdministration](medicationadministration.html): The identity of a patient to list administrations for\r\n* [MedicationDispense](medicationdispense.html): The identity of a patient to list dispenses for\r\n* [MedicationRequest](medicationrequest.html): Returns prescriptions for a specific patient\r\n* [MedicationUsage](medicationusage.html): Returns statements for a specific patient.\r\n* [NutritionOrder](nutritionorder.html): The identity of the person who requires the diet, formula or nutritional supplement\r\n* [Observation](observation.html): The subject that the observation is about (if patient)\r\n* [Procedure](procedure.html): Search by subject - a patient\r\n* [RiskAssessment](riskassessment.html): Who/what does assessment apply to?\r\n* [ServiceRequest](servicerequest.html): Search by subject - a patient\r\n* [SupplyDelivery](supplydelivery.html): Patient for whom the item is supplied\r\n* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for\r\n", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Patient") }, target={Group.class, Patient.class } )
|
||||
public static final String SP_PATIENT = "patient";
|
||||
/**
|
||||
* <b>Fluent Client</b> search parameter constant for <b>patient</b>
|
||||
|
@ -4684,7 +4705,7 @@ public class CarePlan extends DomainResource {
|
|||
* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for
|
||||
</b><br>
|
||||
* Type: <b>reference</b><br>
|
||||
* Path: <b>AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.patient | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUseStatement.subject | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient</b><br>
|
||||
* Path: <b>AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.subject.where(resolve() is Patient) | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUseStatement.subject | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient</b><br>
|
||||
* </p>
|
||||
*/
|
||||
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PATIENT);
|
||||
|
|
|
@ -49,7 +49,7 @@ package org.hl7.fhir.r5.model;
|
|||
POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
// Generated on Tue, Dec 31, 2019 12:12+1100 for FHIR vcurrent
|
||||
// Generated on Mon, May 11, 2020 09:58+1000 for FHIR vcurrent
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Date;
|
||||
|
@ -1582,10 +1582,10 @@ public class CareTeam extends DomainResource {
|
|||
* [SupplyRequest](supplyrequest.html): When the request was made
|
||||
</b><br>
|
||||
* Type: <b>date</b><br>
|
||||
* Path: <b>AllergyIntolerance.recordedDate | CarePlan.period | ClinicalImpression.date | Composition.date | Consent.dateTime | DiagnosticReport.effective | Encounter.period | EpisodeOfCare.period | FamilyMemberHistory.date | Flag.period | Immunization.occurrence | List.date | Observation.effective | Procedure.occurrence | (RiskAssessment.occurrence as dateTime) | SupplyRequest.authoredOn</b><br>
|
||||
* Path: <b>AllergyIntolerance.recordedDate | CarePlan.period | ClinicalImpression.date | Composition.date | Consent.dateTime | DiagnosticReport.effective | Encounter.period | EpisodeOfCare.period | FamilyMemberHistory.date | Flag.period | (Immunization.occurrence as dateTime) | List.date | Observation.effective | Procedure.occurrence | (RiskAssessment.occurrence as dateTime) | SupplyRequest.authoredOn</b><br>
|
||||
* </p>
|
||||
*/
|
||||
@SearchParamDefinition(name="date", path="AllergyIntolerance.recordedDate | CarePlan.period | ClinicalImpression.date | Composition.date | Consent.dateTime | DiagnosticReport.effective | Encounter.period | EpisodeOfCare.period | FamilyMemberHistory.date | Flag.period | Immunization.occurrence | List.date | Observation.effective | Procedure.occurrence | (RiskAssessment.occurrence as dateTime) | SupplyRequest.authoredOn", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): Date first version of the resource instance was recorded\r\n* [CarePlan](careplan.html): Time period plan covers\r\n* [CareTeam](careteam.html): A date within the coverage time period.\r\n* [ClinicalImpression](clinicalimpression.html): When the assessment was documented\r\n* [Composition](composition.html): Composition editing time\r\n* [Consent](consent.html): When consent was agreed to\r\n* [DiagnosticReport](diagnosticreport.html): The clinically relevant time of the report\r\n* [Encounter](encounter.html): A date within the period the Encounter lasted\r\n* [EpisodeOfCare](episodeofcare.html): The provided date search value falls within the episode of care's period\r\n* [FamilyMemberHistory](familymemberhistory.html): When history was recorded or last updated\r\n* [Flag](flag.html): Time period when flag is active\r\n* [Immunization](immunization.html): Vaccination (non)-Administration Date\r\n* [List](list.html): When the list was prepared\r\n* [Observation](observation.html): Obtained date/time. If the obtained element is a period, a date that falls in the period\r\n* [Procedure](procedure.html): When the procedure occurred or is occurring\r\n* [RiskAssessment](riskassessment.html): When was assessment made?\r\n* [SupplyRequest](supplyrequest.html): When the request was made\r\n", type="date" )
|
||||
@SearchParamDefinition(name="date", path="AllergyIntolerance.recordedDate | CarePlan.period | ClinicalImpression.date | Composition.date | Consent.dateTime | DiagnosticReport.effective | Encounter.period | EpisodeOfCare.period | FamilyMemberHistory.date | Flag.period | (Immunization.occurrence as dateTime) | List.date | Observation.effective | Procedure.occurrence | (RiskAssessment.occurrence as dateTime) | SupplyRequest.authoredOn", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): Date first version of the resource instance was recorded\r\n* [CarePlan](careplan.html): Time period plan covers\r\n* [CareTeam](careteam.html): A date within the coverage time period.\r\n* [ClinicalImpression](clinicalimpression.html): When the assessment was documented\r\n* [Composition](composition.html): Composition editing time\r\n* [Consent](consent.html): When consent was agreed to\r\n* [DiagnosticReport](diagnosticreport.html): The clinically relevant time of the report\r\n* [Encounter](encounter.html): A date within the period the Encounter lasted\r\n* [EpisodeOfCare](episodeofcare.html): The provided date search value falls within the episode of care's period\r\n* [FamilyMemberHistory](familymemberhistory.html): When history was recorded or last updated\r\n* [Flag](flag.html): Time period when flag is active\r\n* [Immunization](immunization.html): Vaccination (non)-Administration Date\r\n* [List](list.html): When the list was prepared\r\n* [Observation](observation.html): Obtained date/time. If the obtained element is a period, a date that falls in the period\r\n* [Procedure](procedure.html): When the procedure occurred or is occurring\r\n* [RiskAssessment](riskassessment.html): When was assessment made?\r\n* [SupplyRequest](supplyrequest.html): When the request was made\r\n", type="date" )
|
||||
public static final String SP_DATE = "date";
|
||||
/**
|
||||
* <b>Fluent Client</b> search parameter constant for <b>date</b>
|
||||
|
@ -1611,7 +1611,7 @@ public class CareTeam extends DomainResource {
|
|||
* [SupplyRequest](supplyrequest.html): When the request was made
|
||||
</b><br>
|
||||
* Type: <b>date</b><br>
|
||||
* Path: <b>AllergyIntolerance.recordedDate | CarePlan.period | ClinicalImpression.date | Composition.date | Consent.dateTime | DiagnosticReport.effective | Encounter.period | EpisodeOfCare.period | FamilyMemberHistory.date | Flag.period | Immunization.occurrence | List.date | Observation.effective | Procedure.occurrence | (RiskAssessment.occurrence as dateTime) | SupplyRequest.authoredOn</b><br>
|
||||
* Path: <b>AllergyIntolerance.recordedDate | CarePlan.period | ClinicalImpression.date | Composition.date | Consent.dateTime | DiagnosticReport.effective | Encounter.period | EpisodeOfCare.period | FamilyMemberHistory.date | Flag.period | (Immunization.occurrence as dateTime) | List.date | Observation.effective | Procedure.occurrence | (RiskAssessment.occurrence as dateTime) | SupplyRequest.authoredOn</b><br>
|
||||
* </p>
|
||||
*/
|
||||
public static final ca.uhn.fhir.rest.gclient.DateClientParam DATE = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_DATE);
|
||||
|
@ -1739,10 +1739,10 @@ public class CareTeam extends DomainResource {
|
|||
* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for
|
||||
</b><br>
|
||||
* Type: <b>reference</b><br>
|
||||
* Path: <b>AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.patient | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUseStatement.subject | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient</b><br>
|
||||
* Path: <b>AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.subject.where(resolve() is Patient) | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUseStatement.subject | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient</b><br>
|
||||
* </p>
|
||||
*/
|
||||
@SearchParamDefinition(name="patient", path="AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.patient | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUseStatement.subject | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): Who the sensitivity is for\r\n* [CarePlan](careplan.html): Who the care plan is for\r\n* [CareTeam](careteam.html): Who care team is for\r\n* [ClinicalImpression](clinicalimpression.html): Patient or group assessed\r\n* [Composition](composition.html): Who and/or what the composition is about\r\n* [Condition](condition.html): Who has the condition?\r\n* [Consent](consent.html): Who the consent applies to\r\n* [DetectedIssue](detectedissue.html): Associated patient\r\n* [DeviceRequest](devicerequest.html): Individual the service is ordered for\r\n* [DeviceUseStatement](deviceusestatement.html): Search by subject - a patient\r\n* [DiagnosticReport](diagnosticreport.html): The subject of the report if a patient\r\n* [DocumentManifest](documentmanifest.html): The subject of the set of documents\r\n* [DocumentReference](documentreference.html): Who/what is the subject of the document\r\n* [Encounter](encounter.html): The patient or group present at the encounter\r\n* [EpisodeOfCare](episodeofcare.html): The patient who is the focus of this episode of care\r\n* [FamilyMemberHistory](familymemberhistory.html): The identity of a subject to list family member history items for\r\n* [Flag](flag.html): The identity of a subject to list flags for\r\n* [Goal](goal.html): Who this goal is intended for\r\n* [ImagingStudy](imagingstudy.html): Who the study is about\r\n* [Immunization](immunization.html): The patient for the vaccination record\r\n* [List](list.html): If all resources have the same subject\r\n* [MedicationAdministration](medicationadministration.html): The identity of a patient to list administrations for\r\n* [MedicationDispense](medicationdispense.html): The identity of a patient to list dispenses for\r\n* [MedicationRequest](medicationrequest.html): Returns prescriptions for a specific patient\r\n* [MedicationUsage](medicationusage.html): Returns statements for a specific patient.\r\n* [NutritionOrder](nutritionorder.html): The identity of the person who requires the diet, formula or nutritional supplement\r\n* [Observation](observation.html): The subject that the observation is about (if patient)\r\n* [Procedure](procedure.html): Search by subject - a patient\r\n* [RiskAssessment](riskassessment.html): Who/what does assessment apply to?\r\n* [ServiceRequest](servicerequest.html): Search by subject - a patient\r\n* [SupplyDelivery](supplydelivery.html): Patient for whom the item is supplied\r\n* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for\r\n", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Patient") }, target={Group.class, Patient.class } )
|
||||
@SearchParamDefinition(name="patient", path="AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.subject.where(resolve() is Patient) | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUseStatement.subject | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): Who the sensitivity is for\r\n* [CarePlan](careplan.html): Who the care plan is for\r\n* [CareTeam](careteam.html): Who care team is for\r\n* [ClinicalImpression](clinicalimpression.html): Patient or group assessed\r\n* [Composition](composition.html): Who and/or what the composition is about\r\n* [Condition](condition.html): Who has the condition?\r\n* [Consent](consent.html): Who the consent applies to\r\n* [DetectedIssue](detectedissue.html): Associated patient\r\n* [DeviceRequest](devicerequest.html): Individual the service is ordered for\r\n* [DeviceUseStatement](deviceusestatement.html): Search by subject - a patient\r\n* [DiagnosticReport](diagnosticreport.html): The subject of the report if a patient\r\n* [DocumentManifest](documentmanifest.html): The subject of the set of documents\r\n* [DocumentReference](documentreference.html): Who/what is the subject of the document\r\n* [Encounter](encounter.html): The patient or group present at the encounter\r\n* [EpisodeOfCare](episodeofcare.html): The patient who is the focus of this episode of care\r\n* [FamilyMemberHistory](familymemberhistory.html): The identity of a subject to list family member history items for\r\n* [Flag](flag.html): The identity of a subject to list flags for\r\n* [Goal](goal.html): Who this goal is intended for\r\n* [ImagingStudy](imagingstudy.html): Who the study is about\r\n* [Immunization](immunization.html): The patient for the vaccination record\r\n* [List](list.html): If all resources have the same subject\r\n* [MedicationAdministration](medicationadministration.html): The identity of a patient to list administrations for\r\n* [MedicationDispense](medicationdispense.html): The identity of a patient to list dispenses for\r\n* [MedicationRequest](medicationrequest.html): Returns prescriptions for a specific patient\r\n* [MedicationUsage](medicationusage.html): Returns statements for a specific patient.\r\n* [NutritionOrder](nutritionorder.html): The identity of the person who requires the diet, formula or nutritional supplement\r\n* [Observation](observation.html): The subject that the observation is about (if patient)\r\n* [Procedure](procedure.html): Search by subject - a patient\r\n* [RiskAssessment](riskassessment.html): Who/what does assessment apply to?\r\n* [ServiceRequest](servicerequest.html): Search by subject - a patient\r\n* [SupplyDelivery](supplydelivery.html): Patient for whom the item is supplied\r\n* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for\r\n", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Patient") }, target={Group.class, Patient.class } )
|
||||
public static final String SP_PATIENT = "patient";
|
||||
/**
|
||||
* <b>Fluent Client</b> search parameter constant for <b>patient</b>
|
||||
|
@ -1783,7 +1783,7 @@ public class CareTeam extends DomainResource {
|
|||
* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for
|
||||
</b><br>
|
||||
* Type: <b>reference</b><br>
|
||||
* Path: <b>AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.patient | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUseStatement.subject | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient</b><br>
|
||||
* Path: <b>AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.subject.where(resolve() is Patient) | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUseStatement.subject | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient</b><br>
|
||||
* </p>
|
||||
*/
|
||||
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PATIENT);
|
||||
|
|
|
@ -49,7 +49,7 @@ package org.hl7.fhir.r5.model;
|
|||
POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
// Generated on Tue, Dec 31, 2019 12:12+1100 for FHIR vcurrent
|
||||
// Generated on Mon, May 11, 2020 09:58+1000 for FHIR vcurrent
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Date;
|
||||
|
|
|
@ -49,7 +49,7 @@ package org.hl7.fhir.r5.model;
|
|||
POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
// Generated on Tue, Dec 31, 2019 12:12+1100 for FHIR vcurrent
|
||||
// Generated on Mon, May 11, 2020 09:58+1000 for FHIR vcurrent
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Date;
|
||||
|
|
|
@ -49,7 +49,7 @@ package org.hl7.fhir.r5.model;
|
|||
POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
// Generated on Tue, Dec 31, 2019 12:12+1100 for FHIR vcurrent
|
||||
// Generated on Mon, May 11, 2020 09:58+1000 for FHIR vcurrent
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Date;
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -49,7 +49,7 @@ package org.hl7.fhir.r5.model;
|
|||
POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
// Generated on Tue, Dec 31, 2019 12:12+1100 for FHIR vcurrent
|
||||
// Generated on Mon, May 11, 2020 09:58+1000 for FHIR vcurrent
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Date;
|
||||
|
|
|
@ -49,7 +49,7 @@ package org.hl7.fhir.r5.model;
|
|||
POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
// Generated on Tue, Dec 31, 2019 12:12+1100 for FHIR vcurrent
|
||||
// Generated on Mon, May 11, 2020 09:58+1000 for FHIR vcurrent
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Date;
|
||||
|
|
|
@ -49,7 +49,7 @@ package org.hl7.fhir.r5.model;
|
|||
POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
// Generated on Tue, Dec 31, 2019 12:12+1100 for FHIR vcurrent
|
||||
// Generated on Mon, May 11, 2020 09:58+1000 for FHIR vcurrent
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Date;
|
||||
|
@ -1880,7 +1880,7 @@ public class ClinicalImpression extends DomainResource {
|
|||
* Path: <b>ClinicalImpression.supportingInfo</b><br>
|
||||
* </p>
|
||||
*/
|
||||
@SearchParamDefinition(name="supporting-info", path="ClinicalImpression.supportingInfo", description="Information supporting the clinical impression", type="reference", target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, CatalogEntry.class, ChargeItem.class, ChargeItemDefinition.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceMetric.class, DeviceRequest.class, DeviceUseStatement.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, Topic.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } )
|
||||
@SearchParamDefinition(name="supporting-info", path="ClinicalImpression.supportingInfo", description="Information supporting the clinical impression", type="reference", target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, CatalogEntry.class, ChargeItem.class, ChargeItemDefinition.class, Citation.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceMetric.class, DeviceRequest.class, DeviceUseStatement.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceFocus.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, NutritionProduct.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Permission.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, SubscriptionStatus.class, SubscriptionTopic.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } )
|
||||
public static final String SP_SUPPORTING_INFO = "supporting-info";
|
||||
/**
|
||||
* <b>Fluent Client</b> search parameter constant for <b>supporting-info</b>
|
||||
|
@ -1922,10 +1922,10 @@ public class ClinicalImpression extends DomainResource {
|
|||
* [SupplyRequest](supplyrequest.html): When the request was made
|
||||
</b><br>
|
||||
* Type: <b>date</b><br>
|
||||
* Path: <b>AllergyIntolerance.recordedDate | CarePlan.period | ClinicalImpression.date | Composition.date | Consent.dateTime | DiagnosticReport.effective | Encounter.period | EpisodeOfCare.period | FamilyMemberHistory.date | Flag.period | Immunization.occurrence | List.date | Observation.effective | Procedure.occurrence | (RiskAssessment.occurrence as dateTime) | SupplyRequest.authoredOn</b><br>
|
||||
* Path: <b>AllergyIntolerance.recordedDate | CarePlan.period | ClinicalImpression.date | Composition.date | Consent.dateTime | DiagnosticReport.effective | Encounter.period | EpisodeOfCare.period | FamilyMemberHistory.date | Flag.period | (Immunization.occurrence as dateTime) | List.date | Observation.effective | Procedure.occurrence | (RiskAssessment.occurrence as dateTime) | SupplyRequest.authoredOn</b><br>
|
||||
* </p>
|
||||
*/
|
||||
@SearchParamDefinition(name="date", path="AllergyIntolerance.recordedDate | CarePlan.period | ClinicalImpression.date | Composition.date | Consent.dateTime | DiagnosticReport.effective | Encounter.period | EpisodeOfCare.period | FamilyMemberHistory.date | Flag.period | Immunization.occurrence | List.date | Observation.effective | Procedure.occurrence | (RiskAssessment.occurrence as dateTime) | SupplyRequest.authoredOn", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): Date first version of the resource instance was recorded\r\n* [CarePlan](careplan.html): Time period plan covers\r\n* [CareTeam](careteam.html): A date within the coverage time period.\r\n* [ClinicalImpression](clinicalimpression.html): When the assessment was documented\r\n* [Composition](composition.html): Composition editing time\r\n* [Consent](consent.html): When consent was agreed to\r\n* [DiagnosticReport](diagnosticreport.html): The clinically relevant time of the report\r\n* [Encounter](encounter.html): A date within the period the Encounter lasted\r\n* [EpisodeOfCare](episodeofcare.html): The provided date search value falls within the episode of care's period\r\n* [FamilyMemberHistory](familymemberhistory.html): When history was recorded or last updated\r\n* [Flag](flag.html): Time period when flag is active\r\n* [Immunization](immunization.html): Vaccination (non)-Administration Date\r\n* [List](list.html): When the list was prepared\r\n* [Observation](observation.html): Obtained date/time. If the obtained element is a period, a date that falls in the period\r\n* [Procedure](procedure.html): When the procedure occurred or is occurring\r\n* [RiskAssessment](riskassessment.html): When was assessment made?\r\n* [SupplyRequest](supplyrequest.html): When the request was made\r\n", type="date" )
|
||||
@SearchParamDefinition(name="date", path="AllergyIntolerance.recordedDate | CarePlan.period | ClinicalImpression.date | Composition.date | Consent.dateTime | DiagnosticReport.effective | Encounter.period | EpisodeOfCare.period | FamilyMemberHistory.date | Flag.period | (Immunization.occurrence as dateTime) | List.date | Observation.effective | Procedure.occurrence | (RiskAssessment.occurrence as dateTime) | SupplyRequest.authoredOn", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): Date first version of the resource instance was recorded\r\n* [CarePlan](careplan.html): Time period plan covers\r\n* [CareTeam](careteam.html): A date within the coverage time period.\r\n* [ClinicalImpression](clinicalimpression.html): When the assessment was documented\r\n* [Composition](composition.html): Composition editing time\r\n* [Consent](consent.html): When consent was agreed to\r\n* [DiagnosticReport](diagnosticreport.html): The clinically relevant time of the report\r\n* [Encounter](encounter.html): A date within the period the Encounter lasted\r\n* [EpisodeOfCare](episodeofcare.html): The provided date search value falls within the episode of care's period\r\n* [FamilyMemberHistory](familymemberhistory.html): When history was recorded or last updated\r\n* [Flag](flag.html): Time period when flag is active\r\n* [Immunization](immunization.html): Vaccination (non)-Administration Date\r\n* [List](list.html): When the list was prepared\r\n* [Observation](observation.html): Obtained date/time. If the obtained element is a period, a date that falls in the period\r\n* [Procedure](procedure.html): When the procedure occurred or is occurring\r\n* [RiskAssessment](riskassessment.html): When was assessment made?\r\n* [SupplyRequest](supplyrequest.html): When the request was made\r\n", type="date" )
|
||||
public static final String SP_DATE = "date";
|
||||
/**
|
||||
* <b>Fluent Client</b> search parameter constant for <b>date</b>
|
||||
|
@ -1951,7 +1951,7 @@ public class ClinicalImpression extends DomainResource {
|
|||
* [SupplyRequest](supplyrequest.html): When the request was made
|
||||
</b><br>
|
||||
* Type: <b>date</b><br>
|
||||
* Path: <b>AllergyIntolerance.recordedDate | CarePlan.period | ClinicalImpression.date | Composition.date | Consent.dateTime | DiagnosticReport.effective | Encounter.period | EpisodeOfCare.period | FamilyMemberHistory.date | Flag.period | Immunization.occurrence | List.date | Observation.effective | Procedure.occurrence | (RiskAssessment.occurrence as dateTime) | SupplyRequest.authoredOn</b><br>
|
||||
* Path: <b>AllergyIntolerance.recordedDate | CarePlan.period | ClinicalImpression.date | Composition.date | Consent.dateTime | DiagnosticReport.effective | Encounter.period | EpisodeOfCare.period | FamilyMemberHistory.date | Flag.period | (Immunization.occurrence as dateTime) | List.date | Observation.effective | Procedure.occurrence | (RiskAssessment.occurrence as dateTime) | SupplyRequest.authoredOn</b><br>
|
||||
* </p>
|
||||
*/
|
||||
public static final ca.uhn.fhir.rest.gclient.DateClientParam DATE = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_DATE);
|
||||
|
@ -1995,10 +1995,10 @@ public class ClinicalImpression extends DomainResource {
|
|||
* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for
|
||||
</b><br>
|
||||
* Type: <b>reference</b><br>
|
||||
* Path: <b>AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.patient | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUseStatement.subject | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient</b><br>
|
||||
* Path: <b>AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.subject.where(resolve() is Patient) | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUseStatement.subject | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient</b><br>
|
||||
* </p>
|
||||
*/
|
||||
@SearchParamDefinition(name="patient", path="AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.patient | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUseStatement.subject | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): Who the sensitivity is for\r\n* [CarePlan](careplan.html): Who the care plan is for\r\n* [CareTeam](careteam.html): Who care team is for\r\n* [ClinicalImpression](clinicalimpression.html): Patient or group assessed\r\n* [Composition](composition.html): Who and/or what the composition is about\r\n* [Condition](condition.html): Who has the condition?\r\n* [Consent](consent.html): Who the consent applies to\r\n* [DetectedIssue](detectedissue.html): Associated patient\r\n* [DeviceRequest](devicerequest.html): Individual the service is ordered for\r\n* [DeviceUseStatement](deviceusestatement.html): Search by subject - a patient\r\n* [DiagnosticReport](diagnosticreport.html): The subject of the report if a patient\r\n* [DocumentManifest](documentmanifest.html): The subject of the set of documents\r\n* [DocumentReference](documentreference.html): Who/what is the subject of the document\r\n* [Encounter](encounter.html): The patient or group present at the encounter\r\n* [EpisodeOfCare](episodeofcare.html): The patient who is the focus of this episode of care\r\n* [FamilyMemberHistory](familymemberhistory.html): The identity of a subject to list family member history items for\r\n* [Flag](flag.html): The identity of a subject to list flags for\r\n* [Goal](goal.html): Who this goal is intended for\r\n* [ImagingStudy](imagingstudy.html): Who the study is about\r\n* [Immunization](immunization.html): The patient for the vaccination record\r\n* [List](list.html): If all resources have the same subject\r\n* [MedicationAdministration](medicationadministration.html): The identity of a patient to list administrations for\r\n* [MedicationDispense](medicationdispense.html): The identity of a patient to list dispenses for\r\n* [MedicationRequest](medicationrequest.html): Returns prescriptions for a specific patient\r\n* [MedicationUsage](medicationusage.html): Returns statements for a specific patient.\r\n* [NutritionOrder](nutritionorder.html): The identity of the person who requires the diet, formula or nutritional supplement\r\n* [Observation](observation.html): The subject that the observation is about (if patient)\r\n* [Procedure](procedure.html): Search by subject - a patient\r\n* [RiskAssessment](riskassessment.html): Who/what does assessment apply to?\r\n* [ServiceRequest](servicerequest.html): Search by subject - a patient\r\n* [SupplyDelivery](supplydelivery.html): Patient for whom the item is supplied\r\n* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for\r\n", type="reference", target={Group.class, Patient.class } )
|
||||
@SearchParamDefinition(name="patient", path="AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.subject.where(resolve() is Patient) | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUseStatement.subject | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): Who the sensitivity is for\r\n* [CarePlan](careplan.html): Who the care plan is for\r\n* [CareTeam](careteam.html): Who care team is for\r\n* [ClinicalImpression](clinicalimpression.html): Patient or group assessed\r\n* [Composition](composition.html): Who and/or what the composition is about\r\n* [Condition](condition.html): Who has the condition?\r\n* [Consent](consent.html): Who the consent applies to\r\n* [DetectedIssue](detectedissue.html): Associated patient\r\n* [DeviceRequest](devicerequest.html): Individual the service is ordered for\r\n* [DeviceUseStatement](deviceusestatement.html): Search by subject - a patient\r\n* [DiagnosticReport](diagnosticreport.html): The subject of the report if a patient\r\n* [DocumentManifest](documentmanifest.html): The subject of the set of documents\r\n* [DocumentReference](documentreference.html): Who/what is the subject of the document\r\n* [Encounter](encounter.html): The patient or group present at the encounter\r\n* [EpisodeOfCare](episodeofcare.html): The patient who is the focus of this episode of care\r\n* [FamilyMemberHistory](familymemberhistory.html): The identity of a subject to list family member history items for\r\n* [Flag](flag.html): The identity of a subject to list flags for\r\n* [Goal](goal.html): Who this goal is intended for\r\n* [ImagingStudy](imagingstudy.html): Who the study is about\r\n* [Immunization](immunization.html): The patient for the vaccination record\r\n* [List](list.html): If all resources have the same subject\r\n* [MedicationAdministration](medicationadministration.html): The identity of a patient to list administrations for\r\n* [MedicationDispense](medicationdispense.html): The identity of a patient to list dispenses for\r\n* [MedicationRequest](medicationrequest.html): Returns prescriptions for a specific patient\r\n* [MedicationUsage](medicationusage.html): Returns statements for a specific patient.\r\n* [NutritionOrder](nutritionorder.html): The identity of the person who requires the diet, formula or nutritional supplement\r\n* [Observation](observation.html): The subject that the observation is about (if patient)\r\n* [Procedure](procedure.html): Search by subject - a patient\r\n* [RiskAssessment](riskassessment.html): Who/what does assessment apply to?\r\n* [ServiceRequest](servicerequest.html): Search by subject - a patient\r\n* [SupplyDelivery](supplydelivery.html): Patient for whom the item is supplied\r\n* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for\r\n", type="reference", target={Group.class, Patient.class } )
|
||||
public static final String SP_PATIENT = "patient";
|
||||
/**
|
||||
* <b>Fluent Client</b> search parameter constant for <b>patient</b>
|
||||
|
@ -2039,7 +2039,7 @@ public class ClinicalImpression extends DomainResource {
|
|||
* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for
|
||||
</b><br>
|
||||
* Type: <b>reference</b><br>
|
||||
* Path: <b>AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.patient | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUseStatement.subject | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient</b><br>
|
||||
* Path: <b>AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.subject.where(resolve() is Patient) | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUseStatement.subject | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient</b><br>
|
||||
* </p>
|
||||
*/
|
||||
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PATIENT);
|
||||
|
|
|
@ -49,7 +49,7 @@ package org.hl7.fhir.r5.model;
|
|||
POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
// Generated on Tue, Dec 31, 2019 12:12+1100 for FHIR vcurrent
|
||||
// Generated on Mon, May 11, 2020 09:58+1000 for FHIR vcurrent
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Date;
|
||||
|
@ -91,9 +91,9 @@ public class ClinicalUseIssue extends DomainResource {
|
|||
*/
|
||||
UNDESIRABLEEFFECT,
|
||||
/**
|
||||
* Other.
|
||||
* A general warning or issue that is not specifically one of the other types.
|
||||
*/
|
||||
OTHER,
|
||||
WARNING,
|
||||
/**
|
||||
* added to help the parsers with the generic types
|
||||
*/
|
||||
|
@ -109,8 +109,8 @@ public class ClinicalUseIssue extends DomainResource {
|
|||
return INTERACTION;
|
||||
if ("undesirable-effect".equals(codeString))
|
||||
return UNDESIRABLEEFFECT;
|
||||
if ("other".equals(codeString))
|
||||
return OTHER;
|
||||
if ("warning".equals(codeString))
|
||||
return WARNING;
|
||||
if (Configuration.isAcceptInvalidEnums())
|
||||
return null;
|
||||
else
|
||||
|
@ -122,7 +122,7 @@ public class ClinicalUseIssue extends DomainResource {
|
|||
case CONTRAINDICATION: return "contraindication";
|
||||
case INTERACTION: return "interaction";
|
||||
case UNDESIRABLEEFFECT: return "undesirable-effect";
|
||||
case OTHER: return "other";
|
||||
case WARNING: return "warning";
|
||||
default: return "?";
|
||||
}
|
||||
}
|
||||
|
@ -132,7 +132,7 @@ public class ClinicalUseIssue extends DomainResource {
|
|||
case CONTRAINDICATION: return "http://hl7.org/fhir/clinical-use-issue-type";
|
||||
case INTERACTION: return "http://hl7.org/fhir/clinical-use-issue-type";
|
||||
case UNDESIRABLEEFFECT: return "http://hl7.org/fhir/clinical-use-issue-type";
|
||||
case OTHER: return "http://hl7.org/fhir/clinical-use-issue-type";
|
||||
case WARNING: return "http://hl7.org/fhir/clinical-use-issue-type";
|
||||
default: return "?";
|
||||
}
|
||||
}
|
||||
|
@ -142,7 +142,7 @@ public class ClinicalUseIssue extends DomainResource {
|
|||
case CONTRAINDICATION: return "A reason for not giving the medicaition.";
|
||||
case INTERACTION: return "Interactions between the medication and other substances.";
|
||||
case UNDESIRABLEEFFECT: return "Side effects or adverse effects associated with the medication.";
|
||||
case OTHER: return "Other.";
|
||||
case WARNING: return "A general warning or issue that is not specifically one of the other types.";
|
||||
default: return "?";
|
||||
}
|
||||
}
|
||||
|
@ -152,7 +152,7 @@ public class ClinicalUseIssue extends DomainResource {
|
|||
case CONTRAINDICATION: return "Contraindication";
|
||||
case INTERACTION: return "Interaction";
|
||||
case UNDESIRABLEEFFECT: return "Undesirable Effect";
|
||||
case OTHER: return "Other";
|
||||
case WARNING: return "Warning";
|
||||
default: return "?";
|
||||
}
|
||||
}
|
||||
|
@ -171,8 +171,8 @@ public class ClinicalUseIssue extends DomainResource {
|
|||
return ClinicalUseIssueType.INTERACTION;
|
||||
if ("undesirable-effect".equals(codeString))
|
||||
return ClinicalUseIssueType.UNDESIRABLEEFFECT;
|
||||
if ("other".equals(codeString))
|
||||
return ClinicalUseIssueType.OTHER;
|
||||
if ("warning".equals(codeString))
|
||||
return ClinicalUseIssueType.WARNING;
|
||||
throw new IllegalArgumentException("Unknown ClinicalUseIssueType code '"+codeString+"'");
|
||||
}
|
||||
public Enumeration<ClinicalUseIssueType> fromType(Base code) throws FHIRException {
|
||||
|
@ -191,8 +191,8 @@ public class ClinicalUseIssue extends DomainResource {
|
|||
return new Enumeration<ClinicalUseIssueType>(this, ClinicalUseIssueType.INTERACTION);
|
||||
if ("undesirable-effect".equals(codeString))
|
||||
return new Enumeration<ClinicalUseIssueType>(this, ClinicalUseIssueType.UNDESIRABLEEFFECT);
|
||||
if ("other".equals(codeString))
|
||||
return new Enumeration<ClinicalUseIssueType>(this, ClinicalUseIssueType.OTHER);
|
||||
if ("warning".equals(codeString))
|
||||
return new Enumeration<ClinicalUseIssueType>(this, ClinicalUseIssueType.WARNING);
|
||||
throw new FHIRException("Unknown ClinicalUseIssueType code '"+codeString+"'");
|
||||
}
|
||||
public String toCode(ClinicalUseIssueType code) {
|
||||
|
@ -204,8 +204,8 @@ public class ClinicalUseIssue extends DomainResource {
|
|||
return "interaction";
|
||||
if (code == ClinicalUseIssueType.UNDESIRABLEEFFECT)
|
||||
return "undesirable-effect";
|
||||
if (code == ClinicalUseIssueType.OTHER)
|
||||
return "other";
|
||||
if (code == ClinicalUseIssueType.WARNING)
|
||||
return "warning";
|
||||
return "?";
|
||||
}
|
||||
public String toSystem(ClinicalUseIssueType code) {
|
||||
|
@ -2257,70 +2257,77 @@ public class ClinicalUseIssue extends DomainResource {
|
|||
protected List<Identifier> identifier;
|
||||
|
||||
/**
|
||||
* indication | contraindication | interaction | undesirable-effect | other.
|
||||
* indication | contraindication | interaction | undesirable-effect | warning.
|
||||
*/
|
||||
@Child(name = "type", type = {CodeType.class}, order=1, min=1, max=1, modifier=false, summary=true)
|
||||
@Description(shortDefinition="indication | contraindication | interaction | undesirable-effect | other", formalDefinition="indication | contraindication | interaction | undesirable-effect | other." )
|
||||
@Description(shortDefinition="indication | contraindication | interaction | undesirable-effect | warning", formalDefinition="indication | contraindication | interaction | undesirable-effect | warning." )
|
||||
@ca.uhn.fhir.model.api.annotation.Binding(valueSet="http://hl7.org/fhir/ValueSet/clinical-use-issue-type")
|
||||
protected Enumeration<ClinicalUseIssueType> type;
|
||||
|
||||
/**
|
||||
* A categorisation of the issue, primarily for dividing warnings into subject heading areas such as "Pregnancy and Lactation", "Overdose", "Effects Ability to Drive and Use Machines".
|
||||
*/
|
||||
@Child(name = "category", type = {CodeableConcept.class}, order=2, min=0, max=1, modifier=false, summary=true)
|
||||
@Description(shortDefinition="A categorisation of the issue, primarily for dividing warnings into subject heading areas such as \"Pregnancy and Lactation\", \"Overdose\", \"Effects Ability to Drive and Use Machines\"", formalDefinition="A categorisation of the issue, primarily for dividing warnings into subject heading areas such as \"Pregnancy and Lactation\", \"Overdose\", \"Effects Ability to Drive and Use Machines\"." )
|
||||
protected CodeableConcept category;
|
||||
|
||||
/**
|
||||
* The medication or procedure for which this is an indication.
|
||||
*/
|
||||
@Child(name = "subject", type = {MedicinalProductDefinition.class, Medication.class, ActivityDefinition.class, PlanDefinition.class, Device.class, DeviceDefinition.class, Substance.class}, order=2, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true)
|
||||
@Child(name = "subject", type = {MedicinalProductDefinition.class, Medication.class, ActivityDefinition.class, PlanDefinition.class, Device.class, DeviceDefinition.class, Substance.class}, order=3, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true)
|
||||
@Description(shortDefinition="The medication or procedure for which this is an indication", formalDefinition="The medication or procedure for which this is an indication." )
|
||||
protected List<Reference> subject;
|
||||
|
||||
/**
|
||||
* General description.
|
||||
*/
|
||||
@Child(name = "status", type = {CodeableConcept.class}, order=3, min=0, max=1, modifier=false, summary=true)
|
||||
@Child(name = "status", type = {CodeableConcept.class}, order=4, min=0, max=1, modifier=false, summary=true)
|
||||
@Description(shortDefinition="General description", formalDefinition="General description." )
|
||||
protected CodeableConcept status;
|
||||
|
||||
/**
|
||||
* General description.
|
||||
*/
|
||||
@Child(name = "description", type = {MarkdownType.class}, order=4, min=0, max=1, modifier=false, summary=true)
|
||||
@Child(name = "description", type = {MarkdownType.class}, order=5, min=0, max=1, modifier=false, summary=true)
|
||||
@Description(shortDefinition="General description", formalDefinition="General description." )
|
||||
protected MarkdownType description;
|
||||
|
||||
/**
|
||||
* Specifics for when this is a contraindication.
|
||||
*/
|
||||
@Child(name = "contraindication", type = {}, order=5, min=0, max=1, modifier=false, summary=true)
|
||||
@Child(name = "contraindication", type = {}, order=6, min=0, max=1, modifier=false, summary=true)
|
||||
@Description(shortDefinition="Specifics for when this is a contraindication", formalDefinition="Specifics for when this is a contraindication." )
|
||||
protected ClinicalUseIssueContraindicationComponent contraindication;
|
||||
|
||||
/**
|
||||
* Specifics for when this is an indication.
|
||||
*/
|
||||
@Child(name = "indication", type = {}, order=6, min=0, max=1, modifier=false, summary=true)
|
||||
@Child(name = "indication", type = {}, order=7, min=0, max=1, modifier=false, summary=true)
|
||||
@Description(shortDefinition="Specifics for when this is an indication", formalDefinition="Specifics for when this is an indication." )
|
||||
protected ClinicalUseIssueIndicationComponent indication;
|
||||
|
||||
/**
|
||||
* Specifics for when this is an interaction.
|
||||
*/
|
||||
@Child(name = "interaction", type = {}, order=7, min=0, max=1, modifier=false, summary=true)
|
||||
@Child(name = "interaction", type = {}, order=8, min=0, max=1, modifier=false, summary=true)
|
||||
@Description(shortDefinition="Specifics for when this is an interaction", formalDefinition="Specifics for when this is an interaction." )
|
||||
protected ClinicalUseIssueInteractionComponent interaction;
|
||||
|
||||
/**
|
||||
* The population group to which this applies.
|
||||
*/
|
||||
@Child(name = "population", type = {Population.class}, order=8, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true)
|
||||
@Child(name = "population", type = {Population.class}, order=9, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=true)
|
||||
@Description(shortDefinition="The population group to which this applies", formalDefinition="The population group to which this applies." )
|
||||
protected List<Population> population;
|
||||
|
||||
/**
|
||||
* Describe the undesirable effects of the medicinal product.
|
||||
*/
|
||||
@Child(name = "undesirableEffect", type = {}, order=9, min=0, max=1, modifier=false, summary=true)
|
||||
@Child(name = "undesirableEffect", type = {}, order=10, min=0, max=1, modifier=false, summary=true)
|
||||
@Description(shortDefinition="A possible negative outcome from the use of this treatment", formalDefinition="Describe the undesirable effects of the medicinal product." )
|
||||
protected ClinicalUseIssueUndesirableEffectComponent undesirableEffect;
|
||||
|
||||
private static final long serialVersionUID = -1817506487L;
|
||||
private static final long serialVersionUID = 681484438L;
|
||||
|
||||
/**
|
||||
* Constructor
|
||||
|
@ -2391,7 +2398,7 @@ public class ClinicalUseIssue extends DomainResource {
|
|||
}
|
||||
|
||||
/**
|
||||
* @return {@link #type} (indication | contraindication | interaction | undesirable-effect | other.). This is the underlying object with id, value and extensions. The accessor "getType" gives direct access to the value
|
||||
* @return {@link #type} (indication | contraindication | interaction | undesirable-effect | warning.). This is the underlying object with id, value and extensions. The accessor "getType" gives direct access to the value
|
||||
*/
|
||||
public Enumeration<ClinicalUseIssueType> getTypeElement() {
|
||||
if (this.type == null)
|
||||
|
@ -2411,7 +2418,7 @@ public class ClinicalUseIssue extends DomainResource {
|
|||
}
|
||||
|
||||
/**
|
||||
* @param value {@link #type} (indication | contraindication | interaction | undesirable-effect | other.). This is the underlying object with id, value and extensions. The accessor "getType" gives direct access to the value
|
||||
* @param value {@link #type} (indication | contraindication | interaction | undesirable-effect | warning.). This is the underlying object with id, value and extensions. The accessor "getType" gives direct access to the value
|
||||
*/
|
||||
public ClinicalUseIssue setTypeElement(Enumeration<ClinicalUseIssueType> value) {
|
||||
this.type = value;
|
||||
|
@ -2419,14 +2426,14 @@ public class ClinicalUseIssue extends DomainResource {
|
|||
}
|
||||
|
||||
/**
|
||||
* @return indication | contraindication | interaction | undesirable-effect | other.
|
||||
* @return indication | contraindication | interaction | undesirable-effect | warning.
|
||||
*/
|
||||
public ClinicalUseIssueType getType() {
|
||||
return this.type == null ? null : this.type.getValue();
|
||||
}
|
||||
|
||||
/**
|
||||
* @param value indication | contraindication | interaction | undesirable-effect | other.
|
||||
* @param value indication | contraindication | interaction | undesirable-effect | warning.
|
||||
*/
|
||||
public ClinicalUseIssue setType(ClinicalUseIssueType value) {
|
||||
if (this.type == null)
|
||||
|
@ -2435,6 +2442,30 @@ public class ClinicalUseIssue extends DomainResource {
|
|||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return {@link #category} (A categorisation of the issue, primarily for dividing warnings into subject heading areas such as "Pregnancy and Lactation", "Overdose", "Effects Ability to Drive and Use Machines".)
|
||||
*/
|
||||
public CodeableConcept getCategory() {
|
||||
if (this.category == null)
|
||||
if (Configuration.errorOnAutoCreate())
|
||||
throw new Error("Attempt to auto-create ClinicalUseIssue.category");
|
||||
else if (Configuration.doAutoCreate())
|
||||
this.category = new CodeableConcept(); // cc
|
||||
return this.category;
|
||||
}
|
||||
|
||||
public boolean hasCategory() {
|
||||
return this.category != null && !this.category.isEmpty();
|
||||
}
|
||||
|
||||
/**
|
||||
* @param value {@link #category} (A categorisation of the issue, primarily for dividing warnings into subject heading areas such as "Pregnancy and Lactation", "Overdose", "Effects Ability to Drive and Use Machines".)
|
||||
*/
|
||||
public ClinicalUseIssue setCategory(CodeableConcept value) {
|
||||
this.category = value;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return {@link #subject} (The medication or procedure for which this is an indication.)
|
||||
*/
|
||||
|
@ -2713,7 +2744,8 @@ public class ClinicalUseIssue extends DomainResource {
|
|||
protected void listChildren(List<Property> children) {
|
||||
super.listChildren(children);
|
||||
children.add(new Property("identifier", "Identifier", "Business identifier for this issue.", 0, java.lang.Integer.MAX_VALUE, identifier));
|
||||
children.add(new Property("type", "code", "indication | contraindication | interaction | undesirable-effect | other.", 0, 1, type));
|
||||
children.add(new Property("type", "code", "indication | contraindication | interaction | undesirable-effect | warning.", 0, 1, type));
|
||||
children.add(new Property("category", "CodeableConcept", "A categorisation of the issue, primarily for dividing warnings into subject heading areas such as \"Pregnancy and Lactation\", \"Overdose\", \"Effects Ability to Drive and Use Machines\".", 0, 1, category));
|
||||
children.add(new Property("subject", "Reference(MedicinalProductDefinition|Medication|ActivityDefinition|PlanDefinition|Device|DeviceDefinition|Substance)", "The medication or procedure for which this is an indication.", 0, java.lang.Integer.MAX_VALUE, subject));
|
||||
children.add(new Property("status", "CodeableConcept", "General description.", 0, 1, status));
|
||||
children.add(new Property("description", "markdown", "General description.", 0, 1, description));
|
||||
|
@ -2728,7 +2760,8 @@ public class ClinicalUseIssue extends DomainResource {
|
|||
public Property getNamedProperty(int _hash, String _name, boolean _checkValid) throws FHIRException {
|
||||
switch (_hash) {
|
||||
case -1618432855: /*identifier*/ return new Property("identifier", "Identifier", "Business identifier for this issue.", 0, java.lang.Integer.MAX_VALUE, identifier);
|
||||
case 3575610: /*type*/ return new Property("type", "code", "indication | contraindication | interaction | undesirable-effect | other.", 0, 1, type);
|
||||
case 3575610: /*type*/ return new Property("type", "code", "indication | contraindication | interaction | undesirable-effect | warning.", 0, 1, type);
|
||||
case 50511102: /*category*/ return new Property("category", "CodeableConcept", "A categorisation of the issue, primarily for dividing warnings into subject heading areas such as \"Pregnancy and Lactation\", \"Overdose\", \"Effects Ability to Drive and Use Machines\".", 0, 1, category);
|
||||
case -1867885268: /*subject*/ return new Property("subject", "Reference(MedicinalProductDefinition|Medication|ActivityDefinition|PlanDefinition|Device|DeviceDefinition|Substance)", "The medication or procedure for which this is an indication.", 0, java.lang.Integer.MAX_VALUE, subject);
|
||||
case -892481550: /*status*/ return new Property("status", "CodeableConcept", "General description.", 0, 1, status);
|
||||
case -1724546052: /*description*/ return new Property("description", "markdown", "General description.", 0, 1, description);
|
||||
|
@ -2747,6 +2780,7 @@ public class ClinicalUseIssue extends DomainResource {
|
|||
switch (hash) {
|
||||
case -1618432855: /*identifier*/ return this.identifier == null ? new Base[0] : this.identifier.toArray(new Base[this.identifier.size()]); // Identifier
|
||||
case 3575610: /*type*/ return this.type == null ? new Base[0] : new Base[] {this.type}; // Enumeration<ClinicalUseIssueType>
|
||||
case 50511102: /*category*/ return this.category == null ? new Base[0] : new Base[] {this.category}; // CodeableConcept
|
||||
case -1867885268: /*subject*/ return this.subject == null ? new Base[0] : this.subject.toArray(new Base[this.subject.size()]); // Reference
|
||||
case -892481550: /*status*/ return this.status == null ? new Base[0] : new Base[] {this.status}; // CodeableConcept
|
||||
case -1724546052: /*description*/ return this.description == null ? new Base[0] : new Base[] {this.description}; // MarkdownType
|
||||
|
@ -2770,6 +2804,9 @@ public class ClinicalUseIssue extends DomainResource {
|
|||
value = new ClinicalUseIssueTypeEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.type = (Enumeration) value; // Enumeration<ClinicalUseIssueType>
|
||||
return value;
|
||||
case 50511102: // category
|
||||
this.category = TypeConvertor.castToCodeableConcept(value); // CodeableConcept
|
||||
return value;
|
||||
case -1867885268: // subject
|
||||
this.getSubject().add(TypeConvertor.castToReference(value)); // Reference
|
||||
return value;
|
||||
|
@ -2806,6 +2843,8 @@ public class ClinicalUseIssue extends DomainResource {
|
|||
} else if (name.equals("type")) {
|
||||
value = new ClinicalUseIssueTypeEnumFactory().fromType(TypeConvertor.castToCode(value));
|
||||
this.type = (Enumeration) value; // Enumeration<ClinicalUseIssueType>
|
||||
} else if (name.equals("category")) {
|
||||
this.category = TypeConvertor.castToCodeableConcept(value); // CodeableConcept
|
||||
} else if (name.equals("subject")) {
|
||||
this.getSubject().add(TypeConvertor.castToReference(value));
|
||||
} else if (name.equals("status")) {
|
||||
|
@ -2832,6 +2871,7 @@ public class ClinicalUseIssue extends DomainResource {
|
|||
switch (hash) {
|
||||
case -1618432855: return addIdentifier();
|
||||
case 3575610: return getTypeElement();
|
||||
case 50511102: return getCategory();
|
||||
case -1867885268: return addSubject();
|
||||
case -892481550: return getStatus();
|
||||
case -1724546052: return getDescriptionElement();
|
||||
|
@ -2850,6 +2890,7 @@ public class ClinicalUseIssue extends DomainResource {
|
|||
switch (hash) {
|
||||
case -1618432855: /*identifier*/ return new String[] {"Identifier"};
|
||||
case 3575610: /*type*/ return new String[] {"code"};
|
||||
case 50511102: /*category*/ return new String[] {"CodeableConcept"};
|
||||
case -1867885268: /*subject*/ return new String[] {"Reference"};
|
||||
case -892481550: /*status*/ return new String[] {"CodeableConcept"};
|
||||
case -1724546052: /*description*/ return new String[] {"markdown"};
|
||||
|
@ -2871,6 +2912,10 @@ public class ClinicalUseIssue extends DomainResource {
|
|||
else if (name.equals("type")) {
|
||||
throw new FHIRException("Cannot call addChild on a primitive type ClinicalUseIssue.type");
|
||||
}
|
||||
else if (name.equals("category")) {
|
||||
this.category = new CodeableConcept();
|
||||
return this.category;
|
||||
}
|
||||
else if (name.equals("subject")) {
|
||||
return addSubject();
|
||||
}
|
||||
|
@ -2923,6 +2968,7 @@ public class ClinicalUseIssue extends DomainResource {
|
|||
dst.identifier.add(i.copy());
|
||||
};
|
||||
dst.type = type == null ? null : type.copy();
|
||||
dst.category = category == null ? null : category.copy();
|
||||
if (subject != null) {
|
||||
dst.subject = new ArrayList<Reference>();
|
||||
for (Reference i : subject)
|
||||
|
@ -2952,11 +2998,11 @@ public class ClinicalUseIssue extends DomainResource {
|
|||
if (!(other_ instanceof ClinicalUseIssue))
|
||||
return false;
|
||||
ClinicalUseIssue o = (ClinicalUseIssue) other_;
|
||||
return compareDeep(identifier, o.identifier, true) && compareDeep(type, o.type, true) && compareDeep(subject, o.subject, true)
|
||||
&& compareDeep(status, o.status, true) && compareDeep(description, o.description, true) && compareDeep(contraindication, o.contraindication, true)
|
||||
&& compareDeep(indication, o.indication, true) && compareDeep(interaction, o.interaction, true)
|
||||
&& compareDeep(population, o.population, true) && compareDeep(undesirableEffect, o.undesirableEffect, true)
|
||||
;
|
||||
return compareDeep(identifier, o.identifier, true) && compareDeep(type, o.type, true) && compareDeep(category, o.category, true)
|
||||
&& compareDeep(subject, o.subject, true) && compareDeep(status, o.status, true) && compareDeep(description, o.description, true)
|
||||
&& compareDeep(contraindication, o.contraindication, true) && compareDeep(indication, o.indication, true)
|
||||
&& compareDeep(interaction, o.interaction, true) && compareDeep(population, o.population, true)
|
||||
&& compareDeep(undesirableEffect, o.undesirableEffect, true);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -2970,9 +3016,9 @@ public class ClinicalUseIssue extends DomainResource {
|
|||
}
|
||||
|
||||
public boolean isEmpty() {
|
||||
return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(identifier, type, subject
|
||||
, status, description, contraindication, indication, interaction, population, undesirableEffect
|
||||
);
|
||||
return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(identifier, type, category
|
||||
, subject, status, description, contraindication, indication, interaction, population
|
||||
, undesirableEffect);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -3135,17 +3181,17 @@ public class ClinicalUseIssue extends DomainResource {
|
|||
/**
|
||||
* Search parameter: <b>type</b>
|
||||
* <p>
|
||||
* Description: <b>indication | contraindication | interaction | undesirable-effect | other</b><br>
|
||||
* Description: <b>indication | contraindication | interaction | undesirable-effect | warning</b><br>
|
||||
* Type: <b>token</b><br>
|
||||
* Path: <b>ClinicalUseIssue.type</b><br>
|
||||
* </p>
|
||||
*/
|
||||
@SearchParamDefinition(name="type", path="ClinicalUseIssue.type", description="indication | contraindication | interaction | undesirable-effect | other", type="token" )
|
||||
@SearchParamDefinition(name="type", path="ClinicalUseIssue.type", description="indication | contraindication | interaction | undesirable-effect | warning", type="token" )
|
||||
public static final String SP_TYPE = "type";
|
||||
/**
|
||||
* <b>Fluent Client</b> search parameter constant for <b>type</b>
|
||||
* <p>
|
||||
* Description: <b>indication | contraindication | interaction | undesirable-effect | other</b><br>
|
||||
* Description: <b>indication | contraindication | interaction | undesirable-effect | warning</b><br>
|
||||
* Type: <b>token</b><br>
|
||||
* Path: <b>ClinicalUseIssue.type</b><br>
|
||||
* </p>
|
||||
|
|
|
@ -49,7 +49,7 @@ package org.hl7.fhir.r5.model;
|
|||
POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
// Generated on Tue, Dec 31, 2019 12:12+1100 for FHIR vcurrent
|
||||
// Generated on Mon, May 11, 2020 09:58+1000 for FHIR vcurrent
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Date;
|
||||
|
@ -5035,13 +5035,14 @@ public class CodeSystem extends CanonicalResource {
|
|||
* [MessageDefinition](messagedefinition.html): External identifier for the message definition
|
||||
* [StructureDefinition](structuredefinition.html): External identifier for the structure definition
|
||||
* [StructureMap](structuremap.html): External identifier for the structure map
|
||||
* [TerminologyCapabilities](terminologycapabilities.html): External identifier for the terminology capabilities
|
||||
* [ValueSet](valueset.html): External identifier for the value set
|
||||
</b><br>
|
||||
* Type: <b>token</b><br>
|
||||
* Path: <b>CodeSystem.identifier | ConceptMap.identifier | MessageDefinition.identifier | StructureDefinition.identifier | StructureMap.identifier | ValueSet.identifier</b><br>
|
||||
* Path: <b>CodeSystem.identifier | ConceptMap.identifier | MessageDefinition.identifier | StructureDefinition.identifier | StructureMap.identifier | TerminologyCapabilities.identifier | ValueSet.identifier</b><br>
|
||||
* </p>
|
||||
*/
|
||||
@SearchParamDefinition(name="identifier", path="CodeSystem.identifier | ConceptMap.identifier | MessageDefinition.identifier | StructureDefinition.identifier | StructureMap.identifier | ValueSet.identifier", description="Multiple Resources: \r\n\r\n* [CodeSystem](codesystem.html): External identifier for the code system\r\n* [ConceptMap](conceptmap.html): External identifier for the concept map\r\n* [MessageDefinition](messagedefinition.html): External identifier for the message definition\r\n* [StructureDefinition](structuredefinition.html): External identifier for the structure definition\r\n* [StructureMap](structuremap.html): External identifier for the structure map\r\n* [ValueSet](valueset.html): External identifier for the value set\r\n", type="token" )
|
||||
@SearchParamDefinition(name="identifier", path="CodeSystem.identifier | ConceptMap.identifier | MessageDefinition.identifier | StructureDefinition.identifier | StructureMap.identifier | TerminologyCapabilities.identifier | ValueSet.identifier", description="Multiple Resources: \r\n\r\n* [CodeSystem](codesystem.html): External identifier for the code system\r\n* [ConceptMap](conceptmap.html): External identifier for the concept map\r\n* [MessageDefinition](messagedefinition.html): External identifier for the message definition\r\n* [StructureDefinition](structuredefinition.html): External identifier for the structure definition\r\n* [StructureMap](structuremap.html): External identifier for the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): External identifier for the terminology capabilities\r\n* [ValueSet](valueset.html): External identifier for the value set\r\n", type="token" )
|
||||
public static final String SP_IDENTIFIER = "identifier";
|
||||
/**
|
||||
* <b>Fluent Client</b> search parameter constant for <b>identifier</b>
|
||||
|
@ -5053,10 +5054,11 @@ public class CodeSystem extends CanonicalResource {
|
|||
* [MessageDefinition](messagedefinition.html): External identifier for the message definition
|
||||
* [StructureDefinition](structuredefinition.html): External identifier for the structure definition
|
||||
* [StructureMap](structuremap.html): External identifier for the structure map
|
||||
* [TerminologyCapabilities](terminologycapabilities.html): External identifier for the terminology capabilities
|
||||
* [ValueSet](valueset.html): External identifier for the value set
|
||||
</b><br>
|
||||
* Type: <b>token</b><br>
|
||||
* Path: <b>CodeSystem.identifier | ConceptMap.identifier | MessageDefinition.identifier | StructureDefinition.identifier | StructureMap.identifier | ValueSet.identifier</b><br>
|
||||
* Path: <b>CodeSystem.identifier | ConceptMap.identifier | MessageDefinition.identifier | StructureDefinition.identifier | StructureMap.identifier | TerminologyCapabilities.identifier | ValueSet.identifier</b><br>
|
||||
* </p>
|
||||
*/
|
||||
public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER);
|
||||
|
|
|
@ -49,7 +49,7 @@ package org.hl7.fhir.r5.model;
|
|||
POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
// Generated on Tue, Dec 31, 2019 12:12+1100 for FHIR vcurrent
|
||||
// Generated on Mon, May 11, 2020 09:58+1000 for FHIR vcurrent
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Date;
|
||||
|
@ -342,7 +342,8 @@ public class CodeableConcept extends DataType implements ICompositeType {
|
|||
super();
|
||||
addCoding(code);
|
||||
}
|
||||
|
||||
|
||||
|
||||
public boolean matches(CodeableConcept other) {
|
||||
for (Coding c : other.getCoding()) {
|
||||
if (hasCoding(c.getSystem(), c.getCode())) {
|
||||
|
@ -355,9 +356,25 @@ public class CodeableConcept extends DataType implements ICompositeType {
|
|||
public boolean hasCoding(Coding coding) {
|
||||
return hasCoding(coding.getSystem(), coding.getCode());
|
||||
}
|
||||
|
||||
|
||||
|
||||
public boolean hasCoding(String system) {
|
||||
for (Coding c : getCoding()) {
|
||||
if (system.equals(c.getSystem())) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
public String getCode(String system) {
|
||||
for (Coding c : getCoding()) {
|
||||
if (system.equals(c.getSystem())) {
|
||||
return c.getCode();
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
// end addition
|
||||
|
||||
}
|
||||
|
|
|
@ -49,7 +49,7 @@ package org.hl7.fhir.r5.model;
|
|||
POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
// Generated on Tue, Dec 31, 2019 12:12+1100 for FHIR vcurrent
|
||||
// Generated on Mon, May 11, 2020 09:58+1000 for FHIR vcurrent
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Date;
|
||||
|
|
|
@ -49,7 +49,7 @@ package org.hl7.fhir.r5.model;
|
|||
POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
// Generated on Tue, Dec 31, 2019 12:12+1100 for FHIR vcurrent
|
||||
// Generated on Mon, May 11, 2020 09:58+1000 for FHIR vcurrent
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Date;
|
||||
|
@ -567,13 +567,13 @@ public class Coding extends DataType implements IBaseCoding, ICompositeType, ICo
|
|||
base = base+": "+getDisplay();
|
||||
return base;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
public boolean matches(Coding other) {
|
||||
return other.hasCode() && this.hasCode() && other.hasSystem() && this.hasSystem() && this.getCode().equals(other.getCode()) && this.getSystem().equals(other.getSystem()) ;
|
||||
}
|
||||
|
||||
|
||||
// end addition
|
||||
|
||||
}
|
||||
|
|
|
@ -49,7 +49,7 @@ package org.hl7.fhir.r5.model;
|
|||
POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
// Generated on Tue, Dec 31, 2019 12:12+1100 for FHIR vcurrent
|
||||
// Generated on Mon, May 11, 2020 09:58+1000 for FHIR vcurrent
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Date;
|
||||
|
@ -68,7 +68,7 @@ import ca.uhn.fhir.model.api.annotation.Description;
|
|||
import ca.uhn.fhir.model.api.annotation.Block;
|
||||
|
||||
/**
|
||||
* An occurrence of information being transmitted; e.g. an alert that was sent to a responsible provider, a public health agency communication to a provider/reporter in response to a case report for a reportable condition.
|
||||
* A clinical or business level record of information being transmitted or shared; e.g. an alert that was sent to a responsible provider, a public health agency communication to a provider/reporter in response to a case report for a reportable condition.
|
||||
*/
|
||||
@ResourceDef(name="Communication", profile="http://hl7.org/fhir/StructureDefinition/Communication")
|
||||
public class Communication extends DomainResource {
|
||||
|
@ -1981,7 +1981,7 @@ public class Communication extends DomainResource {
|
|||
* Path: <b>Communication.basedOn</b><br>
|
||||
* </p>
|
||||
*/
|
||||
@SearchParamDefinition(name="based-on", path="Communication.basedOn", description="Request fulfilled by this communication", type="reference", target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, CatalogEntry.class, ChargeItem.class, ChargeItemDefinition.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceMetric.class, DeviceRequest.class, DeviceUseStatement.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, Topic.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } )
|
||||
@SearchParamDefinition(name="based-on", path="Communication.basedOn", description="Request fulfilled by this communication", type="reference", target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, CatalogEntry.class, ChargeItem.class, ChargeItemDefinition.class, Citation.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceMetric.class, DeviceRequest.class, DeviceUseStatement.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceFocus.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, NutritionProduct.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Permission.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, SubscriptionStatus.class, SubscriptionTopic.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } )
|
||||
public static final String SP_BASED_ON = "based-on";
|
||||
/**
|
||||
* <b>Fluent Client</b> search parameter constant for <b>based-on</b>
|
||||
|
@ -2139,7 +2139,7 @@ public class Communication extends DomainResource {
|
|||
* Path: <b>Communication.partOf</b><br>
|
||||
* </p>
|
||||
*/
|
||||
@SearchParamDefinition(name="part-of", path="Communication.partOf", description="Part of referenced event (e.g. Communication, Procedure)", type="reference", target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, CatalogEntry.class, ChargeItem.class, ChargeItemDefinition.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceMetric.class, DeviceRequest.class, DeviceUseStatement.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, Topic.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } )
|
||||
@SearchParamDefinition(name="part-of", path="Communication.partOf", description="Part of referenced event (e.g. Communication, Procedure)", type="reference", target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, CatalogEntry.class, ChargeItem.class, ChargeItemDefinition.class, Citation.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceMetric.class, DeviceRequest.class, DeviceUseStatement.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceFocus.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, NutritionProduct.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Permission.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, SubscriptionStatus.class, SubscriptionTopic.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } )
|
||||
public static final String SP_PART_OF = "part-of";
|
||||
/**
|
||||
* <b>Fluent Client</b> search parameter constant for <b>part-of</b>
|
||||
|
|
|
@ -49,7 +49,7 @@ package org.hl7.fhir.r5.model;
|
|||
POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
// Generated on Tue, Dec 31, 2019 12:12+1100 for FHIR vcurrent
|
||||
// Generated on Mon, May 11, 2020 09:58+1000 for FHIR vcurrent
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Date;
|
||||
|
@ -1903,7 +1903,7 @@ public class CommunicationRequest extends DomainResource {
|
|||
* Path: <b>CommunicationRequest.basedOn</b><br>
|
||||
* </p>
|
||||
*/
|
||||
@SearchParamDefinition(name="based-on", path="CommunicationRequest.basedOn", description="Fulfills plan or proposal", type="reference", target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, CatalogEntry.class, ChargeItem.class, ChargeItemDefinition.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceMetric.class, DeviceRequest.class, DeviceUseStatement.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, Topic.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } )
|
||||
@SearchParamDefinition(name="based-on", path="CommunicationRequest.basedOn", description="Fulfills plan or proposal", type="reference", target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, CatalogEntry.class, ChargeItem.class, ChargeItemDefinition.class, Citation.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceMetric.class, DeviceRequest.class, DeviceUseStatement.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceFocus.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, NutritionProduct.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Permission.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, SubscriptionStatus.class, SubscriptionTopic.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } )
|
||||
public static final String SP_BASED_ON = "based-on";
|
||||
/**
|
||||
* <b>Fluent Client</b> search parameter constant for <b>based-on</b>
|
||||
|
|
|
@ -49,7 +49,7 @@ package org.hl7.fhir.r5.model;
|
|||
POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
// Generated on Tue, Dec 31, 2019 12:12+1100 for FHIR vcurrent
|
||||
// Generated on Mon, May 11, 2020 09:58+1000 for FHIR vcurrent
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Date;
|
||||
|
|
|
@ -49,7 +49,7 @@ package org.hl7.fhir.r5.model;
|
|||
POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
// Generated on Tue, Dec 31, 2019 12:12+1100 for FHIR vcurrent
|
||||
// Generated on Mon, May 11, 2020 09:58+1000 for FHIR vcurrent
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Date;
|
||||
|
@ -3188,7 +3188,7 @@ public class Composition extends DomainResource {
|
|||
* Path: <b>Composition.section.entry</b><br>
|
||||
* </p>
|
||||
*/
|
||||
@SearchParamDefinition(name="entry", path="Composition.section.entry", description="A reference to data that supports this section", type="reference", target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, CatalogEntry.class, ChargeItem.class, ChargeItemDefinition.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceMetric.class, DeviceRequest.class, DeviceUseStatement.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, Topic.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } )
|
||||
@SearchParamDefinition(name="entry", path="Composition.section.entry", description="A reference to data that supports this section", type="reference", target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, CatalogEntry.class, ChargeItem.class, ChargeItemDefinition.class, Citation.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceMetric.class, DeviceRequest.class, DeviceUseStatement.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceFocus.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, NutritionProduct.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Permission.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, SubscriptionStatus.class, SubscriptionTopic.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } )
|
||||
public static final String SP_ENTRY = "entry";
|
||||
/**
|
||||
* <b>Fluent Client</b> search parameter constant for <b>entry</b>
|
||||
|
@ -3320,7 +3320,7 @@ public class Composition extends DomainResource {
|
|||
* Path: <b>Composition.subject</b><br>
|
||||
* </p>
|
||||
*/
|
||||
@SearchParamDefinition(name="subject", path="Composition.subject", description="Who and/or what the composition is about", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Patient"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Practitioner") }, target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, CatalogEntry.class, ChargeItem.class, ChargeItemDefinition.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceMetric.class, DeviceRequest.class, DeviceUseStatement.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, Topic.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } )
|
||||
@SearchParamDefinition(name="subject", path="Composition.subject", description="Who and/or what the composition is about", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Patient"), @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Practitioner") }, target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, CatalogEntry.class, ChargeItem.class, ChargeItemDefinition.class, Citation.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceMetric.class, DeviceRequest.class, DeviceUseStatement.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceFocus.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, NutritionProduct.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Permission.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, SubscriptionStatus.class, SubscriptionTopic.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } )
|
||||
public static final String SP_SUBJECT = "subject";
|
||||
/**
|
||||
* <b>Fluent Client</b> search parameter constant for <b>subject</b>
|
||||
|
@ -3382,10 +3382,10 @@ public class Composition extends DomainResource {
|
|||
* [SupplyRequest](supplyrequest.html): When the request was made
|
||||
</b><br>
|
||||
* Type: <b>date</b><br>
|
||||
* Path: <b>AllergyIntolerance.recordedDate | CarePlan.period | ClinicalImpression.date | Composition.date | Consent.dateTime | DiagnosticReport.effective | Encounter.period | EpisodeOfCare.period | FamilyMemberHistory.date | Flag.period | Immunization.occurrence | List.date | Observation.effective | Procedure.occurrence | (RiskAssessment.occurrence as dateTime) | SupplyRequest.authoredOn</b><br>
|
||||
* Path: <b>AllergyIntolerance.recordedDate | CarePlan.period | ClinicalImpression.date | Composition.date | Consent.dateTime | DiagnosticReport.effective | Encounter.period | EpisodeOfCare.period | FamilyMemberHistory.date | Flag.period | (Immunization.occurrence as dateTime) | List.date | Observation.effective | Procedure.occurrence | (RiskAssessment.occurrence as dateTime) | SupplyRequest.authoredOn</b><br>
|
||||
* </p>
|
||||
*/
|
||||
@SearchParamDefinition(name="date", path="AllergyIntolerance.recordedDate | CarePlan.period | ClinicalImpression.date | Composition.date | Consent.dateTime | DiagnosticReport.effective | Encounter.period | EpisodeOfCare.period | FamilyMemberHistory.date | Flag.period | Immunization.occurrence | List.date | Observation.effective | Procedure.occurrence | (RiskAssessment.occurrence as dateTime) | SupplyRequest.authoredOn", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): Date first version of the resource instance was recorded\r\n* [CarePlan](careplan.html): Time period plan covers\r\n* [CareTeam](careteam.html): A date within the coverage time period.\r\n* [ClinicalImpression](clinicalimpression.html): When the assessment was documented\r\n* [Composition](composition.html): Composition editing time\r\n* [Consent](consent.html): When consent was agreed to\r\n* [DiagnosticReport](diagnosticreport.html): The clinically relevant time of the report\r\n* [Encounter](encounter.html): A date within the period the Encounter lasted\r\n* [EpisodeOfCare](episodeofcare.html): The provided date search value falls within the episode of care's period\r\n* [FamilyMemberHistory](familymemberhistory.html): When history was recorded or last updated\r\n* [Flag](flag.html): Time period when flag is active\r\n* [Immunization](immunization.html): Vaccination (non)-Administration Date\r\n* [List](list.html): When the list was prepared\r\n* [Observation](observation.html): Obtained date/time. If the obtained element is a period, a date that falls in the period\r\n* [Procedure](procedure.html): When the procedure occurred or is occurring\r\n* [RiskAssessment](riskassessment.html): When was assessment made?\r\n* [SupplyRequest](supplyrequest.html): When the request was made\r\n", type="date" )
|
||||
@SearchParamDefinition(name="date", path="AllergyIntolerance.recordedDate | CarePlan.period | ClinicalImpression.date | Composition.date | Consent.dateTime | DiagnosticReport.effective | Encounter.period | EpisodeOfCare.period | FamilyMemberHistory.date | Flag.period | (Immunization.occurrence as dateTime) | List.date | Observation.effective | Procedure.occurrence | (RiskAssessment.occurrence as dateTime) | SupplyRequest.authoredOn", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): Date first version of the resource instance was recorded\r\n* [CarePlan](careplan.html): Time period plan covers\r\n* [CareTeam](careteam.html): A date within the coverage time period.\r\n* [ClinicalImpression](clinicalimpression.html): When the assessment was documented\r\n* [Composition](composition.html): Composition editing time\r\n* [Consent](consent.html): When consent was agreed to\r\n* [DiagnosticReport](diagnosticreport.html): The clinically relevant time of the report\r\n* [Encounter](encounter.html): A date within the period the Encounter lasted\r\n* [EpisodeOfCare](episodeofcare.html): The provided date search value falls within the episode of care's period\r\n* [FamilyMemberHistory](familymemberhistory.html): When history was recorded or last updated\r\n* [Flag](flag.html): Time period when flag is active\r\n* [Immunization](immunization.html): Vaccination (non)-Administration Date\r\n* [List](list.html): When the list was prepared\r\n* [Observation](observation.html): Obtained date/time. If the obtained element is a period, a date that falls in the period\r\n* [Procedure](procedure.html): When the procedure occurred or is occurring\r\n* [RiskAssessment](riskassessment.html): When was assessment made?\r\n* [SupplyRequest](supplyrequest.html): When the request was made\r\n", type="date" )
|
||||
public static final String SP_DATE = "date";
|
||||
/**
|
||||
* <b>Fluent Client</b> search parameter constant for <b>date</b>
|
||||
|
@ -3411,7 +3411,7 @@ public class Composition extends DomainResource {
|
|||
* [SupplyRequest](supplyrequest.html): When the request was made
|
||||
</b><br>
|
||||
* Type: <b>date</b><br>
|
||||
* Path: <b>AllergyIntolerance.recordedDate | CarePlan.period | ClinicalImpression.date | Composition.date | Consent.dateTime | DiagnosticReport.effective | Encounter.period | EpisodeOfCare.period | FamilyMemberHistory.date | Flag.period | Immunization.occurrence | List.date | Observation.effective | Procedure.occurrence | (RiskAssessment.occurrence as dateTime) | SupplyRequest.authoredOn</b><br>
|
||||
* Path: <b>AllergyIntolerance.recordedDate | CarePlan.period | ClinicalImpression.date | Composition.date | Consent.dateTime | DiagnosticReport.effective | Encounter.period | EpisodeOfCare.period | FamilyMemberHistory.date | Flag.period | (Immunization.occurrence as dateTime) | List.date | Observation.effective | Procedure.occurrence | (RiskAssessment.occurrence as dateTime) | SupplyRequest.authoredOn</b><br>
|
||||
* </p>
|
||||
*/
|
||||
public static final ca.uhn.fhir.rest.gclient.DateClientParam DATE = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_DATE);
|
||||
|
@ -3593,10 +3593,10 @@ public class Composition extends DomainResource {
|
|||
* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for
|
||||
</b><br>
|
||||
* Type: <b>reference</b><br>
|
||||
* Path: <b>AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.patient | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUseStatement.subject | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient</b><br>
|
||||
* Path: <b>AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.subject.where(resolve() is Patient) | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUseStatement.subject | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient</b><br>
|
||||
* </p>
|
||||
*/
|
||||
@SearchParamDefinition(name="patient", path="AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.patient | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUseStatement.subject | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): Who the sensitivity is for\r\n* [CarePlan](careplan.html): Who the care plan is for\r\n* [CareTeam](careteam.html): Who care team is for\r\n* [ClinicalImpression](clinicalimpression.html): Patient or group assessed\r\n* [Composition](composition.html): Who and/or what the composition is about\r\n* [Condition](condition.html): Who has the condition?\r\n* [Consent](consent.html): Who the consent applies to\r\n* [DetectedIssue](detectedissue.html): Associated patient\r\n* [DeviceRequest](devicerequest.html): Individual the service is ordered for\r\n* [DeviceUseStatement](deviceusestatement.html): Search by subject - a patient\r\n* [DiagnosticReport](diagnosticreport.html): The subject of the report if a patient\r\n* [DocumentManifest](documentmanifest.html): The subject of the set of documents\r\n* [DocumentReference](documentreference.html): Who/what is the subject of the document\r\n* [Encounter](encounter.html): The patient or group present at the encounter\r\n* [EpisodeOfCare](episodeofcare.html): The patient who is the focus of this episode of care\r\n* [FamilyMemberHistory](familymemberhistory.html): The identity of a subject to list family member history items for\r\n* [Flag](flag.html): The identity of a subject to list flags for\r\n* [Goal](goal.html): Who this goal is intended for\r\n* [ImagingStudy](imagingstudy.html): Who the study is about\r\n* [Immunization](immunization.html): The patient for the vaccination record\r\n* [List](list.html): If all resources have the same subject\r\n* [MedicationAdministration](medicationadministration.html): The identity of a patient to list administrations for\r\n* [MedicationDispense](medicationdispense.html): The identity of a patient to list dispenses for\r\n* [MedicationRequest](medicationrequest.html): Returns prescriptions for a specific patient\r\n* [MedicationUsage](medicationusage.html): Returns statements for a specific patient.\r\n* [NutritionOrder](nutritionorder.html): The identity of the person who requires the diet, formula or nutritional supplement\r\n* [Observation](observation.html): The subject that the observation is about (if patient)\r\n* [Procedure](procedure.html): Search by subject - a patient\r\n* [RiskAssessment](riskassessment.html): Who/what does assessment apply to?\r\n* [ServiceRequest](servicerequest.html): Search by subject - a patient\r\n* [SupplyDelivery](supplydelivery.html): Patient for whom the item is supplied\r\n* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for\r\n", type="reference", target={Group.class, Patient.class } )
|
||||
@SearchParamDefinition(name="patient", path="AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.subject.where(resolve() is Patient) | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUseStatement.subject | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): Who the sensitivity is for\r\n* [CarePlan](careplan.html): Who the care plan is for\r\n* [CareTeam](careteam.html): Who care team is for\r\n* [ClinicalImpression](clinicalimpression.html): Patient or group assessed\r\n* [Composition](composition.html): Who and/or what the composition is about\r\n* [Condition](condition.html): Who has the condition?\r\n* [Consent](consent.html): Who the consent applies to\r\n* [DetectedIssue](detectedissue.html): Associated patient\r\n* [DeviceRequest](devicerequest.html): Individual the service is ordered for\r\n* [DeviceUseStatement](deviceusestatement.html): Search by subject - a patient\r\n* [DiagnosticReport](diagnosticreport.html): The subject of the report if a patient\r\n* [DocumentManifest](documentmanifest.html): The subject of the set of documents\r\n* [DocumentReference](documentreference.html): Who/what is the subject of the document\r\n* [Encounter](encounter.html): The patient or group present at the encounter\r\n* [EpisodeOfCare](episodeofcare.html): The patient who is the focus of this episode of care\r\n* [FamilyMemberHistory](familymemberhistory.html): The identity of a subject to list family member history items for\r\n* [Flag](flag.html): The identity of a subject to list flags for\r\n* [Goal](goal.html): Who this goal is intended for\r\n* [ImagingStudy](imagingstudy.html): Who the study is about\r\n* [Immunization](immunization.html): The patient for the vaccination record\r\n* [List](list.html): If all resources have the same subject\r\n* [MedicationAdministration](medicationadministration.html): The identity of a patient to list administrations for\r\n* [MedicationDispense](medicationdispense.html): The identity of a patient to list dispenses for\r\n* [MedicationRequest](medicationrequest.html): Returns prescriptions for a specific patient\r\n* [MedicationUsage](medicationusage.html): Returns statements for a specific patient.\r\n* [NutritionOrder](nutritionorder.html): The identity of the person who requires the diet, formula or nutritional supplement\r\n* [Observation](observation.html): The subject that the observation is about (if patient)\r\n* [Procedure](procedure.html): Search by subject - a patient\r\n* [RiskAssessment](riskassessment.html): Who/what does assessment apply to?\r\n* [ServiceRequest](servicerequest.html): Search by subject - a patient\r\n* [SupplyDelivery](supplydelivery.html): Patient for whom the item is supplied\r\n* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for\r\n", type="reference", target={Group.class, Patient.class } )
|
||||
public static final String SP_PATIENT = "patient";
|
||||
/**
|
||||
* <b>Fluent Client</b> search parameter constant for <b>patient</b>
|
||||
|
@ -3637,7 +3637,7 @@ public class Composition extends DomainResource {
|
|||
* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for
|
||||
</b><br>
|
||||
* Type: <b>reference</b><br>
|
||||
* Path: <b>AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.patient | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUseStatement.subject | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient</b><br>
|
||||
* Path: <b>AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.subject.where(resolve() is Patient) | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUseStatement.subject | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient</b><br>
|
||||
* </p>
|
||||
*/
|
||||
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PATIENT);
|
||||
|
|
|
@ -49,7 +49,7 @@ package org.hl7.fhir.r5.model;
|
|||
POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
// Generated on Tue, Dec 31, 2019 12:12+1100 for FHIR vcurrent
|
||||
// Generated on Mon, May 11, 2020 09:58+1000 for FHIR vcurrent
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Date;
|
||||
|
@ -4533,13 +4533,14 @@ public class ConceptMap extends CanonicalResource {
|
|||
* [MessageDefinition](messagedefinition.html): External identifier for the message definition
|
||||
* [StructureDefinition](structuredefinition.html): External identifier for the structure definition
|
||||
* [StructureMap](structuremap.html): External identifier for the structure map
|
||||
* [TerminologyCapabilities](terminologycapabilities.html): External identifier for the terminology capabilities
|
||||
* [ValueSet](valueset.html): External identifier for the value set
|
||||
</b><br>
|
||||
* Type: <b>token</b><br>
|
||||
* Path: <b>CodeSystem.identifier | ConceptMap.identifier | MessageDefinition.identifier | StructureDefinition.identifier | StructureMap.identifier | ValueSet.identifier</b><br>
|
||||
* Path: <b>CodeSystem.identifier | ConceptMap.identifier | MessageDefinition.identifier | StructureDefinition.identifier | StructureMap.identifier | TerminologyCapabilities.identifier | ValueSet.identifier</b><br>
|
||||
* </p>
|
||||
*/
|
||||
@SearchParamDefinition(name="identifier", path="CodeSystem.identifier | ConceptMap.identifier | MessageDefinition.identifier | StructureDefinition.identifier | StructureMap.identifier | ValueSet.identifier", description="Multiple Resources: \r\n\r\n* [CodeSystem](codesystem.html): External identifier for the code system\r\n* [ConceptMap](conceptmap.html): External identifier for the concept map\r\n* [MessageDefinition](messagedefinition.html): External identifier for the message definition\r\n* [StructureDefinition](structuredefinition.html): External identifier for the structure definition\r\n* [StructureMap](structuremap.html): External identifier for the structure map\r\n* [ValueSet](valueset.html): External identifier for the value set\r\n", type="token" )
|
||||
@SearchParamDefinition(name="identifier", path="CodeSystem.identifier | ConceptMap.identifier | MessageDefinition.identifier | StructureDefinition.identifier | StructureMap.identifier | TerminologyCapabilities.identifier | ValueSet.identifier", description="Multiple Resources: \r\n\r\n* [CodeSystem](codesystem.html): External identifier for the code system\r\n* [ConceptMap](conceptmap.html): External identifier for the concept map\r\n* [MessageDefinition](messagedefinition.html): External identifier for the message definition\r\n* [StructureDefinition](structuredefinition.html): External identifier for the structure definition\r\n* [StructureMap](structuremap.html): External identifier for the structure map\r\n* [TerminologyCapabilities](terminologycapabilities.html): External identifier for the terminology capabilities\r\n* [ValueSet](valueset.html): External identifier for the value set\r\n", type="token" )
|
||||
public static final String SP_IDENTIFIER = "identifier";
|
||||
/**
|
||||
* <b>Fluent Client</b> search parameter constant for <b>identifier</b>
|
||||
|
@ -4551,10 +4552,11 @@ public class ConceptMap extends CanonicalResource {
|
|||
* [MessageDefinition](messagedefinition.html): External identifier for the message definition
|
||||
* [StructureDefinition](structuredefinition.html): External identifier for the structure definition
|
||||
* [StructureMap](structuremap.html): External identifier for the structure map
|
||||
* [TerminologyCapabilities](terminologycapabilities.html): External identifier for the terminology capabilities
|
||||
* [ValueSet](valueset.html): External identifier for the value set
|
||||
</b><br>
|
||||
* Type: <b>token</b><br>
|
||||
* Path: <b>CodeSystem.identifier | ConceptMap.identifier | MessageDefinition.identifier | StructureDefinition.identifier | StructureMap.identifier | ValueSet.identifier</b><br>
|
||||
* Path: <b>CodeSystem.identifier | ConceptMap.identifier | MessageDefinition.identifier | StructureDefinition.identifier | StructureMap.identifier | TerminologyCapabilities.identifier | ValueSet.identifier</b><br>
|
||||
* </p>
|
||||
*/
|
||||
public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_IDENTIFIER);
|
||||
|
|
|
@ -49,7 +49,7 @@ package org.hl7.fhir.r5.model;
|
|||
POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
// Generated on Tue, Dec 31, 2019 12:12+1100 for FHIR vcurrent
|
||||
// Generated on Mon, May 11, 2020 09:58+1000 for FHIR vcurrent
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Date;
|
||||
|
@ -736,7 +736,7 @@ public class Condition extends DomainResource {
|
|||
* Supporting evidence / manifestations that are the basis of the Condition's verification status, such as evidence that confirmed or refuted the condition.
|
||||
*/
|
||||
@Child(name = "evidence", type = {}, order=15, min=0, max=Child.MAX_UNLIMITED, modifier=false, summary=false)
|
||||
@Description(shortDefinition="Supporting evidence", formalDefinition="Supporting evidence / manifestations that are the basis of the Condition's verification status, such as evidence that confirmed or refuted the condition." )
|
||||
@Description(shortDefinition="Supporting evidence for the verification status", formalDefinition="Supporting evidence / manifestations that are the basis of the Condition's verification status, such as evidence that confirmed or refuted the condition." )
|
||||
protected List<ConditionEvidenceComponent> evidence;
|
||||
|
||||
/**
|
||||
|
@ -2125,7 +2125,7 @@ public class Condition extends DomainResource {
|
|||
* Path: <b>Condition.evidence.detail</b><br>
|
||||
* </p>
|
||||
*/
|
||||
@SearchParamDefinition(name="evidence-detail", path="Condition.evidence.detail", description="Supporting information found elsewhere", type="reference", target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, CatalogEntry.class, ChargeItem.class, ChargeItemDefinition.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceMetric.class, DeviceRequest.class, DeviceUseStatement.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, Topic.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } )
|
||||
@SearchParamDefinition(name="evidence-detail", path="Condition.evidence.detail", description="Supporting information found elsewhere", type="reference", target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, CatalogEntry.class, ChargeItem.class, ChargeItemDefinition.class, Citation.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceMetric.class, DeviceRequest.class, DeviceUseStatement.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceFocus.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, NutritionProduct.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Permission.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, SubscriptionStatus.class, SubscriptionTopic.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } )
|
||||
public static final String SP_EVIDENCE_DETAIL = "evidence-detail";
|
||||
/**
|
||||
* <b>Fluent Client</b> search parameter constant for <b>evidence-detail</b>
|
||||
|
@ -2350,10 +2350,10 @@ public class Condition extends DomainResource {
|
|||
* [ServiceRequest](servicerequest.html): What is being requested/ordered
|
||||
</b><br>
|
||||
* Type: <b>token</b><br>
|
||||
* Path: <b>AllergyIntolerance.code | AllergyIntolerance.reaction.substance | Condition.code | (DeviceRequest.code as CodeableConcept) | DiagnosticReport.code | FamilyMemberHistory.condition.code | List.code | Medication.code | (MedicationAdministration.medication as CodeableConcept) | (MedicationDispense.medication as CodeableConcept) | (MedicationRequest.medication as CodeableConcept) | (MedicationUsage.medication as CodeableConcept) | Observation.code | Procedure.code | ServiceRequest.code</b><br>
|
||||
* Path: <b>AllergyIntolerance.code | AllergyIntolerance.reaction.substance | Condition.code | DeviceRequest.code.concept | DiagnosticReport.code | FamilyMemberHistory.condition.code | List.code | Medication.code | MedicationAdministration.medication.concept | MedicationDispense.medication.concept | MedicationRequest.medication.concept | MedicationUsage.medication.concept | Observation.code | Procedure.code | ServiceRequest.code</b><br>
|
||||
* </p>
|
||||
*/
|
||||
@SearchParamDefinition(name="code", path="AllergyIntolerance.code | AllergyIntolerance.reaction.substance | Condition.code | (DeviceRequest.code as CodeableConcept) | DiagnosticReport.code | FamilyMemberHistory.condition.code | List.code | Medication.code | (MedicationAdministration.medication as CodeableConcept) | (MedicationDispense.medication as CodeableConcept) | (MedicationRequest.medication as CodeableConcept) | (MedicationUsage.medication as CodeableConcept) | Observation.code | Procedure.code | ServiceRequest.code", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): Code that identifies the allergy or intolerance\r\n* [Condition](condition.html): Code for the condition\r\n* [DeviceRequest](devicerequest.html): Code for what is being requested/ordered\r\n* [DiagnosticReport](diagnosticreport.html): The code for the report, as opposed to codes for the atomic results, which are the names on the observation resource referred to from the result\r\n* [FamilyMemberHistory](familymemberhistory.html): A search by a condition code\r\n* [List](list.html): What the purpose of this list is\r\n* [Medication](medication.html): Returns medications for a specific code\r\n* [MedicationAdministration](medicationadministration.html): Return administrations of this medication code\r\n* [MedicationDispense](medicationdispense.html): Returns dispenses of this medicine code\r\n* [MedicationRequest](medicationrequest.html): Return prescriptions of this medication code\r\n* [MedicationUsage](medicationusage.html): Return statements of this medication code\r\n* [Observation](observation.html): The code of the observation type\r\n* [Procedure](procedure.html): A code to identify a procedure\r\n* [ServiceRequest](servicerequest.html): What is being requested/ordered\r\n", type="token" )
|
||||
@SearchParamDefinition(name="code", path="AllergyIntolerance.code | AllergyIntolerance.reaction.substance | Condition.code | DeviceRequest.code.concept | DiagnosticReport.code | FamilyMemberHistory.condition.code | List.code | Medication.code | MedicationAdministration.medication.concept | MedicationDispense.medication.concept | MedicationRequest.medication.concept | MedicationUsage.medication.concept | Observation.code | Procedure.code | ServiceRequest.code", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): Code that identifies the allergy or intolerance\r\n* [Condition](condition.html): Code for the condition\r\n* [DeviceRequest](devicerequest.html): Code for what is being requested/ordered\r\n* [DiagnosticReport](diagnosticreport.html): The code for the report, as opposed to codes for the atomic results, which are the names on the observation resource referred to from the result\r\n* [FamilyMemberHistory](familymemberhistory.html): A search by a condition code\r\n* [List](list.html): What the purpose of this list is\r\n* [Medication](medication.html): Returns medications for a specific code\r\n* [MedicationAdministration](medicationadministration.html): Return administrations of this medication code\r\n* [MedicationDispense](medicationdispense.html): Returns dispenses of this medicine code\r\n* [MedicationRequest](medicationrequest.html): Return prescriptions of this medication code\r\n* [MedicationUsage](medicationusage.html): Return statements of this medication code\r\n* [Observation](observation.html): The code of the observation type\r\n* [Procedure](procedure.html): A code to identify a procedure\r\n* [ServiceRequest](servicerequest.html): What is being requested/ordered\r\n", type="token" )
|
||||
public static final String SP_CODE = "code";
|
||||
/**
|
||||
* <b>Fluent Client</b> search parameter constant for <b>code</b>
|
||||
|
@ -2376,7 +2376,7 @@ public class Condition extends DomainResource {
|
|||
* [ServiceRequest](servicerequest.html): What is being requested/ordered
|
||||
</b><br>
|
||||
* Type: <b>token</b><br>
|
||||
* Path: <b>AllergyIntolerance.code | AllergyIntolerance.reaction.substance | Condition.code | (DeviceRequest.code as CodeableConcept) | DiagnosticReport.code | FamilyMemberHistory.condition.code | List.code | Medication.code | (MedicationAdministration.medication as CodeableConcept) | (MedicationDispense.medication as CodeableConcept) | (MedicationRequest.medication as CodeableConcept) | (MedicationUsage.medication as CodeableConcept) | Observation.code | Procedure.code | ServiceRequest.code</b><br>
|
||||
* Path: <b>AllergyIntolerance.code | AllergyIntolerance.reaction.substance | Condition.code | DeviceRequest.code.concept | DiagnosticReport.code | FamilyMemberHistory.condition.code | List.code | Medication.code | MedicationAdministration.medication.concept | MedicationDispense.medication.concept | MedicationRequest.medication.concept | MedicationUsage.medication.concept | Observation.code | Procedure.code | ServiceRequest.code</b><br>
|
||||
* </p>
|
||||
*/
|
||||
public static final ca.uhn.fhir.rest.gclient.TokenClientParam CODE = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_CODE);
|
||||
|
@ -2504,10 +2504,10 @@ public class Condition extends DomainResource {
|
|||
* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for
|
||||
</b><br>
|
||||
* Type: <b>reference</b><br>
|
||||
* Path: <b>AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.patient | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUseStatement.subject | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient</b><br>
|
||||
* Path: <b>AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.subject.where(resolve() is Patient) | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUseStatement.subject | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient</b><br>
|
||||
* </p>
|
||||
*/
|
||||
@SearchParamDefinition(name="patient", path="AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.patient | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUseStatement.subject | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): Who the sensitivity is for\r\n* [CarePlan](careplan.html): Who the care plan is for\r\n* [CareTeam](careteam.html): Who care team is for\r\n* [ClinicalImpression](clinicalimpression.html): Patient or group assessed\r\n* [Composition](composition.html): Who and/or what the composition is about\r\n* [Condition](condition.html): Who has the condition?\r\n* [Consent](consent.html): Who the consent applies to\r\n* [DetectedIssue](detectedissue.html): Associated patient\r\n* [DeviceRequest](devicerequest.html): Individual the service is ordered for\r\n* [DeviceUseStatement](deviceusestatement.html): Search by subject - a patient\r\n* [DiagnosticReport](diagnosticreport.html): The subject of the report if a patient\r\n* [DocumentManifest](documentmanifest.html): The subject of the set of documents\r\n* [DocumentReference](documentreference.html): Who/what is the subject of the document\r\n* [Encounter](encounter.html): The patient or group present at the encounter\r\n* [EpisodeOfCare](episodeofcare.html): The patient who is the focus of this episode of care\r\n* [FamilyMemberHistory](familymemberhistory.html): The identity of a subject to list family member history items for\r\n* [Flag](flag.html): The identity of a subject to list flags for\r\n* [Goal](goal.html): Who this goal is intended for\r\n* [ImagingStudy](imagingstudy.html): Who the study is about\r\n* [Immunization](immunization.html): The patient for the vaccination record\r\n* [List](list.html): If all resources have the same subject\r\n* [MedicationAdministration](medicationadministration.html): The identity of a patient to list administrations for\r\n* [MedicationDispense](medicationdispense.html): The identity of a patient to list dispenses for\r\n* [MedicationRequest](medicationrequest.html): Returns prescriptions for a specific patient\r\n* [MedicationUsage](medicationusage.html): Returns statements for a specific patient.\r\n* [NutritionOrder](nutritionorder.html): The identity of the person who requires the diet, formula or nutritional supplement\r\n* [Observation](observation.html): The subject that the observation is about (if patient)\r\n* [Procedure](procedure.html): Search by subject - a patient\r\n* [RiskAssessment](riskassessment.html): Who/what does assessment apply to?\r\n* [ServiceRequest](servicerequest.html): Search by subject - a patient\r\n* [SupplyDelivery](supplydelivery.html): Patient for whom the item is supplied\r\n* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for\r\n", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Patient") }, target={Group.class, Patient.class } )
|
||||
@SearchParamDefinition(name="patient", path="AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.subject.where(resolve() is Patient) | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUseStatement.subject | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): Who the sensitivity is for\r\n* [CarePlan](careplan.html): Who the care plan is for\r\n* [CareTeam](careteam.html): Who care team is for\r\n* [ClinicalImpression](clinicalimpression.html): Patient or group assessed\r\n* [Composition](composition.html): Who and/or what the composition is about\r\n* [Condition](condition.html): Who has the condition?\r\n* [Consent](consent.html): Who the consent applies to\r\n* [DetectedIssue](detectedissue.html): Associated patient\r\n* [DeviceRequest](devicerequest.html): Individual the service is ordered for\r\n* [DeviceUseStatement](deviceusestatement.html): Search by subject - a patient\r\n* [DiagnosticReport](diagnosticreport.html): The subject of the report if a patient\r\n* [DocumentManifest](documentmanifest.html): The subject of the set of documents\r\n* [DocumentReference](documentreference.html): Who/what is the subject of the document\r\n* [Encounter](encounter.html): The patient or group present at the encounter\r\n* [EpisodeOfCare](episodeofcare.html): The patient who is the focus of this episode of care\r\n* [FamilyMemberHistory](familymemberhistory.html): The identity of a subject to list family member history items for\r\n* [Flag](flag.html): The identity of a subject to list flags for\r\n* [Goal](goal.html): Who this goal is intended for\r\n* [ImagingStudy](imagingstudy.html): Who the study is about\r\n* [Immunization](immunization.html): The patient for the vaccination record\r\n* [List](list.html): If all resources have the same subject\r\n* [MedicationAdministration](medicationadministration.html): The identity of a patient to list administrations for\r\n* [MedicationDispense](medicationdispense.html): The identity of a patient to list dispenses for\r\n* [MedicationRequest](medicationrequest.html): Returns prescriptions for a specific patient\r\n* [MedicationUsage](medicationusage.html): Returns statements for a specific patient.\r\n* [NutritionOrder](nutritionorder.html): The identity of the person who requires the diet, formula or nutritional supplement\r\n* [Observation](observation.html): The subject that the observation is about (if patient)\r\n* [Procedure](procedure.html): Search by subject - a patient\r\n* [RiskAssessment](riskassessment.html): Who/what does assessment apply to?\r\n* [ServiceRequest](servicerequest.html): Search by subject - a patient\r\n* [SupplyDelivery](supplydelivery.html): Patient for whom the item is supplied\r\n* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for\r\n", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Patient") }, target={Group.class, Patient.class } )
|
||||
public static final String SP_PATIENT = "patient";
|
||||
/**
|
||||
* <b>Fluent Client</b> search parameter constant for <b>patient</b>
|
||||
|
@ -2548,7 +2548,7 @@ public class Condition extends DomainResource {
|
|||
* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for
|
||||
</b><br>
|
||||
* Type: <b>reference</b><br>
|
||||
* Path: <b>AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.patient | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUseStatement.subject | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient</b><br>
|
||||
* Path: <b>AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.subject.where(resolve() is Patient) | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUseStatement.subject | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient</b><br>
|
||||
* </p>
|
||||
*/
|
||||
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PATIENT);
|
||||
|
|
|
@ -49,7 +49,7 @@ package org.hl7.fhir.r5.model;
|
|||
POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
// Generated on Tue, Dec 31, 2019 12:12+1100 for FHIR vcurrent
|
||||
// Generated on Mon, May 11, 2020 09:58+1000 for FHIR vcurrent
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Date;
|
||||
|
|
|
@ -49,7 +49,7 @@ package org.hl7.fhir.r5.model;
|
|||
POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
// Generated on Tue, Dec 31, 2019 12:12+1100 for FHIR vcurrent
|
||||
// Generated on Mon, May 11, 2020 09:58+1000 for FHIR vcurrent
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Date;
|
||||
|
@ -245,8 +245,8 @@ public class Consent extends DomainResource {
|
|||
}
|
||||
public String getDisplay() {
|
||||
switch (this) {
|
||||
case DENY: return "Opt Out";
|
||||
case PERMIT: return "Opt In";
|
||||
case DENY: return "Deny";
|
||||
case PERMIT: return "Permit";
|
||||
default: return "?";
|
||||
}
|
||||
}
|
||||
|
@ -2473,11 +2473,11 @@ public class Consent extends DomainResource {
|
|||
protected List<CodeableConcept> category;
|
||||
|
||||
/**
|
||||
* The patient/healthcare consumer to whom this consent applies.
|
||||
* The patient/healthcare practitioner to whom this consent applies.
|
||||
*/
|
||||
@Child(name = "patient", type = {Patient.class}, order=4, min=0, max=1, modifier=false, summary=true)
|
||||
@Description(shortDefinition="Who the consent applies to", formalDefinition="The patient/healthcare consumer to whom this consent applies." )
|
||||
protected Reference patient;
|
||||
@Child(name = "subject", type = {Patient.class, Practitioner.class}, order=4, min=0, max=1, modifier=false, summary=true)
|
||||
@Description(shortDefinition="Who the consent applies to", formalDefinition="The patient/healthcare practitioner to whom this consent applies." )
|
||||
protected Reference subject;
|
||||
|
||||
/**
|
||||
* Date and time the consent instance was agreed to.
|
||||
|
@ -2543,7 +2543,7 @@ public class Consent extends DomainResource {
|
|||
@Description(shortDefinition="Constraints to the base Consent.policyRule/Consent.policy", formalDefinition="An exception to the base policy of this consent. An exception can be an addition or removal of access permissions." )
|
||||
protected ProvisionComponent provision;
|
||||
|
||||
private static final long serialVersionUID = 1958612573L;
|
||||
private static final long serialVersionUID = -1510572988L;
|
||||
|
||||
/**
|
||||
* Constructor
|
||||
|
@ -2738,26 +2738,26 @@ public class Consent extends DomainResource {
|
|||
}
|
||||
|
||||
/**
|
||||
* @return {@link #patient} (The patient/healthcare consumer to whom this consent applies.)
|
||||
* @return {@link #subject} (The patient/healthcare practitioner to whom this consent applies.)
|
||||
*/
|
||||
public Reference getPatient() {
|
||||
if (this.patient == null)
|
||||
public Reference getSubject() {
|
||||
if (this.subject == null)
|
||||
if (Configuration.errorOnAutoCreate())
|
||||
throw new Error("Attempt to auto-create Consent.patient");
|
||||
throw new Error("Attempt to auto-create Consent.subject");
|
||||
else if (Configuration.doAutoCreate())
|
||||
this.patient = new Reference(); // cc
|
||||
return this.patient;
|
||||
this.subject = new Reference(); // cc
|
||||
return this.subject;
|
||||
}
|
||||
|
||||
public boolean hasPatient() {
|
||||
return this.patient != null && !this.patient.isEmpty();
|
||||
public boolean hasSubject() {
|
||||
return this.subject != null && !this.subject.isEmpty();
|
||||
}
|
||||
|
||||
/**
|
||||
* @param value {@link #patient} (The patient/healthcare consumer to whom this consent applies.)
|
||||
* @param value {@link #subject} (The patient/healthcare practitioner to whom this consent applies.)
|
||||
*/
|
||||
public Consent setPatient(Reference value) {
|
||||
this.patient = value;
|
||||
public Consent setSubject(Reference value) {
|
||||
this.subject = value;
|
||||
return this;
|
||||
}
|
||||
|
||||
|
@ -3182,7 +3182,7 @@ public class Consent extends DomainResource {
|
|||
children.add(new Property("status", "code", "Indicates the current state of this Consent resource.", 0, 1, status));
|
||||
children.add(new Property("scope", "CodeableConcept", "A selector of the type of consent being presented: Privacy, Treatment, or Research. This list is now extensible.", 0, 1, scope));
|
||||
children.add(new Property("category", "CodeableConcept", "A classification of the type of consents found in the statement. This element supports indexing and retrieval of consent statements.", 0, java.lang.Integer.MAX_VALUE, category));
|
||||
children.add(new Property("patient", "Reference(Patient)", "The patient/healthcare consumer to whom this consent applies.", 0, 1, patient));
|
||||
children.add(new Property("subject", "Reference(Patient|Practitioner)", "The patient/healthcare practitioner to whom this consent applies.", 0, 1, subject));
|
||||
children.add(new Property("dateTime", "dateTime", "Date and time the consent instance was agreed to.", 0, 1, dateTime));
|
||||
children.add(new Property("performer", "Reference(CareTeam|HealthcareService|Organization|Patient|Practitioner|RelatedPerson|PractitionerRole)", "Either the Grantor, which is the entity responsible for granting the rights listed in a Consent Directive or the Grantee, which is the entity responsible for complying with the Consent Directive, including any obligations or limitations on authorizations and enforcement of prohibitions.", 0, java.lang.Integer.MAX_VALUE, performer));
|
||||
children.add(new Property("organization", "Reference(Organization)", "The organization that manages the consent, and the framework within which it is executed.", 0, java.lang.Integer.MAX_VALUE, organization));
|
||||
|
@ -3201,7 +3201,7 @@ public class Consent extends DomainResource {
|
|||
case -892481550: /*status*/ return new Property("status", "code", "Indicates the current state of this Consent resource.", 0, 1, status);
|
||||
case 109264468: /*scope*/ return new Property("scope", "CodeableConcept", "A selector of the type of consent being presented: Privacy, Treatment, or Research. This list is now extensible.", 0, 1, scope);
|
||||
case 50511102: /*category*/ return new Property("category", "CodeableConcept", "A classification of the type of consents found in the statement. This element supports indexing and retrieval of consent statements.", 0, java.lang.Integer.MAX_VALUE, category);
|
||||
case -791418107: /*patient*/ return new Property("patient", "Reference(Patient)", "The patient/healthcare consumer to whom this consent applies.", 0, 1, patient);
|
||||
case -1867885268: /*subject*/ return new Property("subject", "Reference(Patient|Practitioner)", "The patient/healthcare practitioner to whom this consent applies.", 0, 1, subject);
|
||||
case 1792749467: /*dateTime*/ return new Property("dateTime", "dateTime", "Date and time the consent instance was agreed to.", 0, 1, dateTime);
|
||||
case 481140686: /*performer*/ return new Property("performer", "Reference(CareTeam|HealthcareService|Organization|Patient|Practitioner|RelatedPerson|PractitionerRole)", "Either the Grantor, which is the entity responsible for granting the rights listed in a Consent Directive or the Grantee, which is the entity responsible for complying with the Consent Directive, including any obligations or limitations on authorizations and enforcement of prohibitions.", 0, java.lang.Integer.MAX_VALUE, performer);
|
||||
case 1178922291: /*organization*/ return new Property("organization", "Reference(Organization)", "The organization that manages the consent, and the framework within which it is executed.", 0, java.lang.Integer.MAX_VALUE, organization);
|
||||
|
@ -3223,7 +3223,7 @@ public class Consent extends DomainResource {
|
|||
case -892481550: /*status*/ return this.status == null ? new Base[0] : new Base[] {this.status}; // Enumeration<ConsentState>
|
||||
case 109264468: /*scope*/ return this.scope == null ? new Base[0] : new Base[] {this.scope}; // CodeableConcept
|
||||
case 50511102: /*category*/ return this.category == null ? new Base[0] : this.category.toArray(new Base[this.category.size()]); // CodeableConcept
|
||||
case -791418107: /*patient*/ return this.patient == null ? new Base[0] : new Base[] {this.patient}; // Reference
|
||||
case -1867885268: /*subject*/ return this.subject == null ? new Base[0] : new Base[] {this.subject}; // Reference
|
||||
case 1792749467: /*dateTime*/ return this.dateTime == null ? new Base[0] : new Base[] {this.dateTime}; // DateTimeType
|
||||
case 481140686: /*performer*/ return this.performer == null ? new Base[0] : this.performer.toArray(new Base[this.performer.size()]); // Reference
|
||||
case 1178922291: /*organization*/ return this.organization == null ? new Base[0] : this.organization.toArray(new Base[this.organization.size()]); // Reference
|
||||
|
@ -3254,8 +3254,8 @@ public class Consent extends DomainResource {
|
|||
case 50511102: // category
|
||||
this.getCategory().add(TypeConvertor.castToCodeableConcept(value)); // CodeableConcept
|
||||
return value;
|
||||
case -791418107: // patient
|
||||
this.patient = TypeConvertor.castToReference(value); // Reference
|
||||
case -1867885268: // subject
|
||||
this.subject = TypeConvertor.castToReference(value); // Reference
|
||||
return value;
|
||||
case 1792749467: // dateTime
|
||||
this.dateTime = TypeConvertor.castToDateTime(value); // DateTimeType
|
||||
|
@ -3300,8 +3300,8 @@ public class Consent extends DomainResource {
|
|||
this.scope = TypeConvertor.castToCodeableConcept(value); // CodeableConcept
|
||||
} else if (name.equals("category")) {
|
||||
this.getCategory().add(TypeConvertor.castToCodeableConcept(value));
|
||||
} else if (name.equals("patient")) {
|
||||
this.patient = TypeConvertor.castToReference(value); // Reference
|
||||
} else if (name.equals("subject")) {
|
||||
this.subject = TypeConvertor.castToReference(value); // Reference
|
||||
} else if (name.equals("dateTime")) {
|
||||
this.dateTime = TypeConvertor.castToDateTime(value); // DateTimeType
|
||||
} else if (name.equals("performer")) {
|
||||
|
@ -3332,7 +3332,7 @@ public class Consent extends DomainResource {
|
|||
case -892481550: return getStatusElement();
|
||||
case 109264468: return getScope();
|
||||
case 50511102: return addCategory();
|
||||
case -791418107: return getPatient();
|
||||
case -1867885268: return getSubject();
|
||||
case 1792749467: return getDateTimeElement();
|
||||
case 481140686: return addPerformer();
|
||||
case 1178922291: return addOrganization();
|
||||
|
@ -3354,7 +3354,7 @@ public class Consent extends DomainResource {
|
|||
case -892481550: /*status*/ return new String[] {"code"};
|
||||
case 109264468: /*scope*/ return new String[] {"CodeableConcept"};
|
||||
case 50511102: /*category*/ return new String[] {"CodeableConcept"};
|
||||
case -791418107: /*patient*/ return new String[] {"Reference"};
|
||||
case -1867885268: /*subject*/ return new String[] {"Reference"};
|
||||
case 1792749467: /*dateTime*/ return new String[] {"dateTime"};
|
||||
case 481140686: /*performer*/ return new String[] {"Reference"};
|
||||
case 1178922291: /*organization*/ return new String[] {"Reference"};
|
||||
|
@ -3384,9 +3384,9 @@ public class Consent extends DomainResource {
|
|||
else if (name.equals("category")) {
|
||||
return addCategory();
|
||||
}
|
||||
else if (name.equals("patient")) {
|
||||
this.patient = new Reference();
|
||||
return this.patient;
|
||||
else if (name.equals("subject")) {
|
||||
this.subject = new Reference();
|
||||
return this.subject;
|
||||
}
|
||||
else if (name.equals("dateTime")) {
|
||||
throw new FHIRException("Cannot call addChild on a primitive type Consent.dateTime");
|
||||
|
@ -3446,7 +3446,7 @@ public class Consent extends DomainResource {
|
|||
for (CodeableConcept i : category)
|
||||
dst.category.add(i.copy());
|
||||
};
|
||||
dst.patient = patient == null ? null : patient.copy();
|
||||
dst.subject = subject == null ? null : subject.copy();
|
||||
dst.dateTime = dateTime == null ? null : dateTime.copy();
|
||||
if (performer != null) {
|
||||
dst.performer = new ArrayList<Reference>();
|
||||
|
@ -3494,7 +3494,7 @@ public class Consent extends DomainResource {
|
|||
return false;
|
||||
Consent o = (Consent) other_;
|
||||
return compareDeep(identifier, o.identifier, true) && compareDeep(status, o.status, true) && compareDeep(scope, o.scope, true)
|
||||
&& compareDeep(category, o.category, true) && compareDeep(patient, o.patient, true) && compareDeep(dateTime, o.dateTime, true)
|
||||
&& compareDeep(category, o.category, true) && compareDeep(subject, o.subject, true) && compareDeep(dateTime, o.dateTime, true)
|
||||
&& compareDeep(performer, o.performer, true) && compareDeep(organization, o.organization, true)
|
||||
&& compareDeep(sourceAttachment, o.sourceAttachment, true) && compareDeep(sourceReference, o.sourceReference, true)
|
||||
&& compareDeep(policy, o.policy, true) && compareDeep(policyRule, o.policyRule, true) && compareDeep(verification, o.verification, true)
|
||||
|
@ -3513,7 +3513,7 @@ public class Consent extends DomainResource {
|
|||
|
||||
public boolean isEmpty() {
|
||||
return super.isEmpty() && ca.uhn.fhir.util.ElementUtil.isEmpty(identifier, status, scope
|
||||
, category, patient, dateTime, performer, organization, sourceAttachment, sourceReference
|
||||
, category, subject, dateTime, performer, organization, sourceAttachment, sourceReference
|
||||
, policy, policyRule, verification, provision);
|
||||
}
|
||||
|
||||
|
@ -3622,7 +3622,7 @@ public class Consent extends DomainResource {
|
|||
* Path: <b>Consent.provision.data.reference</b><br>
|
||||
* </p>
|
||||
*/
|
||||
@SearchParamDefinition(name="data", path="Consent.provision.data.reference", description="The actual data reference", type="reference", target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, CatalogEntry.class, ChargeItem.class, ChargeItemDefinition.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceMetric.class, DeviceRequest.class, DeviceUseStatement.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, Topic.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } )
|
||||
@SearchParamDefinition(name="data", path="Consent.provision.data.reference", description="The actual data reference", type="reference", target={Account.class, ActivityDefinition.class, AdministrableProductDefinition.class, AdverseEvent.class, AllergyIntolerance.class, Appointment.class, AppointmentResponse.class, AuditEvent.class, Basic.class, Binary.class, BiologicallyDerivedProduct.class, BodyStructure.class, Bundle.class, CapabilityStatement.class, CapabilityStatement2.class, CarePlan.class, CareTeam.class, CatalogEntry.class, ChargeItem.class, ChargeItemDefinition.class, Citation.class, Claim.class, ClaimResponse.class, ClinicalImpression.class, ClinicalUseIssue.class, CodeSystem.class, Communication.class, CommunicationRequest.class, CompartmentDefinition.class, Composition.class, ConceptMap.class, Condition.class, ConditionDefinition.class, Consent.class, Contract.class, Coverage.class, CoverageEligibilityRequest.class, CoverageEligibilityResponse.class, DetectedIssue.class, Device.class, DeviceDefinition.class, DeviceMetric.class, DeviceRequest.class, DeviceUseStatement.class, DiagnosticReport.class, DocumentManifest.class, DocumentReference.class, Encounter.class, Endpoint.class, EnrollmentRequest.class, EnrollmentResponse.class, EpisodeOfCare.class, EventDefinition.class, Evidence.class, EvidenceFocus.class, EvidenceVariable.class, ExampleScenario.class, ExplanationOfBenefit.class, FamilyMemberHistory.class, Flag.class, Goal.class, GraphDefinition.class, Group.class, GuidanceResponse.class, HealthcareService.class, ImagingStudy.class, Immunization.class, ImmunizationEvaluation.class, ImmunizationRecommendation.class, ImplementationGuide.class, Ingredient.class, InsurancePlan.class, Invoice.class, Library.class, Linkage.class, ListResource.class, Location.class, ManufacturedItemDefinition.class, Measure.class, MeasureReport.class, Medication.class, MedicationAdministration.class, MedicationDispense.class, MedicationKnowledge.class, MedicationRequest.class, MedicationUsage.class, MedicinalProductDefinition.class, MessageDefinition.class, MessageHeader.class, MolecularSequence.class, NamingSystem.class, NutritionIntake.class, NutritionOrder.class, NutritionProduct.class, Observation.class, ObservationDefinition.class, OperationDefinition.class, OperationOutcome.class, Organization.class, OrganizationAffiliation.class, PackagedProductDefinition.class, Patient.class, PaymentNotice.class, PaymentReconciliation.class, Permission.class, Person.class, PlanDefinition.class, Practitioner.class, PractitionerRole.class, Procedure.class, Provenance.class, Questionnaire.class, QuestionnaireResponse.class, RegulatedAuthorization.class, RelatedPerson.class, RequestGroup.class, ResearchStudy.class, ResearchSubject.class, RiskAssessment.class, Schedule.class, SearchParameter.class, ServiceRequest.class, Slot.class, Specimen.class, SpecimenDefinition.class, StructureDefinition.class, StructureMap.class, Subscription.class, SubscriptionStatus.class, SubscriptionTopic.class, Substance.class, SubstanceDefinition.class, SubstanceNucleicAcid.class, SubstancePolymer.class, SubstanceProtein.class, SubstanceReferenceInformation.class, SubstanceSourceMaterial.class, SupplyDelivery.class, SupplyRequest.class, Task.class, TerminologyCapabilities.class, TestReport.class, TestScript.class, ValueSet.class, VerificationResult.class, VisionPrescription.class } )
|
||||
public static final String SP_DATA = "data";
|
||||
/**
|
||||
* <b>Fluent Client</b> search parameter constant for <b>data</b>
|
||||
|
@ -3812,6 +3812,32 @@ public class Consent extends DomainResource {
|
|||
*/
|
||||
public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_STATUS);
|
||||
|
||||
/**
|
||||
* Search parameter: <b>subject</b>
|
||||
* <p>
|
||||
* Description: <b>Who the consent applies to</b><br>
|
||||
* Type: <b>reference</b><br>
|
||||
* Path: <b>Consent.subject</b><br>
|
||||
* </p>
|
||||
*/
|
||||
@SearchParamDefinition(name="subject", path="Consent.subject", description="Who the consent applies to", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Patient") }, target={Patient.class, Practitioner.class } )
|
||||
public static final String SP_SUBJECT = "subject";
|
||||
/**
|
||||
* <b>Fluent Client</b> search parameter constant for <b>subject</b>
|
||||
* <p>
|
||||
* Description: <b>Who the consent applies to</b><br>
|
||||
* Type: <b>reference</b><br>
|
||||
* Path: <b>Consent.subject</b><br>
|
||||
* </p>
|
||||
*/
|
||||
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SUBJECT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_SUBJECT);
|
||||
|
||||
/**
|
||||
* Constant for fluent queries to be used to add include statements. Specifies
|
||||
* the path value of "<b>Consent:subject</b>".
|
||||
*/
|
||||
public static final ca.uhn.fhir.model.api.Include INCLUDE_SUBJECT = new ca.uhn.fhir.model.api.Include("Consent:subject").toLocked();
|
||||
|
||||
/**
|
||||
* Search parameter: <b>verified-date</b>
|
||||
* <p>
|
||||
|
@ -3876,10 +3902,10 @@ public class Consent extends DomainResource {
|
|||
* [SupplyRequest](supplyrequest.html): When the request was made
|
||||
</b><br>
|
||||
* Type: <b>date</b><br>
|
||||
* Path: <b>AllergyIntolerance.recordedDate | CarePlan.period | ClinicalImpression.date | Composition.date | Consent.dateTime | DiagnosticReport.effective | Encounter.period | EpisodeOfCare.period | FamilyMemberHistory.date | Flag.period | Immunization.occurrence | List.date | Observation.effective | Procedure.occurrence | (RiskAssessment.occurrence as dateTime) | SupplyRequest.authoredOn</b><br>
|
||||
* Path: <b>AllergyIntolerance.recordedDate | CarePlan.period | ClinicalImpression.date | Composition.date | Consent.dateTime | DiagnosticReport.effective | Encounter.period | EpisodeOfCare.period | FamilyMemberHistory.date | Flag.period | (Immunization.occurrence as dateTime) | List.date | Observation.effective | Procedure.occurrence | (RiskAssessment.occurrence as dateTime) | SupplyRequest.authoredOn</b><br>
|
||||
* </p>
|
||||
*/
|
||||
@SearchParamDefinition(name="date", path="AllergyIntolerance.recordedDate | CarePlan.period | ClinicalImpression.date | Composition.date | Consent.dateTime | DiagnosticReport.effective | Encounter.period | EpisodeOfCare.period | FamilyMemberHistory.date | Flag.period | Immunization.occurrence | List.date | Observation.effective | Procedure.occurrence | (RiskAssessment.occurrence as dateTime) | SupplyRequest.authoredOn", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): Date first version of the resource instance was recorded\r\n* [CarePlan](careplan.html): Time period plan covers\r\n* [CareTeam](careteam.html): A date within the coverage time period.\r\n* [ClinicalImpression](clinicalimpression.html): When the assessment was documented\r\n* [Composition](composition.html): Composition editing time\r\n* [Consent](consent.html): When consent was agreed to\r\n* [DiagnosticReport](diagnosticreport.html): The clinically relevant time of the report\r\n* [Encounter](encounter.html): A date within the period the Encounter lasted\r\n* [EpisodeOfCare](episodeofcare.html): The provided date search value falls within the episode of care's period\r\n* [FamilyMemberHistory](familymemberhistory.html): When history was recorded or last updated\r\n* [Flag](flag.html): Time period when flag is active\r\n* [Immunization](immunization.html): Vaccination (non)-Administration Date\r\n* [List](list.html): When the list was prepared\r\n* [Observation](observation.html): Obtained date/time. If the obtained element is a period, a date that falls in the period\r\n* [Procedure](procedure.html): When the procedure occurred or is occurring\r\n* [RiskAssessment](riskassessment.html): When was assessment made?\r\n* [SupplyRequest](supplyrequest.html): When the request was made\r\n", type="date" )
|
||||
@SearchParamDefinition(name="date", path="AllergyIntolerance.recordedDate | CarePlan.period | ClinicalImpression.date | Composition.date | Consent.dateTime | DiagnosticReport.effective | Encounter.period | EpisodeOfCare.period | FamilyMemberHistory.date | Flag.period | (Immunization.occurrence as dateTime) | List.date | Observation.effective | Procedure.occurrence | (RiskAssessment.occurrence as dateTime) | SupplyRequest.authoredOn", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): Date first version of the resource instance was recorded\r\n* [CarePlan](careplan.html): Time period plan covers\r\n* [CareTeam](careteam.html): A date within the coverage time period.\r\n* [ClinicalImpression](clinicalimpression.html): When the assessment was documented\r\n* [Composition](composition.html): Composition editing time\r\n* [Consent](consent.html): When consent was agreed to\r\n* [DiagnosticReport](diagnosticreport.html): The clinically relevant time of the report\r\n* [Encounter](encounter.html): A date within the period the Encounter lasted\r\n* [EpisodeOfCare](episodeofcare.html): The provided date search value falls within the episode of care's period\r\n* [FamilyMemberHistory](familymemberhistory.html): When history was recorded or last updated\r\n* [Flag](flag.html): Time period when flag is active\r\n* [Immunization](immunization.html): Vaccination (non)-Administration Date\r\n* [List](list.html): When the list was prepared\r\n* [Observation](observation.html): Obtained date/time. If the obtained element is a period, a date that falls in the period\r\n* [Procedure](procedure.html): When the procedure occurred or is occurring\r\n* [RiskAssessment](riskassessment.html): When was assessment made?\r\n* [SupplyRequest](supplyrequest.html): When the request was made\r\n", type="date" )
|
||||
public static final String SP_DATE = "date";
|
||||
/**
|
||||
* <b>Fluent Client</b> search parameter constant for <b>date</b>
|
||||
|
@ -3905,7 +3931,7 @@ public class Consent extends DomainResource {
|
|||
* [SupplyRequest](supplyrequest.html): When the request was made
|
||||
</b><br>
|
||||
* Type: <b>date</b><br>
|
||||
* Path: <b>AllergyIntolerance.recordedDate | CarePlan.period | ClinicalImpression.date | Composition.date | Consent.dateTime | DiagnosticReport.effective | Encounter.period | EpisodeOfCare.period | FamilyMemberHistory.date | Flag.period | Immunization.occurrence | List.date | Observation.effective | Procedure.occurrence | (RiskAssessment.occurrence as dateTime) | SupplyRequest.authoredOn</b><br>
|
||||
* Path: <b>AllergyIntolerance.recordedDate | CarePlan.period | ClinicalImpression.date | Composition.date | Consent.dateTime | DiagnosticReport.effective | Encounter.period | EpisodeOfCare.period | FamilyMemberHistory.date | Flag.period | (Immunization.occurrence as dateTime) | List.date | Observation.effective | Procedure.occurrence | (RiskAssessment.occurrence as dateTime) | SupplyRequest.authoredOn</b><br>
|
||||
* </p>
|
||||
*/
|
||||
public static final ca.uhn.fhir.rest.gclient.DateClientParam DATE = new ca.uhn.fhir.rest.gclient.DateClientParam(SP_DATE);
|
||||
|
@ -4033,10 +4059,10 @@ public class Consent extends DomainResource {
|
|||
* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for
|
||||
</b><br>
|
||||
* Type: <b>reference</b><br>
|
||||
* Path: <b>AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.patient | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUseStatement.subject | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient</b><br>
|
||||
* Path: <b>AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.subject.where(resolve() is Patient) | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUseStatement.subject | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient</b><br>
|
||||
* </p>
|
||||
*/
|
||||
@SearchParamDefinition(name="patient", path="AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.patient | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUseStatement.subject | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): Who the sensitivity is for\r\n* [CarePlan](careplan.html): Who the care plan is for\r\n* [CareTeam](careteam.html): Who care team is for\r\n* [ClinicalImpression](clinicalimpression.html): Patient or group assessed\r\n* [Composition](composition.html): Who and/or what the composition is about\r\n* [Condition](condition.html): Who has the condition?\r\n* [Consent](consent.html): Who the consent applies to\r\n* [DetectedIssue](detectedissue.html): Associated patient\r\n* [DeviceRequest](devicerequest.html): Individual the service is ordered for\r\n* [DeviceUseStatement](deviceusestatement.html): Search by subject - a patient\r\n* [DiagnosticReport](diagnosticreport.html): The subject of the report if a patient\r\n* [DocumentManifest](documentmanifest.html): The subject of the set of documents\r\n* [DocumentReference](documentreference.html): Who/what is the subject of the document\r\n* [Encounter](encounter.html): The patient or group present at the encounter\r\n* [EpisodeOfCare](episodeofcare.html): The patient who is the focus of this episode of care\r\n* [FamilyMemberHistory](familymemberhistory.html): The identity of a subject to list family member history items for\r\n* [Flag](flag.html): The identity of a subject to list flags for\r\n* [Goal](goal.html): Who this goal is intended for\r\n* [ImagingStudy](imagingstudy.html): Who the study is about\r\n* [Immunization](immunization.html): The patient for the vaccination record\r\n* [List](list.html): If all resources have the same subject\r\n* [MedicationAdministration](medicationadministration.html): The identity of a patient to list administrations for\r\n* [MedicationDispense](medicationdispense.html): The identity of a patient to list dispenses for\r\n* [MedicationRequest](medicationrequest.html): Returns prescriptions for a specific patient\r\n* [MedicationUsage](medicationusage.html): Returns statements for a specific patient.\r\n* [NutritionOrder](nutritionorder.html): The identity of the person who requires the diet, formula or nutritional supplement\r\n* [Observation](observation.html): The subject that the observation is about (if patient)\r\n* [Procedure](procedure.html): Search by subject - a patient\r\n* [RiskAssessment](riskassessment.html): Who/what does assessment apply to?\r\n* [ServiceRequest](servicerequest.html): Search by subject - a patient\r\n* [SupplyDelivery](supplydelivery.html): Patient for whom the item is supplied\r\n* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for\r\n", type="reference", providesMembershipIn={ @ca.uhn.fhir.model.api.annotation.Compartment(name="Base FHIR compartment definition for Patient") }, target={Group.class, Patient.class } )
|
||||
@SearchParamDefinition(name="patient", path="AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.subject.where(resolve() is Patient) | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUseStatement.subject | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient", description="Multiple Resources: \r\n\r\n* [AllergyIntolerance](allergyintolerance.html): Who the sensitivity is for\r\n* [CarePlan](careplan.html): Who the care plan is for\r\n* [CareTeam](careteam.html): Who care team is for\r\n* [ClinicalImpression](clinicalimpression.html): Patient or group assessed\r\n* [Composition](composition.html): Who and/or what the composition is about\r\n* [Condition](condition.html): Who has the condition?\r\n* [Consent](consent.html): Who the consent applies to\r\n* [DetectedIssue](detectedissue.html): Associated patient\r\n* [DeviceRequest](devicerequest.html): Individual the service is ordered for\r\n* [DeviceUseStatement](deviceusestatement.html): Search by subject - a patient\r\n* [DiagnosticReport](diagnosticreport.html): The subject of the report if a patient\r\n* [DocumentManifest](documentmanifest.html): The subject of the set of documents\r\n* [DocumentReference](documentreference.html): Who/what is the subject of the document\r\n* [Encounter](encounter.html): The patient or group present at the encounter\r\n* [EpisodeOfCare](episodeofcare.html): The patient who is the focus of this episode of care\r\n* [FamilyMemberHistory](familymemberhistory.html): The identity of a subject to list family member history items for\r\n* [Flag](flag.html): The identity of a subject to list flags for\r\n* [Goal](goal.html): Who this goal is intended for\r\n* [ImagingStudy](imagingstudy.html): Who the study is about\r\n* [Immunization](immunization.html): The patient for the vaccination record\r\n* [List](list.html): If all resources have the same subject\r\n* [MedicationAdministration](medicationadministration.html): The identity of a patient to list administrations for\r\n* [MedicationDispense](medicationdispense.html): The identity of a patient to list dispenses for\r\n* [MedicationRequest](medicationrequest.html): Returns prescriptions for a specific patient\r\n* [MedicationUsage](medicationusage.html): Returns statements for a specific patient.\r\n* [NutritionOrder](nutritionorder.html): The identity of the person who requires the diet, formula or nutritional supplement\r\n* [Observation](observation.html): The subject that the observation is about (if patient)\r\n* [Procedure](procedure.html): Search by subject - a patient\r\n* [RiskAssessment](riskassessment.html): Who/what does assessment apply to?\r\n* [ServiceRequest](servicerequest.html): Search by subject - a patient\r\n* [SupplyDelivery](supplydelivery.html): Patient for whom the item is supplied\r\n* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for\r\n", type="reference", target={Group.class, Patient.class } )
|
||||
public static final String SP_PATIENT = "patient";
|
||||
/**
|
||||
* <b>Fluent Client</b> search parameter constant for <b>patient</b>
|
||||
|
@ -4077,7 +4103,7 @@ public class Consent extends DomainResource {
|
|||
* [VisionPrescription](visionprescription.html): The identity of a patient to list dispenses for
|
||||
</b><br>
|
||||
* Type: <b>reference</b><br>
|
||||
* Path: <b>AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.patient | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUseStatement.subject | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient</b><br>
|
||||
* Path: <b>AllergyIntolerance.patient | CarePlan.subject.where(resolve() is Patient) | CareTeam.subject.where(resolve() is Patient) | ClinicalImpression.subject.where(resolve() is Patient) | Composition.subject.where(resolve() is Patient) | Condition.subject.where(resolve() is Patient) | Consent.subject.where(resolve() is Patient) | DetectedIssue.patient | DeviceRequest.subject.where(resolve() is Patient) | DeviceUseStatement.subject | DiagnosticReport.subject.where(resolve() is Patient) | DocumentManifest.subject.where(resolve() is Patient) | DocumentReference.subject.where(resolve() is Patient) | Encounter.subject.where(resolve() is Patient) | EpisodeOfCare.patient | FamilyMemberHistory.patient | Flag.subject.where(resolve() is Patient) | Goal.subject.where(resolve() is Patient) | ImagingStudy.subject.where(resolve() is Patient) | Immunization.patient | List.subject.where(resolve() is Patient) | MedicationAdministration.subject.where(resolve() is Patient) | MedicationDispense.subject.where(resolve() is Patient) | MedicationRequest.subject.where(resolve() is Patient) | MedicationUsage.subject.where(resolve() is Patient) | NutritionOrder.patient | Observation.subject.where(resolve() is Patient) | Procedure.subject.where(resolve() is Patient) | RiskAssessment.subject.where(resolve() is Patient) | ServiceRequest.subject.where(resolve() is Patient) | SupplyDelivery.patient | VisionPrescription.patient</b><br>
|
||||
* </p>
|
||||
*/
|
||||
public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT = new ca.uhn.fhir.rest.gclient.ReferenceClientParam(SP_PATIENT);
|
||||
|
|
|
@ -48,19 +48,19 @@ package org.hl7.fhir.r5.model;
|
|||
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) \
|
||||
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE \
|
||||
POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
*/
|
||||
|
||||
// Generated on Tue, Dec 31, 2019 12:12+1100 for FHIR v4.2.0
|
||||
// Generated on Mon, May 11, 2020 09:58+1000 for FHIR v4.4.0
|
||||
|
||||
|
||||
|
||||
public class Constants {
|
||||
|
||||
public final static String LOCAL_REF_REGEX = "(Account|ActivityDefinition|AdministrableProductDefinition|AdverseEvent|AllergyIntolerance|Appointment|AppointmentResponse|AuditEvent|Basic|Binary|BiologicallyDerivedProduct|BodyStructure|Bundle|CapabilityStatement|CapabilityStatement2|CarePlan|CareTeam|CatalogEntry|ChargeItem|ChargeItemDefinition|Claim|ClaimResponse|ClinicalImpression|ClinicalUseIssue|CodeSystem|Communication|CommunicationRequest|CompartmentDefinition|Composition|ConceptMap|Condition|ConditionDefinition|Consent|Contract|Coverage|CoverageEligibilityRequest|CoverageEligibilityResponse|DetectedIssue|Device|DeviceDefinition|DeviceMetric|DeviceRequest|DeviceUseStatement|DiagnosticReport|DocumentManifest|DocumentReference|Encounter|Endpoint|EnrollmentRequest|EnrollmentResponse|EpisodeOfCare|EventDefinition|Evidence|EvidenceVariable|ExampleScenario|ExplanationOfBenefit|FamilyMemberHistory|Flag|Goal|GraphDefinition|Group|GuidanceResponse|HealthcareService|ImagingStudy|Immunization|ImmunizationEvaluation|ImmunizationRecommendation|ImplementationGuide|Ingredient|InsurancePlan|Invoice|Library|Linkage|List|Location|ManufacturedItemDefinition|Measure|MeasureReport|Medication|MedicationAdministration|MedicationDispense|MedicationKnowledge|MedicationRequest|MedicationUsage|MedicinalProductDefinition|MessageDefinition|MessageHeader|MolecularSequence|NamingSystem|NutritionIntake|NutritionOrder|Observation|ObservationDefinition|OperationDefinition|OperationOutcome|Organization|OrganizationAffiliation|PackagedProductDefinition|Parameters|Patient|PaymentNotice|PaymentReconciliation|Person|PlanDefinition|Practitioner|PractitionerRole|Procedure|Provenance|Questionnaire|QuestionnaireResponse|RegulatedAuthorization|RelatedPerson|RequestGroup|ResearchStudy|ResearchSubject|RiskAssessment|Schedule|SearchParameter|ServiceRequest|Slot|Specimen|SpecimenDefinition|StructureDefinition|StructureMap|Subscription|Substance|SubstanceDefinition|SubstanceNucleicAcid|SubstancePolymer|SubstanceProtein|SubstanceReferenceInformation|SubstanceSourceMaterial|SupplyDelivery|SupplyRequest|Task|TerminologyCapabilities|TestReport|TestScript|Topic|ValueSet|VerificationResult|VisionPrescription)\\\\/[A-Za-z0-9\\\\-\\\\.]{1,64}";
|
||||
public final static String LOCAL_REF_REGEX = "(Account|ActivityDefinition|AdministrableProductDefinition|AdverseEvent|AllergyIntolerance|Appointment|AppointmentResponse|AuditEvent|Basic|Binary|BiologicallyDerivedProduct|BodyStructure|Bundle|CapabilityStatement|CapabilityStatement2|CarePlan|CareTeam|CatalogEntry|ChargeItem|ChargeItemDefinition|Citation|Claim|ClaimResponse|ClinicalImpression|ClinicalUseIssue|CodeSystem|Communication|CommunicationRequest|CompartmentDefinition|Composition|ConceptMap|Condition|ConditionDefinition|Consent|Contract|Coverage|CoverageEligibilityRequest|CoverageEligibilityResponse|DetectedIssue|Device|DeviceDefinition|DeviceMetric|DeviceRequest|DeviceUseStatement|DiagnosticReport|DocumentManifest|DocumentReference|Encounter|Endpoint|EnrollmentRequest|EnrollmentResponse|EpisodeOfCare|EventDefinition|Evidence|EvidenceFocus|EvidenceVariable|ExampleScenario|ExplanationOfBenefit|FamilyMemberHistory|Flag|Goal|GraphDefinition|Group|GuidanceResponse|HealthcareService|ImagingStudy|Immunization|ImmunizationEvaluation|ImmunizationRecommendation|ImplementationGuide|Ingredient|InsurancePlan|Invoice|Library|Linkage|List|Location|ManufacturedItemDefinition|Measure|MeasureReport|Medication|MedicationAdministration|MedicationDispense|MedicationKnowledge|MedicationRequest|MedicationUsage|MedicinalProductDefinition|MessageDefinition|MessageHeader|MolecularSequence|NamingSystem|NutritionIntake|NutritionOrder|NutritionProduct|Observation|ObservationDefinition|OperationDefinition|OperationOutcome|Organization|OrganizationAffiliation|PackagedProductDefinition|Parameters|Patient|PaymentNotice|PaymentReconciliation|Permission|Person|PlanDefinition|Practitioner|PractitionerRole|Procedure|Provenance|Questionnaire|QuestionnaireResponse|RegulatedAuthorization|RelatedPerson|RequestGroup|ResearchStudy|ResearchSubject|RiskAssessment|Schedule|SearchParameter|ServiceRequest|Slot|Specimen|SpecimenDefinition|StructureDefinition|StructureMap|Subscription|SubscriptionStatus|SubscriptionTopic|Substance|SubstanceDefinition|SubstanceNucleicAcid|SubstancePolymer|SubstanceProtein|SubstanceReferenceInformation|SubstanceSourceMaterial|SupplyDelivery|SupplyRequest|Task|TerminologyCapabilities|TestReport|TestScript|ValueSet|VerificationResult|VisionPrescription)\\\\/[A-Za-z0-9\\\\-\\\\.]{1,64}";
|
||||
public final static String NS_SYSTEM_TYPE = "http://hl7.org/fhirpath/System.";
|
||||
|
||||
public final static String VERSION = "4.4.0";
|
||||
public final static String VERSION_MM = "4.4";
|
||||
public final static String DATE = "Tue, Dec 31, 2019 12:12+1100";
|
||||
public final static String URI_REGEX = "((http|https)://([A-Za-z0-9\\\\\\.\\:\\%\\$]*\\/)*)?(Account|ActivityDefinition|AdministrableProductDefinition|AdverseEvent|AllergyIntolerance|Appointment|AppointmentResponse|AuditEvent|Basic|Binary|BiologicallyDerivedProduct|BodyStructure|Bundle|CapabilityStatement|CapabilityStatement2|CarePlan|CareTeam|CatalogEntry|ChargeItem|ChargeItemDefinition|Claim|ClaimResponse|ClinicalImpression|ClinicalUseIssue|CodeSystem|Communication|CommunicationRequest|CompartmentDefinition|Composition|ConceptMap|Condition|ConditionDefinition|Consent|Contract|Coverage|CoverageEligibilityRequest|CoverageEligibilityResponse|DetectedIssue|Device|DeviceDefinition|DeviceMetric|DeviceRequest|DeviceUseStatement|DiagnosticReport|DocumentManifest|DocumentReference|Encounter|Endpoint|EnrollmentRequest|EnrollmentResponse|EpisodeOfCare|EventDefinition|Evidence|EvidenceVariable|ExampleScenario|ExplanationOfBenefit|FamilyMemberHistory|Flag|Goal|GraphDefinition|Group|GuidanceResponse|HealthcareService|ImagingStudy|Immunization|ImmunizationEvaluation|ImmunizationRecommendation|ImplementationGuide|Ingredient|InsurancePlan|Invoice|Library|Linkage|List|Location|ManufacturedItemDefinition|Measure|MeasureReport|Medication|MedicationAdministration|MedicationDispense|MedicationKnowledge|MedicationRequest|MedicationUsage|MedicinalProductDefinition|MessageDefinition|MessageHeader|MolecularSequence|NamingSystem|NutritionIntake|NutritionOrder|Observation|ObservationDefinition|OperationDefinition|OperationOutcome|Organization|OrganizationAffiliation|PackagedProductDefinition|Parameters|Patient|PaymentNotice|PaymentReconciliation|Person|PlanDefinition|Practitioner|PractitionerRole|Procedure|Provenance|Questionnaire|QuestionnaireResponse|RegulatedAuthorization|RelatedPerson|RequestGroup|ResearchStudy|ResearchSubject|RiskAssessment|Schedule|SearchParameter|ServiceRequest|Slot|Specimen|SpecimenDefinition|StructureDefinition|StructureMap|Subscription|Substance|SubstanceDefinition|SubstanceNucleicAcid|SubstancePolymer|SubstanceProtein|SubstanceReferenceInformation|SubstanceSourceMaterial|SupplyDelivery|SupplyRequest|Task|TerminologyCapabilities|TestReport|TestScript|Topic|ValueSet|VerificationResult|VisionPrescription)\\/[A-Za-z0-9\\-\\.]{1,64}(\\/_history\\/[A-Za-z0-9\\-\\.]{1,64})?";
|
||||
public final static String DATE = "Mon, May 11, 2020 09:58+1000";
|
||||
public final static String URI_REGEX = "((http|https)://([A-Za-z0-9\\\\\\.\\:\\%\\$]*\\/)*)?(Account|ActivityDefinition|AdministrableProductDefinition|AdverseEvent|AllergyIntolerance|Appointment|AppointmentResponse|AuditEvent|Basic|Binary|BiologicallyDerivedProduct|BodyStructure|Bundle|CapabilityStatement|CapabilityStatement2|CarePlan|CareTeam|CatalogEntry|ChargeItem|ChargeItemDefinition|Citation|Claim|ClaimResponse|ClinicalImpression|ClinicalUseIssue|CodeSystem|Communication|CommunicationRequest|CompartmentDefinition|Composition|ConceptMap|Condition|ConditionDefinition|Consent|Contract|Coverage|CoverageEligibilityRequest|CoverageEligibilityResponse|DetectedIssue|Device|DeviceDefinition|DeviceMetric|DeviceRequest|DeviceUseStatement|DiagnosticReport|DocumentManifest|DocumentReference|Encounter|Endpoint|EnrollmentRequest|EnrollmentResponse|EpisodeOfCare|EventDefinition|Evidence|EvidenceFocus|EvidenceVariable|ExampleScenario|ExplanationOfBenefit|FamilyMemberHistory|Flag|Goal|GraphDefinition|Group|GuidanceResponse|HealthcareService|ImagingStudy|Immunization|ImmunizationEvaluation|ImmunizationRecommendation|ImplementationGuide|Ingredient|InsurancePlan|Invoice|Library|Linkage|List|Location|ManufacturedItemDefinition|Measure|MeasureReport|Medication|MedicationAdministration|MedicationDispense|MedicationKnowledge|MedicationRequest|MedicationUsage|MedicinalProductDefinition|MessageDefinition|MessageHeader|MolecularSequence|NamingSystem|NutritionIntake|NutritionOrder|NutritionProduct|Observation|ObservationDefinition|OperationDefinition|OperationOutcome|Organization|OrganizationAffiliation|PackagedProductDefinition|Parameters|Patient|PaymentNotice|PaymentReconciliation|Permission|Person|PlanDefinition|Practitioner|PractitionerRole|Procedure|Provenance|Questionnaire|QuestionnaireResponse|RegulatedAuthorization|RelatedPerson|RequestGroup|ResearchStudy|ResearchSubject|RiskAssessment|Schedule|SearchParameter|ServiceRequest|Slot|Specimen|SpecimenDefinition|StructureDefinition|StructureMap|Subscription|SubscriptionStatus|SubscriptionTopic|Substance|SubstanceDefinition|SubstanceNucleicAcid|SubstancePolymer|SubstanceProtein|SubstanceReferenceInformation|SubstanceSourceMaterial|SupplyDelivery|SupplyRequest|Task|TerminologyCapabilities|TestReport|TestScript|ValueSet|VerificationResult|VisionPrescription)\\/[A-Za-z0-9\\-\\.]{1,64}(\\/_history\\/[A-Za-z0-9\\-\\.]{1,64})?";
|
||||
}
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue