Example #1
0
  @Override
  public RRset next() {
    if (!this.hasNext()) {
      throw new NoSuchElementException();
    }
    if (current == null) {
      wantLastSoa = false;
      return originNode.getRRset(Type.SOA);
    }
    RRset set = current[count++];
    if (count == current.length) {
      current = null;
      while (domainIter.hasNext()) {

        String domainString = domainIter.next();
        if (domainString.equalsIgnoreCase(zone.getRootDomain())) {
          continue;
        }

        DomainResource dr = getDomainResource(domainString);
        if (dr == null) {
          continue;
        }
        List<RRset> sets = dr.getAllRRsets();
        if (sets == null || sets.size() == 0) {
          continue;
        }
        current = sets.toArray(new RRset[0]);
        count = 0;
        break;
      }
    }
    return set;
  }
Example #2
0
  RRsetIterator(Zone zone, DomainFactory factory) {

    this.zone = zone;
    this.factory = factory;
    this.domainIter = zone.iterator();
    if (domainIter == null) {
      throw new RuntimeException("Null Domain iterator");
    }

    String rootString = zone.getRootDomain();
    this.originNode = getDomainResource(rootString);

    if (originNode.getRRset(Type.SOA) == null) {
      throw new RuntimeException("Zone " + rootString + " missing SOA record");
    }
    if (originNode.getRRset(Type.NS) == null) {
      throw new RuntimeException("Zone " + rootString + " missing NS rrset");
    }

    List<RRset> sets = originNode.getAllRRsets();
    this.current = new RRset[sets.size()];
    for (int j = 2, k = 0; k < sets.size(); k++) {
      RRset rrset = sets.get(k);
      int type = rrset.getType();

      if (type == Type.SOA) {
        current[0] = rrset;
      } else if (type == Type.NS) {
        current[1] = rrset;
      } else {
        current[j++] = rrset;
      }
    }
  }
Example #3
0
 @Override
 public void setProperty(int hash, String name, Base value) throws FHIRException {
   switch (hash) {
     case -1618432855: // identifier
       this.getIdentifier().add(castToIdentifier(value)); // Identifier
       break;
     case -892481550: // status
       this.status = castToCodeableConcept(value); // CodeableConcept
       break;
     case 3575610: // type
       this.getType().add(castToCodeableConcept(value)); // CodeableConcept
       break;
     case 3373707: // name
       this.name = castToString(value); // StringType
       break;
     case -1867885268: // subject
       this.subject = castToReference(value); // Reference
       break;
     case -991726143: // period
       this.period = castToPeriod(value); // Period
       break;
     case 767422259: // participant
       this.getParticipant()
           .add((CareTeamParticipantComponent) value); // CareTeamParticipantComponent
       break;
     case -2058947787: // managingOrganization
       this.managingOrganization = castToReference(value); // Reference
       break;
     default:
       super.setProperty(hash, name, value);
   }
 }
Example #4
0
 @Override
 public void setProperty(String name, Base value) throws FHIRException {
   if (name.equals("identifier")) this.getIdentifier().add(castToIdentifier(value));
   else if (name.equals("code")) this.code = castToCodeableConcept(value); // CodeableConcept
   else if (name.equals("subject")) this.subject = castToReference(value); // Reference
   else if (name.equals("author")) this.author = castToReference(value); // Reference
   else if (name.equals("created")) this.created = castToDate(value); // DateType
   else super.setProperty(name, value);
 }
 protected void listChildren(List<Property> childrenList) {
   super.listChildren(childrenList);
   childrenList.add(
       new Property(
           "issue",
           "",
           "An error, warning or information message that results from a system action.",
           0,
           java.lang.Integer.MAX_VALUE,
           issue));
 }
Example #6
0
 @Override
 public void setProperty(String name, Base value) throws FHIRException {
   if (name.equals("identifier")) this.getIdentifier().add(castToIdentifier(value));
   else if (name.equals("category")) this.getCategory().add(castToCodeableConcept(value));
   else if (name.equals("code")) this.code = castToCodeableConcept(value); // CodeableConcept
   else if (name.equals("description")) this.description = castToString(value); // StringType
   else if (name.equals("instance")) this.getInstance().add((SubstanceInstanceComponent) value);
   else if (name.equals("ingredient"))
     this.getIngredient().add((SubstanceIngredientComponent) value);
   else super.setProperty(name, value);
 }
Example #7
0
 @Override
 public void setProperty(int hash, String name, Base value) throws FHIRException {
   switch (hash) {
     case -1406328437: // author
       this.author = castToReference(value); // Reference
       break;
     case 3242771: // item
       this.getItem().add((LinkageItemComponent) value); // LinkageItemComponent
       break;
     default:
       super.setProperty(hash, name, value);
   }
 }
