예제 #1
0
파일: Group.java 프로젝트: cotsog/fhir-svn
 protected void listChildren(List<Property> childrenList) {
   super.listChildren(childrenList);
   childrenList.add(
       new Property(
           "entity",
           "Reference(Patient|Practitioner|Device|Medication|Substance)",
           "A reference to the entity that is a member of the group. Must be consistent with Group.type.",
           0,
           java.lang.Integer.MAX_VALUE,
           entity));
   childrenList.add(
       new Property(
           "period",
           "Period",
           "The period that the member was in the group, if known.",
           0,
           java.lang.Integer.MAX_VALUE,
           period));
   childrenList.add(
       new Property(
           "inactive",
           "boolean",
           "A flag to indicate that the member is no longer in the group, but previously may have been a member.",
           0,
           java.lang.Integer.MAX_VALUE,
           inactive));
 }
예제 #2
0
 protected void listChildren(List<Property> childrenList) {
   super.listChildren(childrenList);
   childrenList.add(
       new Property(
           "type",
           "CodeableConcept",
           "The actual condition specified. Could be a coded condition (like MI or Diabetes) or a less specific string like 'cancer' depending on how much is known about the condition and the capabilities of the creating system.",
           0,
           java.lang.Integer.MAX_VALUE,
           type));
   childrenList.add(
       new Property(
           "outcome",
           "CodeableConcept",
           "Indicates what happened as a result of this condition.  If the condition resulted in death, deceased date is captured on the relation.",
           0,
           java.lang.Integer.MAX_VALUE,
           outcome));
   childrenList.add(
       new Property(
           "onset[x]",
           "Age|Range|string",
           "Either the age of onset, range of approximate age or descriptive string can be recorded.  For conditions with multiple occurrences, this describes the first known occurrence.",
           0,
           java.lang.Integer.MAX_VALUE,
           onset));
   childrenList.add(
       new Property(
           "note",
           "string",
           "An area where general notes can be placed about this specific condition.",
           0,
           java.lang.Integer.MAX_VALUE,
           note));
 }
예제 #3
0
 protected void listChildren(List<Property> childrenList) {
   super.listChildren(childrenList);
   childrenList.add(
       new Property(
           "severity",
           "code",
           "Indicates whether the issue indicates a variation from successful processing.",
           0,
           java.lang.Integer.MAX_VALUE,
           severity));
   childrenList.add(
       new Property(
           "code",
           "CodeableConcept",
           "Describes the type of the issue.",
           0,
           java.lang.Integer.MAX_VALUE,
           code));
   childrenList.add(
       new Property(
           "details",
           "string",
           "Additional diagnostic information about the issue.  Typically, this may be a description of how a value is erroneous, or a stck dump to help trace the issue.",
           0,
           java.lang.Integer.MAX_VALUE,
           details));
   childrenList.add(
       new Property(
           "location",
           "string",
           "A simple XPath limited to element names, repetition indicators and the default child access that identifies one of the elements in the resource that caused this issue to be raised.",
           0,
           java.lang.Integer.MAX_VALUE,
           location));
 }
예제 #4
0
파일: Group.java 프로젝트: cotsog/fhir-svn
 protected void listChildren(List<Property> childrenList) {
   super.listChildren(childrenList);
   childrenList.add(
       new Property(
           "code",
           "CodeableConcept",
           "A code that identifies the kind of trait being asserted.",
           0,
           java.lang.Integer.MAX_VALUE,
           code));
   childrenList.add(
       new Property(
           "value[x]",
           "CodeableConcept|boolean|Quantity|Range",
           "The value of the trait that holds (or does not hold - see 'exclude') for members of the group.",
           0,
           java.lang.Integer.MAX_VALUE,
           value));
   childrenList.add(
       new Property(
           "exclude",
           "boolean",
           "If true, indicates the characteristic is one that is NOT held by members of the group.",
           0,
           java.lang.Integer.MAX_VALUE,
           exclude));
   childrenList.add(
       new Property(
           "period",
           "Period",
           "The period over which the characteristic is tested. E.g. the patient had an operation during the month of June.",
           0,
           java.lang.Integer.MAX_VALUE,
           period));
 }
예제 #5
0
 @Override
 public void setProperty(String name, Base value) throws FHIRException {
   if (name.equals("type"))
     this.type = new LinkageTypeEnumFactory().fromType(value); // Enumeration<LinkageType>
   else if (name.equals("resource")) this.resource = castToReference(value); // Reference
   else super.setProperty(name, value);
 }
예제 #6
0
 protected void listChildren(List<Property> childrenList) {
   super.listChildren(childrenList);
   childrenList.add(
       new Property(
           "sequenceLinkId",
           "integer",
           "A service line number.",
           0,
           java.lang.Integer.MAX_VALUE,
           sequenceLinkId));
 }
예제 #7
0
 protected void listChildren(List<Property> childrenList) {
   super.listChildren(childrenList);
   childrenList.add(
       new Property(
           "type",
           "Coding",
           "The note purpose: Print/Display.",
           0,
           java.lang.Integer.MAX_VALUE,
           type));
   childrenList.add(
       new Property("text", "string", "The note text.", 0, java.lang.Integer.MAX_VALUE, text));
 }
예제 #8
0
 @Override
 public void setProperty(int hash, String name, Base value) throws FHIRException {
   switch (hash) {
     case 3575610: // type
       this.type = new LinkageTypeEnumFactory().fromType(value); // Enumeration<LinkageType>
       break;
     case -341064690: // resource
       this.resource = castToReference(value); // Reference
       break;
     default:
       super.setProperty(hash, name, value);
   }
 }
예제 #9
0
 protected void listChildren(List<Property> childrenList) {
   super.listChildren(childrenList);
   childrenList.add(
       new Property(
           "type",
           "code",
           "Distinguishes which item is \"source of truth\" (if any) and which items are no longer considered to be current representations.",
           0,
           java.lang.Integer.MAX_VALUE,
           type));
   childrenList.add(
       new Property(
           "resource",
           "Reference",
           "The resource instance being linked as part of the group.",
           0,
           java.lang.Integer.MAX_VALUE,
           resource));
 }