PackagesCanonicalsLogsProblems
    Packages
    IdHIE.0v@0.0.1
    http://fhir.hie.moh.gov.id/StructureDefinition/simple-register-id-core
description: Extension used in appointment for simple registration without having to creating a patient resource.
package_name: IdHIE.0v
derivation: constraint
name: ExtensionSimpleRegisterIdCore
type: Extension
elements:
  valueBase64Binary: {type: base64Binary, choiceOf: value, index: 34}
  valueAge: {type: Age, choiceOf: value, index: 54}
  valueParameterDefinition: {type: ParameterDefinition, choiceOf: value, index: 78}
  valueTiming: {type: Timing, choiceOf: value, index: 73}
  valueCode: {type: code, choiceOf: value, index: 37}
  valueReference: {type: Reference, choiceOf: value, index: 70}
  valueContributor: {type: Contributor, choiceOf: value, index: 75}
  valueContactDetail: {type: ContactDetail, choiceOf: value, index: 74}
  valueUri: {type: uri, choiceOf: value, index: 50}
  valueUsageContext: {type: UsageContext, choiceOf: value, index: 81}
  valueTime: {type: time, choiceOf: value, index: 48}
  valueDecimal: {type: decimal, choiceOf: value, index: 40}
  valueCanonical: {type: canonical, choiceOf: value, index: 36}
  valueMarkdown: {type: markdown, choiceOf: value, index: 44}
  valueIdentifier: {type: Identifier, choiceOf: value, index: 64}
  valueTriggerDefinition: {type: TriggerDefinition, choiceOf: value, index: 80}
  valueQuantity: {type: Quantity, choiceOf: value, index: 67}
  value:
    choices: [valueBase64Binary, valueBoolean, valueCanonical, valueCode, valueDate, valueDateTime, valueDecimal, valueId, valueInstant, valueInteger, valueMarkdown, valueOid, valuePositiveInt, valueString, valueTime, valueUnsignedInt, valueUri, valueUrl, valueUuid, valueAddress, valueAge, valueAnnotation, valueAttachment, valueCodeableConcept, valueCoding, valueContactPoint, valueCount, valueDistance, valueDuration, valueHumanName, valueIdentifier, valueMoney, valuePeriod, valueQuantity, valueRange, valueRatio, valueReference, valueSampledData, valueSignature, valueTiming, valueContactDetail, valueContributor, valueDataRequirement, valueExpression, valueParameterDefinition, valueRelatedArtifact, valueTriggerDefinition, valueUsageContext, valueDosage]
    index: 33
  valueCount: {type: Count, choiceOf: value, index: 60}
  valueString: {type: string, choiceOf: value, index: 47}
  valueRatio: {type: Ratio, choiceOf: value, index: 69}
  valueBoolean: {type: boolean, choiceOf: value, index: 35}
  valueInstant: {type: instant, choiceOf: value, index: 42}
  valueDateTime: {type: dateTime, choiceOf: value, index: 39}
  valueDate: {type: date, choiceOf: value, index: 38}
  valueDuration: {type: Duration, choiceOf: value, index: 62}
  valueDataRequirement: {type: DataRequirement, choiceOf: value, index: 76}
  valueMoney: {type: Money, choiceOf: value, index: 65}
  valueCoding: {type: Coding, choiceOf: value, index: 58}
  valueExpression: {type: Expression, choiceOf: value, index: 77}
  extension:
    index: 0
    slicing:
      rules: open
      discriminator:
      - {path: url, type: value}
      min: 0
      slices:
        identifier:
          match: {url: identifier}
          schema:
            code:
            - {code: identifier}
            index: 1
            elements:
              url:
                pattern: {type: Uri, value: identifier}
                index: 2
              value:
                choices: [valueString]
                index: 4
              valueString: {type: string, choiceOf: value, index: 5}
        name:
          match: {url: name}
          schema:
            code:
            - {code: name}
            index: 6
            elements:
              url:
                pattern: {type: Uri, value: name}
                index: 7
              value:
                choices: [valueString]
                index: 9
              valueString: {type: string, choiceOf: value, index: 10}
        gender:
          match: {url: gender}
          schema:
            code:
            - {code: gender}
            index: 11
            elements:
              url:
                pattern: {type: Uri, value: gender}
                index: 12
              value:
                choices: [valueCode]
                index: 14
              valueCode: {type: code, choiceOf: value, index: 15}
        birthDate:
          match: {url: birthDate}
          schema:
            code:
            - {code: birthDate}
            index: 16
            elements:
              url:
                pattern: {type: Uri, value: birthDate}
                index: 17
              value:
                choices: [valueDate]
                index: 19
              valueDate: {type: date, choiceOf: value, index: 20}
        telecom:
          match: {url: telecom}
          schema:
            code:
            - {code: telecom}
            index: 21
            elements:
              url:
                pattern: {type: Uri, value: telecom}
                index: 22
              value:
                choices: [valueContactDetail]
                index: 24
              valueContactDetail: {type: ContactDetail, choiceOf: value, index: 25}
        age:
          match: {url: age}
          schema:
            code:
            - {code: age}
            index: 26
            elements:
              url:
                pattern: {type: Uri, value: age}
                index: 27
              value:
                choices: [valueString]
                index: 29
              valueString: {type: string, choiceOf: value, index: 30}
  valueSampledData: {type: SampledData, choiceOf: value, index: 71}
  valueDosage: {type: Dosage, choiceOf: value, index: 82}
  valueContactPoint: {type: ContactPoint, choiceOf: value, index: 59}
  url:
    pattern: {type: Uri, value: 'http://fhir.hie.moh.gov.id/StructureDefinition/simple-register-id-core'}
    index: 31
  valueCodeableConcept: {type: CodeableConcept, choiceOf: value, index: 57}
  valueAnnotation: {type: Annotation, choiceOf: value, index: 55}
  valuePeriod: {type: Period, choiceOf: value, index: 66}
  valueDistance: {type: Distance, choiceOf: value, index: 61}
  valueRange: {type: Range, choiceOf: value, index: 68}
  valueSignature: {type: Signature, choiceOf: value, index: 72}
  valueUuid: {type: uuid, choiceOf: value, index: 52}
  valueInteger: {type: integer, choiceOf: value, index: 43}
  valueHumanName: {type: HumanName, choiceOf: value, index: 63}
  valueUnsignedInt: {type: unsignedInt, choiceOf: value, index: 49}
  valueAttachment: {type: Attachment, choiceOf: value, index: 56}
  valueOid: {type: oid, choiceOf: value, index: 45}
  valueAddress: {type: Address, choiceOf: value, index: 53}
  valueRelatedArtifact: {type: RelatedArtifact, choiceOf: value, index: 79}
  valuePositiveInt: {type: positiveInt, choiceOf: value, index: 46}
  valueId: {type: id, choiceOf: value, index: 41}
  valueUrl: {type: url, choiceOf: value, index: 51}