Example #8
0
 protected void listChildren(List<Property> childrenList) {
   super.listChildren(childrenList);
   childrenList.add(
       new Property(
           "identifier",
           "Identifier",
           "This records identifiers associated with this care plan that are defined by business processed and/ or used to refer to it when a direct URL reference to the resource itself is not appropriate (e.g. in CDA documents, or in written / printed documentation).",
           0,
           java.lang.Integer.MAX_VALUE,
           identifier));
   childrenList.add(
       new Property(
           "patient",
           "Reference(Patient)",
           "Identifies the patient/subject whose intended care is described by the plan.",
           0,
           java.lang.Integer.MAX_VALUE,
           patient));
   childrenList.add(
       new Property(
           "description",
           "string",
           "Human-readable description of a specific desired objective of care.",
           0,
           java.lang.Integer.MAX_VALUE,
           description));
   childrenList.add(
       new Property(
           "status",
           "code",
           "Indicates whether the goal has been reached and is still considered relevant.",
           0,
           java.lang.Integer.MAX_VALUE,
           status));
   childrenList.add(
       new Property(
           "notes",
           "string",
           "Any comments related to the goal.",
           0,
           java.lang.Integer.MAX_VALUE,
           notes));
   childrenList.add(
       new Property(
           "concern",
           "Reference(Condition)",
           "The identified conditions that this goal relates to - the condition that caused it to be created, or that it is intended to address.",
           0,
           java.lang.Integer.MAX_VALUE,
           concern));
 }
Example #9
0
 protected void listChildren(List<Property> childrenList) {
   super.listChildren(childrenList);
   childrenList.add(
       new Property(
           "identifier",
           "Identifier",
           "Unique identifier for the substance.",
           0,
           java.lang.Integer.MAX_VALUE,
           identifier));
   childrenList.add(
       new Property(
           "category",
           "CodeableConcept",
           "A code that classifies the general type of substance.  This is used  for searching, sorting and display purposes.",
           0,
           java.lang.Integer.MAX_VALUE,
           category));
   childrenList.add(
       new Property(
           "code",
           "CodeableConcept",
           "A code (or set of codes) that identify this substance.",
           0,
           java.lang.Integer.MAX_VALUE,
           code));
   childrenList.add(
       new Property(
           "description",
           "string",
           "A description of the substance - its appearance, handling requirements, and other usage notes.",
           0,
           java.lang.Integer.MAX_VALUE,
           description));
   childrenList.add(
       new Property(
           "instance",
           "",
           "Substance may be used to describe a kind of substance, or a specific package/container of the substance: an instance.",
           0,
           java.lang.Integer.MAX_VALUE,
           instance));
   childrenList.add(
       new Property(
           "ingredient",
           "",
           "A substance can be composed of other substances.",
           0,
           java.lang.Integer.MAX_VALUE,
           ingredient));
 }
Example #10
0
 @Override
 public void setProperty(String name, Base value) throws FHIRException {
   if (name.equals("identifier")) this.getIdentifier().add(castToIdentifier(value));
   else if (name.equals("status")) this.status = castToCodeableConcept(value); // CodeableConcept
   else if (name.equals("type")) this.getType().add(castToCodeableConcept(value));
   else if (name.equals("name")) this.name = castToString(value); // StringType
   else if (name.equals("subject")) this.subject = castToReference(value); // Reference
   else if (name.equals("period")) this.period = castToPeriod(value); // Period
   else if (name.equals("participant"))
     this.getParticipant().add((CareTeamParticipantComponent) value);
   else if (name.equals("managingOrganization"))
     this.managingOrganization = castToReference(value); // Reference
   else super.setProperty(name, value);
 }
Example #11
0
 private DomainResource getDomainResource(String domainString) {
   try {
     logger.info("Fetching domain: " + domainString);
     Domain domain = factory.getDomain(domainString);
     Name domainName = Utils.stringToName(domainString);
     DomainResource dr = DomainResource.fromDomain(domain, domainName);
     return dr;
   } catch (ForeignDomainException e) {
     logger.error("Iterator returned foreign domain: " + domainString);
     throw new RuntimeException(e);
   } catch (TextParseException e) {
     logger.error("Invalid domain name: " + e.getMessage());
     throw new RuntimeException(e);
   }
 }
Example #12
0
 @Override
 public void setProperty(String name, Base value) throws FHIRException {
   if (name.equals("identifier")) this.getIdentifier().add(castToIdentifier(value));
   else if (name.equals("ruleset")) this.ruleset = castToCoding(value); // Coding
   else if (name.equals("originalRuleset")) this.originalRuleset = castToCoding(value); // Coding
   else if (name.equals("created")) this.created = castToDateTime(value); // DateTimeType
   else if (name.equals("target[x]")) this.target = (Type) value; // Type
   else if (name.equals("provider[x]")) this.provider = (Type) value; // Type
   else if (name.equals("organization[x]")) this.organization = (Type) value; // Type
   else if (name.equals("request[x]")) this.request = (Type) value; // Type
   else if (name.equals("response[x]")) this.response = (Type) value; // Type
   else if (name.equals("paymentStatus")) this.paymentStatus = castToCoding(value); // Coding
   else if (name.equals("statusDate")) this.statusDate = castToDate(value); // DateType
   else super.setProperty(name, value);
 }
Example #13
0
 protected void listChildren(List<Property> childrenList) {
   super.listChildren(childrenList);
   childrenList.add(
       new Property(
           "identifier",
           "Identifier",
           "Identifier assigned to the resource for business purposes, outside the context of FHIR.",
           0,
           java.lang.Integer.MAX_VALUE,
           identifier));
   childrenList.add(
       new Property(
           "code",
           "CodeableConcept",
           "Identifies the 'type' of resource - equivalent to the resource name for other resources.",
           0,
           java.lang.Integer.MAX_VALUE,
           code));
   childrenList.add(
       new Property(
           "subject",
           "Reference(Any)",
           "Identifies the patient, practitioner, device or any other resource that is the \"focus\" of this resource.",
           0,
           java.lang.Integer.MAX_VALUE,
           subject));
   childrenList.add(
       new Property(
           "author",
           "Reference(Practitioner|Patient|RelatedPerson)",
           "Indicates who was responsible for creating the resource instance.",
           0,
           java.lang.Integer.MAX_VALUE,
           author));
   childrenList.add(
       new Property(
           "created",
           "date",
           "Identifies when the resource was first created.",
           0,
           java.lang.Integer.MAX_VALUE,
           created));
 }
Example #14
0
 protected void listChildren(List<Property> childrenList) {
   super.listChildren(childrenList);
   childrenList.add(
       new Property(
           "author",
           "Reference(Practitioner|Organization)",
           "Identifies the user or organization responsible for asserting the linkages and who establishes the context for evaluating the nature of each linkage.",
           0,
           java.lang.Integer.MAX_VALUE,
           author));
   childrenList.add(
       new Property(
           "item",
           "",
           "Identifies one of the records that is considered to refer to the same real-world occurrence as well as how the items hould be evaluated within the collection of linked items.",
           0,
           java.lang.Integer.MAX_VALUE,
           item));
 }
Example #15
0
 @Override
 public void setProperty(int hash, String name, Base value) throws FHIRException {
   switch (hash) {
     case -1618432855: // identifier
       this.getIdentifier().add(castToIdentifier(value)); // Identifier
       break;
     case 1548678118: // ruleset
       this.ruleset = castToCoding(value); // Coding
       break;
     case 1089373397: // originalRuleset
       this.originalRuleset = castToCoding(value); // Coding
       break;
     case 1028554472: // created
       this.created = castToDateTime(value); // DateTimeType
       break;
     case -880905839: // target
       this.target = (Type) value; // Type
       break;
     case -987494927: // provider
       this.provider = (Type) value; // Type
       break;
     case 1178922291: // organization
       this.organization = (Type) value; // Type
       break;
     case 1095692943: // request
       this.request = (Type) value; // Type
       break;
     case -340323263: // response
       this.response = (Type) value; // Type
       break;
     case 1430704536: // paymentStatus
       this.paymentStatus = castToCoding(value); // Coding
       break;
     case 247524032: // statusDate
       this.statusDate = castToDate(value); // DateType
       break;
     default:
       super.setProperty(hash, name, value);
   }
 }
Example #16
0
 protected void listChildren(List<Property> childrenList) {
   super.listChildren(childrenList);
   childrenList.add(
       new Property(
           "identifier",
           "Identifier",
           "This records identifiers associated with this care team that are defined by business processes and/or used to refer to it when a direct URL reference to the resource itself is not appropriate.",
           0,
           java.lang.Integer.MAX_VALUE,
           identifier));
   childrenList.add(
       new Property(
           "status",
           "CodeableConcept",
           "Indicates whether the care team is currently active, suspended, inactive, or entered in error.",
           0,
           java.lang.Integer.MAX_VALUE,
           status));
   childrenList.add(
       new Property(
           "type",
           "CodeableConcept",
           "Identifies what kind of team.  This is to support differentiation between multiple co-existing teams, such as care plan team, episode of care team, longitudinal care team.",
           0,
           java.lang.Integer.MAX_VALUE,
           type));
   childrenList.add(
       new Property(
           "name", "string", "Name of the care team.", 0, java.lang.Integer.MAX_VALUE, name));
   childrenList.add(
       new Property(
           "subject",
           "Reference(Patient|Group)",
           "Identifies the patient or group whose intended care is handled by the team.",
           0,
           java.lang.Integer.MAX_VALUE,
           subject));
   childrenList.add(
       new Property(
           "period",
           "Period",
           "Indicates when the team did (or is intended to) come into effect and end.",
           0,
           java.lang.Integer.MAX_VALUE,
           period));
   childrenList.add(
       new Property(
           "participant",
           "",
           "Identifies all people and organizations who are expected to be involved in the care team.",
           0,
           java.lang.Integer.MAX_VALUE,
           participant));
   childrenList.add(
       new Property(
           "managingOrganization",
           "Reference(Organization)",
           "The organization responsible for the care team.",
           0,
           java.lang.Integer.MAX_VALUE,
           managingOrganization));
 }