package_version: 0.0.1
extensions:
  identifier:
    url: identifier
    code:
    - {code: identifier}
    index: 1
    elements:
      url:
        pattern: {type: Uri, value: identifier}
        index: 2
      value:
        choices: [valueString]
        index: 4
      valueString: {type: string, choiceOf: value, index: 5}
  name:
    url: name
    code:
    - {code: name}
    index: 6
    elements:
      url:
        pattern: {type: Uri, value: name}
        index: 7
      value:
        choices: [valueString]
        index: 9
      valueString: {type: string, choiceOf: value, index: 10}
  gender:
    url: gender
    code:
    - {code: gender}
    index: 11
    elements:
      url:
        pattern: {type: Uri, value: gender}
        index: 12
      value:
        choices: [valueCode]
        index: 14
      valueCode: {type: code, choiceOf: value, index: 15}
  birthDate:
    url: birthDate
    code:
    - {code: birthDate}
    index: 16
    elements:
      url:
        pattern: {type: Uri, value: birthDate}
        index: 17
      value:
        choices: [valueDate]
        index: 19
      valueDate: {type: date, choiceOf: value, index: 20}
  telecom:
    url: telecom
    code:
    - {code: telecom}
    index: 21
    elements:
      url:
        pattern: {type: Uri, value: telecom}
        index: 22
      value:
        choices: [valueContactDetail]
        index: 24
      valueContactDetail: {type: ContactDetail, choiceOf: value, index: 25}
  age:
    url: age
    code:
    - {code: age}
    index: 26
    elements:
      url:
        pattern: {type: Uri, value: age}
        index: 27
      value:
        choices: [valueString]
        index: 29
      valueString: {type: string, choiceOf: value, index: 30}
class: extension
kind: complex-type
url: http://fhir.hie.moh.gov.id/StructureDefinition/simple-register-id-core
base: http://hl7.org/fhir/StructureDefinition/Extension
version: 1.0.0