Example #17
0
 @Override
 public void setProperty(String name, Base value) throws FHIRException {
   if (name.equals("author")) this.author = castToReference(value); // Reference
   else if (name.equals("item")) this.getItem().add((LinkageItemComponent) value);
   else super.setProperty(name, value);
 }
 protected void listChildren(List<Property> childrenList) {
   super.listChildren(childrenList);
   childrenList.add(
       new Property(
           "identifier",
           "Identifier",
           "The Response Business Identifier.",
           0,
           java.lang.Integer.MAX_VALUE,
           identifier));
   childrenList.add(
       new Property(
           "ruleset",
           "Coding",
           "The version of the style of resource contents. This should be mapped to the allowable profiles for this and supporting resources.",
           0,
           java.lang.Integer.MAX_VALUE,
           ruleset));
   childrenList.add(
       new Property(
           "originalRuleset",
           "Coding",
           "The style (standard) and version of the original material which was converted into this resource.",
           0,
           java.lang.Integer.MAX_VALUE,
           originalRuleset));
   childrenList.add(
       new Property(
           "created",
           "dateTime",
           "The date when this resource was created.",
           0,
           java.lang.Integer.MAX_VALUE,
           created));
   childrenList.add(
       new Property(
           "target",
           "Reference(Organization)",
           "The Insurer who is target  of the request.",
           0,
           java.lang.Integer.MAX_VALUE,
           target));
   childrenList.add(
       new Property(
           "provider",
           "Reference(Practitioner)",
           "The practitioner who is responsible for the services rendered to the patient.",
           0,
           java.lang.Integer.MAX_VALUE,
           provider));
   childrenList.add(
       new Property(
           "organization",
           "Reference(Organization)",
           "The organization which is responsible for the services rendered to the patient.",
           0,
           java.lang.Integer.MAX_VALUE,
           organization));
   childrenList.add(
       new Property(
           "subject",
           "Reference(Patient)",
           "Patient Resource.",
           0,
           java.lang.Integer.MAX_VALUE,
           subject));
   childrenList.add(
       new Property(
           "coverage",
           "Reference(Coverage)",
           "Reference to the program or plan identification, underwriter or payor.",
           0,
           java.lang.Integer.MAX_VALUE,
           coverage));
   childrenList.add(
       new Property(
           "relationship",
           "Coding",
           "The relationship of the patient to the subscriber.",
           0,
           java.lang.Integer.MAX_VALUE,
           relationship));
 }
Example #19
0
 protected void listChildren(List<Property> childrenList) {
   super.listChildren(childrenList);
   childrenList.add(
       new Property(
           "type",
           "code",
           "Whether the media is a photo (still image), an audio recording, or a video recording.",
           0,
           java.lang.Integer.MAX_VALUE,
           type));
   childrenList.add(
       new Property(
           "subtype",
           "CodeableConcept",
           "Details of the type of the media - usually, how it was acquired (what type of device). If images sourced from a DICOM system, are wrapped in a Media resource, then this is the modality.",
           0,
           java.lang.Integer.MAX_VALUE,
           subtype));
   childrenList.add(
       new Property(
           "identifier",
           "Identifier",
           "Identifiers associated with the image - these may include identifiers for the image itself, identifiers for the context of its collection (e.g. series ids) and context ids such as accession numbers or other workflow identifiers.",
           0,
           java.lang.Integer.MAX_VALUE,
           identifier));
   childrenList.add(
       new Property(
           "subject",
           "Reference(Patient|Practitioner|Group|Device|Specimen)",
           "Who/What this Media is a record of.",
           0,
           java.lang.Integer.MAX_VALUE,
           subject));
   childrenList.add(
       new Property(
           "operator",
           "Reference(Practitioner)",
           "The person who administered the collection of the image.",
           0,
           java.lang.Integer.MAX_VALUE,
           operator));
   childrenList.add(
       new Property(
           "view",
           "CodeableConcept",
           "The name of the imaging view e.g Lateral or Antero-posterior (AP).",
           0,
           java.lang.Integer.MAX_VALUE,
           view));
   childrenList.add(
       new Property(
           "deviceName",
           "string",
           "The name of the device / manufacturer of the device  that was used to make the recording.",
           0,
           java.lang.Integer.MAX_VALUE,
           deviceName));
   childrenList.add(
       new Property(
           "height",
           "positiveInt",
           "Height of the image in pixels(photo/video).",
           0,
           java.lang.Integer.MAX_VALUE,
           height));
   childrenList.add(
       new Property(
           "width",
           "positiveInt",
           "Width of the image in pixels (photo/video).",
           0,
           java.lang.Integer.MAX_VALUE,
           width));
   childrenList.add(
       new Property(
           "frames",
           "positiveInt",
           "The number of frames in a photo. This is used with a multi-page fax, or an imaging acquisition context that takes multiple slices in a single image, or an animated gif. If there is more than one frame, this SHALL have a value in order to alert interface software that a multi-frame capable rendering widget is required.",
           0,
           java.lang.Integer.MAX_VALUE,
           frames));
   childrenList.add(
       new Property(
           "duration",
           "unsignedInt",
           "The duration of the recording in seconds - for audio and video.",
           0,
           java.lang.Integer.MAX_VALUE,
           duration));
   childrenList.add(
       new Property(
           "content",
           "Attachment",
           "The actual content of the media - inline or by direct reference to the media source file.",
           0,
           java.lang.Integer.MAX_VALUE,
           content));
 }
Example #20
0
 protected void listChildren(List<Property> childrenList) {
   super.listChildren(childrenList);
   childrenList.add(
       new Property(
           "issuer",
           "Reference(Organization)",
           "The program or plan underwriter or payor.",
           0,
           java.lang.Integer.MAX_VALUE,
           issuer));
   childrenList.add(
       new Property(
           "bin",
           "Identifier",
           "Business Identification Number (BIN number) used to identify the routing  of eclaims if the insurer themselves don't have a BIN number for all of their business.",
           0,
           java.lang.Integer.MAX_VALUE,
           bin));
   childrenList.add(
       new Property(
           "period",
           "Period",
           "Time period during which the coverage is in force. A missing start date indicates the start date isn't known, a missing end date means the coverage is continuing to be in force.",
           0,
           java.lang.Integer.MAX_VALUE,
           period));
   childrenList.add(
       new Property(
           "type",
           "Coding",
           "The type of coverage: social program, medical plan, accident coverage (workers compensation, auto), group health.",
           0,
           java.lang.Integer.MAX_VALUE,
           type));
   childrenList.add(
       new Property(
           "subscriberId",
           "Identifier",
           "The id issued to the subscriber.",
           0,
           java.lang.Integer.MAX_VALUE,
           subscriberId));
   childrenList.add(
       new Property(
           "identifier",
           "Identifier",
           "The main (and possibly only) identifier for the coverage - often referred to as a Member Id, Subscriber Id, Certificate number or Personal Health Number or Case ID.",
           0,
           java.lang.Integer.MAX_VALUE,
           identifier));
   childrenList.add(
       new Property(
           "group",
           "string",
           "Identifies a style or collective of coverage issues by the underwriter, for example may be used to identify a class of coverage or employer group. May also be referred to as a Policy or Group ID.",
           0,
           java.lang.Integer.MAX_VALUE,
           group));
   childrenList.add(
       new Property(
           "plan",
           "string",
           "Identifies a style or collective of coverage issues by the underwriter, for example may be used to identify a class of coverage or employer group. May also be referred to as a Policy or Group ID.",
           0,
           java.lang.Integer.MAX_VALUE,
           plan));
   childrenList.add(
       new Property(
           "subPlan",
           "string",
           "Identifies a sub-style or sub-collective of coverage issues by the underwriter, for example may be used to identify a specific employer group within a class of employers. May be referred to as a Section or Division ID.",
           0,
           java.lang.Integer.MAX_VALUE,
           subPlan));
   childrenList.add(
       new Property(
           "dependent",
           "positiveInt",
           "A unique identifier for a dependent under the coverage.",
           0,
           java.lang.Integer.MAX_VALUE,
           dependent));
   childrenList.add(
       new Property(
           "sequence",
           "positiveInt",
           "An optional counter for a particular instance of the identified coverage which increments upon each renewal.",
           0,
           java.lang.Integer.MAX_VALUE,
           sequence));
   childrenList.add(
       new Property(
           "subscriber",
           "Reference(Patient)",
           "The party who 'owns' the insurance contractual relationship to the policy or to whom the benefit of the policy is due.",
           0,
           java.lang.Integer.MAX_VALUE,
           subscriber));
   childrenList.add(
       new Property(
           "network",
           "Identifier",
           "The identifier for a community of providers.",
           0,
           java.lang.Integer.MAX_VALUE,
           network));
   childrenList.add(
       new Property(
           "contract",
           "Reference(Contract)",
           "The policy(s) which constitute this insurance coverage.",
           0,
           java.lang.Integer.MAX_VALUE,
           contract));
 }
 protected void listChildren(List<Property> childrenList) {
   super.listChildren(childrenList);
   childrenList.add(
       new Property(
           "identifier",
           "Identifier",
           "The Response business identifier.",
           0,
           java.lang.Integer.MAX_VALUE,
           identifier));
   childrenList.add(
       new Property(
           "request",
           "Reference(EnrollmentRequest)",
           "Original request resource reference.",
           0,
           java.lang.Integer.MAX_VALUE,
           request));
   childrenList.add(
       new Property(
           "outcome",
           "code",
           "Transaction status: error, complete.",
           0,
           java.lang.Integer.MAX_VALUE,
           outcome));
   childrenList.add(
       new Property(
           "disposition",
           "string",
           "A description of the status of the adjudication.",
           0,
           java.lang.Integer.MAX_VALUE,
           disposition));
   childrenList.add(
       new Property(
           "ruleset",
           "Coding",
           "The version of the style of resource contents. This should be mapped to the allowable profiles for this and supporting resources.",
           0,
           java.lang.Integer.MAX_VALUE,
           ruleset));
   childrenList.add(
       new Property(
           "originalRuleset",
           "Coding",
           "The style (standard) and version of the original material which was converted into this resource.",
           0,
           java.lang.Integer.MAX_VALUE,
           originalRuleset));
   childrenList.add(
       new Property(
           "created",
           "dateTime",
           "The date when the enclosed suite of services were performed or completed.",
           0,
           java.lang.Integer.MAX_VALUE,
           created));
   childrenList.add(
       new Property(
           "organization",
           "Reference(Organization)",
           "The Insurer who produced this adjudicated response.",
           0,
           java.lang.Integer.MAX_VALUE,
           organization));
   childrenList.add(
       new Property(
           "requestProvider",
           "Reference(Practitioner)",
           "The practitioner who is responsible for the services rendered to the patient.",
           0,
           java.lang.Integer.MAX_VALUE,
           requestProvider));
   childrenList.add(
       new Property(
           "requestOrganization",
           "Reference(Organization)",
           "The organization which is responsible for the services rendered to the patient.",
           0,
           java.lang.Integer.MAX_VALUE,
           requestOrganization));
 }
Example #22
0
 protected void listChildren(List<Property> childrenList) {
   super.listChildren(childrenList);
   childrenList.add(
       new Property(
           "identifier",
           "Identifier",
           "A unique business identifier for this group.",
           0,
           java.lang.Integer.MAX_VALUE,
           identifier));
   childrenList.add(
       new Property(
           "type",
           "code",
           "Identifies the broad classification of the kind of resources the group includes.",
           0,
           java.lang.Integer.MAX_VALUE,
           type));
   childrenList.add(
       new Property(
           "actual",
           "boolean",
           "If true, indicates that the resource refers to a specific group of real individuals.  If false, the group defines a set of intended individuals.",
           0,
           java.lang.Integer.MAX_VALUE,
           actual));
   childrenList.add(
       new Property(
           "code",
           "CodeableConcept",
           "Provides a specific type of resource the group includes.  E.g. 'cow', 'syringe', etc.",
           0,
           java.lang.Integer.MAX_VALUE,
           code));
   childrenList.add(
       new Property(
           "name",
           "string",
           "A label assigned to the group for human identification and communication.",
           0,
           java.lang.Integer.MAX_VALUE,
           name));
   childrenList.add(
       new Property(
           "quantity",
           "unsignedInt",
           "A count of the number of resource instances that are part of the group.",
           0,
           java.lang.Integer.MAX_VALUE,
           quantity));
   childrenList.add(
       new Property(
           "characteristic",
           "",
           "Identifies the traits shared by members of the group.",
           0,
           java.lang.Integer.MAX_VALUE,
           characteristic));
   childrenList.add(
       new Property(
           "member",
           "",
           "Identifies the resource instances that are members of the group.",
           0,
           java.lang.Integer.MAX_VALUE,
           member));
 }
Example #23
0
 protected void listChildren(List<Property> childrenList) {
   super.listChildren(childrenList);
   childrenList.add(
       new Property(
           "identifier",
           "Identifier",
           "The Response business identifier.",
           0,
           java.lang.Integer.MAX_VALUE,
           identifier));
   childrenList.add(
       new Property(
           "ruleset",
           "Coding",
           "The version of the style of resource contents. This should be mapped to the allowable profiles for this and supporting resources.",
           0,
           java.lang.Integer.MAX_VALUE,
           ruleset));
   childrenList.add(
       new Property(
           "originalRuleset",
           "Coding",
           "The style (standard) and version of the original material which was converted into this resource.",
           0,
           java.lang.Integer.MAX_VALUE,
           originalRuleset));
   childrenList.add(
       new Property(
           "created",
           "dateTime",
           "The date when this resource was created.",
           0,
           java.lang.Integer.MAX_VALUE,
           created));
   childrenList.add(
       new Property(
           "target[x]",
           "Identifier|Reference(Organization)",
           "The Insurer who is target  of the request.",
           0,
           java.lang.Integer.MAX_VALUE,
           target));
   childrenList.add(
       new Property(
           "provider[x]",
           "Identifier|Reference(Practitioner)",
           "The practitioner who is responsible for the services rendered to the patient.",
           0,
           java.lang.Integer.MAX_VALUE,
           provider));
   childrenList.add(
       new Property(
           "organization[x]",
           "Identifier|Reference(Organization)",
           "The organization which is responsible for the services rendered to the patient.",
           0,
           java.lang.Integer.MAX_VALUE,
           organization));
   childrenList.add(
       new Property(
           "request[x]",
           "Identifier|Reference(Any)",
           "Reference of resource to reverse.",
           0,
           java.lang.Integer.MAX_VALUE,
           request));
   childrenList.add(
       new Property(
           "response[x]",
           "Identifier|Reference(Any)",
           "Reference of response to resource to reverse.",
           0,
           java.lang.Integer.MAX_VALUE,
           response));
   childrenList.add(
       new Property(
           "paymentStatus",
           "Coding",
           "The payment status, typically paid: payment sent, cleared: payment received.",
           0,
           java.lang.Integer.MAX_VALUE,
           paymentStatus));
   childrenList.add(
       new Property(
           "statusDate",
           "date",
           "The date when the above payment action occurrred.",
           0,
           java.lang.Integer.MAX_VALUE,
           statusDate));
 }
Example #24
0
 protected void listChildren(List<Property> childrenList) {
   super.listChildren(childrenList);
   childrenList.add(
       new Property(
           "action",
           "code",
           "The type of procesing action being requested, for example Reversal, Readjudication, StatusRequest,PendedRequest.",
           0,
           java.lang.Integer.MAX_VALUE,
           action));
   childrenList.add(
       new Property(
           "identifier",
           "Identifier",
           "The ProcessRequest Business Identifier.",
           0,
           java.lang.Integer.MAX_VALUE,
           identifier));
   childrenList.add(
       new Property(
           "ruleset",
           "Coding",
           "The version of the style of resource contents. This should be mapped to the allowable profiles for this and supporting resources.",
           0,
           java.lang.Integer.MAX_VALUE,
           ruleset));
   childrenList.add(
       new Property(
           "originalRuleset",
           "Coding",
           "The style (standard) and version of the original material which was converted into this resource.",
           0,
           java.lang.Integer.MAX_VALUE,
           originalRuleset));
   childrenList.add(
       new Property(
           "created",
           "dateTime",
           "The date when this resource was created.",
           0,
           java.lang.Integer.MAX_VALUE,
           created));
   childrenList.add(
       new Property(
           "target",
           "Reference(Organization)",
           "The organization which is target  of the request.",
           0,
           java.lang.Integer.MAX_VALUE,
           target));
   childrenList.add(
       new Property(
           "provider",
           "Reference(Practitioner)",
           "The practitioner who is responsible for the action specified in thise request.",
           0,
           java.lang.Integer.MAX_VALUE,
           provider));
   childrenList.add(
       new Property(
           "organization",
           "Reference(Organization)",
           "The organization which is responsible for the action speccified in thise request.",
           0,
           java.lang.Integer.MAX_VALUE,
           organization));
   childrenList.add(
       new Property(
           "request",
           "Reference(Any)",
           "Reference of resource which is the target or subject of this action.",
           0,
           java.lang.Integer.MAX_VALUE,
           request));
   childrenList.add(
       new Property(
           "response",
           "Reference(Any)",
           "Reference of a prior response to resource which is the target or subject of this action.",
           0,
           java.lang.Integer.MAX_VALUE,
           response));
   childrenList.add(
       new Property(
           "nullify",
           "boolean",
           "If true remove all history excluding audit.",
           0,
           java.lang.Integer.MAX_VALUE,
           nullify));
   childrenList.add(
       new Property(
           "reference",
           "string",
           "A reference to supply which authenticates the process.",
           0,
           java.lang.Integer.MAX_VALUE,
           reference));
   childrenList.add(
       new Property(
           "item",
           "",
           "List of top level items to be re-adjudicated, if none specified then the entire submission is re-adjudicated.",
           0,
           java.lang.Integer.MAX_VALUE,
           item));
   childrenList.add(
       new Property(
           "include",
           "string",
           "Names of resource types to include.",
           0,
           java.lang.Integer.MAX_VALUE,
           include));
   childrenList.add(
       new Property(
           "exclude",
           "string",
           "Names of resource types to exclude.",
           0,
           java.lang.Integer.MAX_VALUE,
           exclude));
   childrenList.add(
       new Property(
           "period",
           "Period",
           "A period of time during which the fulfilling resources would have been created.",
           0,
           java.lang.Integer.MAX_VALUE,
           period));
 }
 protected void listChildren(List<Property> childrenList) {
   super.listChildren(childrenList);
   childrenList.add(
       new Property(
           "identifier",
           "Identifier",
           "This records identifiers associated with this family member history record that are defined by business processes and/ or used to refer to it when a direct URL reference to the resource itself is not appropriate (e.g. in CDA documents, or in written / printed documentation).",
           0,
           java.lang.Integer.MAX_VALUE,
           identifier));
   childrenList.add(
       new Property(
           "patient",
           "Reference(Patient)",
           "The person who this history concerns.",
           0,
           java.lang.Integer.MAX_VALUE,
           patient));
   childrenList.add(
       new Property(
           "date",
           "dateTime",
           "The date (and possibly time) when the family member history was taken.",
           0,
           java.lang.Integer.MAX_VALUE,
           date));
   childrenList.add(
       new Property(
           "name",
           "string",
           "This will either be a name or a description.  E.g. 'Aunt Susan', 'my cousin with the red hair'.",
           0,
           java.lang.Integer.MAX_VALUE,
           name));
   childrenList.add(
       new Property(
           "relationship",
           "CodeableConcept",
           "The type of relationship this person has to the patient (father, mother, brother etc.).",
           0,
           java.lang.Integer.MAX_VALUE,
           relationship));
   childrenList.add(
       new Property(
           "gender",
           "code",
           "Administrative Gender - the gender that the relative is considered to have for administration and record keeping purposes.",
           0,
           java.lang.Integer.MAX_VALUE,
           gender));
   childrenList.add(
       new Property(
           "born[x]",
           "Period|date|string",
           "The actual or approximate date of birth of the relative.",
           0,
           java.lang.Integer.MAX_VALUE,
           born));
   childrenList.add(
       new Property(
           "age[x]",
           "Age|Range|string",
           "The actual or approximate age of the relative at the time the family member history is recorded.",
           0,
           java.lang.Integer.MAX_VALUE,
           age));
   childrenList.add(
       new Property(
           "deceased[x]",
           "boolean|Age|Range|date|string",
           "The actual or approximate age of the relative at the time the family member history is recorded.",
           0,
           java.lang.Integer.MAX_VALUE,
           deceased));
   childrenList.add(
       new Property(
           "note",
           "string",
           "This property allows a non condition-specific note to the made about the related person. Ideally, the note would be in the condition property, but this is not always possible.",
           0,
           java.lang.Integer.MAX_VALUE,
           note));
   childrenList.add(
       new Property(
           "condition",
           "",
           "The significant Conditions (or condition) that the family member had. This is a repeating section to allow a system to represent more than one condition per resource, though there is nothing stopping multiple resources - one per condition.",
           0,
           java.lang.Integer.MAX_VALUE,
           condition));
 }
 protected void listChildren(List<Property> childrenList) {
   super.listChildren(childrenList);
   childrenList.add(
       new Property(
           "identifier",
           "Identifier",
           "Unique identifier used to reference the account.  May or may not be intended for human use.  (E.g. credit card number).",
           0,
           java.lang.Integer.MAX_VALUE,
           identifier));
   childrenList.add(
       new Property(
           "name",
           "string",
           "Name used for the account when displaying it to humans in reports, etc.",
           0,
           java.lang.Integer.MAX_VALUE,
           name));
   childrenList.add(
       new Property(
           "type",
           "CodeableConcept",
           "Categorizes the account for reporting and searching purposes.",
           0,
           java.lang.Integer.MAX_VALUE,
           type));
   childrenList.add(
       new Property(
           "status",
           "code",
           "Indicates whether the account is presently used/useable or not.",
           0,
           java.lang.Integer.MAX_VALUE,
           status));
   childrenList.add(
       new Property(
           "activePeriod",
           "Period",
           "Indicates the period of time over which the account is allowed.",
           0,
           java.lang.Integer.MAX_VALUE,
           activePeriod));
   childrenList.add(
       new Property(
           "currency",
           "Coding",
           "Identifies the currency to which transactions must be converted when crediting or debiting the account.",
           0,
           java.lang.Integer.MAX_VALUE,
           currency));
   childrenList.add(
       new Property(
           "balance",
           "Money",
           "Represents the sum of all credits less all debits associated with the account.  Might be positive, zero or negative.",
           0,
           java.lang.Integer.MAX_VALUE,
           balance));
   childrenList.add(
       new Property(
           "coveragePeriod",
           "Period",
           "Identifies the period of time the account applies to.  E.g. accounts created per fiscal year, quarter, etc.",
           0,
           java.lang.Integer.MAX_VALUE,
           coveragePeriod));
   childrenList.add(
       new Property(
           "subject",
           "Reference(Patient|Device|Practitioner|Location|HealthcareService|Organization)",
           "Identifies the patient, device, practitioner, location or other object the account is associated with.",
           0,
           java.lang.Integer.MAX_VALUE,
           subject));
   childrenList.add(
       new Property(
           "owner",
           "Reference(Organization)",
           "Indicates the organization, department, etc. with responsibility for the account.",
           0,
           java.lang.Integer.MAX_VALUE,
           owner));
   childrenList.add(
       new Property(
           "description",
           "string",
           "Provides additional information about what the account tracks and how it is used.",
           0,
           java.lang.Integer.MAX_VALUE,
           description));
 }