From c6b7cbc1eecca273e3cad032e36e07d4df0363e2 Mon Sep 17 00:00:00 2001 From: Aleksandr Penskoi Date: Wed, 25 Feb 2026 10:08:08 +0100 Subject: [PATCH 01/16] Bump @atomic-ehr/fhirschema --- bun.lock | 4 +- package.json | 2 +- .../__snapshots__/introspection.test.ts.snap | 826 +++++++++--------- 3 files changed, 416 insertions(+), 416 deletions(-) diff --git a/bun.lock b/bun.lock index 07f14cb3..6df3b17e 100644 --- a/bun.lock +++ b/bun.lock @@ -6,7 +6,7 @@ "name": "@atomic-ehr/codegen", "dependencies": { "@atomic-ehr/fhir-canonical-manager": "^0.0.20", - "@atomic-ehr/fhirschema": "^0.0.5", + "@atomic-ehr/fhirschema": "0.0.8", "mustache": "^4.2.0", "picocolors": "^1.1.1", "tinyglobby": "^0.2.15", @@ -31,7 +31,7 @@ "packages": { "@atomic-ehr/fhir-canonical-manager": ["@atomic-ehr/fhir-canonical-manager@0.0.20", "", { "peerDependencies": { "typescript": "^5" }, "bin": { "fcm": "dist/cli/index.js" } }, "sha512-fDvHAkY8KWh7qPg/zKWelnixkE7sWkXMoESzx4YC1ndMiX9Hd9bWXVV9SycEL2NbarU0rMchlKDCo/LkvecsnQ=="], - "@atomic-ehr/fhirschema": ["@atomic-ehr/fhirschema@0.0.5", "", { "peerDependencies": { "typescript": "^5" } }, "sha512-B/8ScNnnQUIR6d3FsIuGGvanOyE2j7W3mAubVmpPE2I/tho+meEBRrGgs5E+AY4jDz9mviTdOta08RpIhH2kew=="], + "@atomic-ehr/fhirschema": ["@atomic-ehr/fhirschema@0.0.8", "", { "peerDependencies": { "typescript": "^5" } }, "sha512-RB3ZlFHYYfP4ZaOA0YStGaxrm3T1MzpJLPAzAxW/7u2yfdmQz160e3mGYVv0mglHKtGhZ0fuuk2qqhDwUiGncg=="], "@biomejs/biome": ["@biomejs/biome@2.4.4", "", { "optionalDependencies": { "@biomejs/cli-darwin-arm64": "2.4.4", "@biomejs/cli-darwin-x64": "2.4.4", "@biomejs/cli-linux-arm64": "2.4.4", "@biomejs/cli-linux-arm64-musl": "2.4.4", "@biomejs/cli-linux-x64": "2.4.4", "@biomejs/cli-linux-x64-musl": "2.4.4", "@biomejs/cli-win32-arm64": "2.4.4", "@biomejs/cli-win32-x64": "2.4.4" }, "bin": { "biome": "bin/biome" } }, "sha512-tigwWS5KfJf0cABVd52NVaXyAVv4qpUXOWJ1rxFL8xF1RVoeS2q/LK+FHgYoKMclJCuRoCWAPy1IXaN9/mS61Q=="], diff --git a/package.json b/package.json index 43945c81..0516c04b 100644 --- a/package.json +++ b/package.json @@ -66,7 +66,7 @@ "homepage": "https://github.com/atomic-ehr/codegen#readme", "dependencies": { "@atomic-ehr/fhir-canonical-manager": "^0.0.20", - "@atomic-ehr/fhirschema": "^0.0.5", + "@atomic-ehr/fhirschema": "^0.0.8", "mustache": "^4.2.0", "picocolors": "^1.1.1", "tinyglobby": "^0.2.15", diff --git a/test/api/write-generator/__snapshots__/introspection.test.ts.snap b/test/api/write-generator/__snapshots__/introspection.test.ts.snap index cccf639d..0f8b3613 100644 --- a/test/api/write-generator/__snapshots__/introspection.test.ts.snap +++ b/test/api/write-generator/__snapshots__/introspection.test.ts.snap @@ -752,124 +752,124 @@ exports[`IntrospectionWriter - Fhir Schema Output Check OperationOutcome introsp `; exports[`IntrospectionWriter - Fhir Schema Output Check all introspection data in a single ndjson file 1`] = ` -"{"name":"objectClass","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/11179-objectClass","version":"4.0.1","description":"A concept that represents a set of ideas, abstractions, or things in the real world that can be identified with explicit boundaries and meaning and whose properties and behavior follow the same rules. It may be either a single concept or a group of associated concepts, abstractions, or things.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/11179-objectClass"},"type":"uri","index":1},"value":{"choices":["valueCoding"],"index":3},"valueCoding":{"type":"Coding","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"objectClassProperty","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/11179-objectClassProperty","version":"4.0.1","description":"A quality common to all members of an object class. A property may be any feature that humans naturally use to distinguish one individual object from another. It is the human perception of a single quality of an object class in the real world. It is conceptual and thus has no particular associated means of representation by which the property can be communicated.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/11179-objectClassProperty"},"type":"uri","index":1},"value":{"choices":["valueCoding"],"index":3},"valueCoding":{"type":"Coding","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"permitted-value-conceptmap","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/11179-permitted-value-conceptmap","version":"4.0.1","description":"Expresses the linkage between the internal codes used for storage and the codes used for exchange.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/11179-permitted-value-conceptmap"},"type":"uri","index":1},"value":{"choices":["valueCanonical"],"index":3},"valueCanonical":{"type":"canonical","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"permitted-value-valueset","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/11179-permitted-value-valueset","version":"4.0.1","description":"Allows expressing the value set that must be stored internally by the system (as distinct from the base value set which defines values for exchange).","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/11179-permitted-value-valueset"},"type":"uri","index":1},"value":{"choices":["valueCanonical"],"index":3},"valueCanonical":{"type":"canonical","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +"{"name":"objectClass","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/11179-objectClass","version":"4.0.1","description":"A concept that represents a set of ideas, abstractions, or things in the real world that can be identified with explicit boundaries and meaning and whose properties and behavior follow the same rules. It may be either a single concept or a group of associated concepts, abstractions, or things.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/11179-objectClass"},"index":1},"value":{"choices":["valueCoding"],"index":3},"valueCoding":{"type":"Coding","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"objectClassProperty","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/11179-objectClassProperty","version":"4.0.1","description":"A quality common to all members of an object class. A property may be any feature that humans naturally use to distinguish one individual object from another. It is the human perception of a single quality of an object class in the real world. It is conceptual and thus has no particular associated means of representation by which the property can be communicated.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/11179-objectClassProperty"},"index":1},"value":{"choices":["valueCoding"],"index":3},"valueCoding":{"type":"Coding","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"permitted-value-conceptmap","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/11179-permitted-value-conceptmap","version":"4.0.1","description":"Expresses the linkage between the internal codes used for storage and the codes used for exchange.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/11179-permitted-value-conceptmap"},"index":1},"value":{"choices":["valueCanonical"],"index":3},"valueCanonical":{"type":"canonical","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"permitted-value-valueset","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/11179-permitted-value-valueset","version":"4.0.1","description":"Allows expressing the value set that must be stored internally by the system (as distinct from the base value set which defines values for exchange).","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/11179-permitted-value-valueset"},"index":1},"value":{"choices":["valueCanonical"],"index":3},"valueCanonical":{"type":"canonical","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"Account","type":"Account","kind":"resource","class":"resource","url":"http://hl7.org/fhir/StructureDefinition/Account","version":"4.0.1","description":"A financial tool for tracking value accrued for a particular purpose. In the healthcare field, used to track charges for a patient, cost centers, etc.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/DomainResource","elements":{"identifier":{"short":"Account number","type":"Identifier","isSummary":true,"array":true,"index":0},"status":{"short":"active | inactive | entered-in-error | on-hold | unknown","type":"code","isModifier":true,"isModifierReason":"This element is labelled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/account-status|4.0.1","bindingName":"AccountStatus"},"index":1},"type":{"short":"E.g. patient, expense, depreciation","type":"CodeableConcept","isSummary":true,"binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/account-type","bindingName":"AccountType"},"index":2},"name":{"short":"Human-readable label","type":"string","isSummary":true,"index":3},"subject":{"short":"The entity that caused the expenses","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Device","http://hl7.org/fhir/StructureDefinition/HealthcareService","http://hl7.org/fhir/StructureDefinition/Location","http://hl7.org/fhir/StructureDefinition/Organization","http://hl7.org/fhir/StructureDefinition/Patient","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole"],"array":true,"index":4},"servicePeriod":{"short":"Transaction window","type":"Period","isSummary":true,"index":5},"coverage":{"short":"The party(s) that are responsible for covering the payment of this account, and what order should they be applied to the account","type":"BackboneElement","isSummary":true,"array":true,"index":6,"elements":{"coverage":{"short":"The party(s), such as insurances, that may contribute to the payment of this account","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Coverage"],"index":7},"priority":{"short":"The priority of the coverage in the context of this account","type":"positiveInt","isSummary":true,"index":8}},"required":["coverage"]},"owner":{"short":"Entity managing the Account","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Organization"],"index":9},"description":{"short":"Explanation of purpose/use","type":"string","isSummary":true,"index":10},"guarantor":{"short":"The parties ultimately responsible for balancing the Account","type":"BackboneElement","array":true,"index":11,"elements":{"party":{"short":"Responsible entity","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Organization","http://hl7.org/fhir/StructureDefinition/Patient","http://hl7.org/fhir/StructureDefinition/RelatedPerson"],"index":12},"onHold":{"short":"Credit or other hold applied","type":"boolean","index":13},"period":{"short":"Guarantee account during","type":"Period","index":14}},"required":["party"]},"partOf":{"short":"Reference to a parent Account","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Account"],"index":15}},"required":["status"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"ActivityDefinition","type":"ActivityDefinition","kind":"resource","class":"resource","url":"http://hl7.org/fhir/StructureDefinition/ActivityDefinition","version":"4.0.1","description":"This resource allows for the definition of some activity to be performed, independent of a particular patient, practitioner, or other performance context.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/DomainResource","elements":{"url":{"short":"Canonical identifier for this activity definition, represented as a URI (globally unique)","type":"uri","isSummary":true,"index":0},"identifier":{"short":"Additional identifier for the activity definition","type":"Identifier","isSummary":true,"array":true,"index":1},"version":{"short":"Business version of the activity definition","type":"string","isSummary":true,"index":2},"name":{"short":"Name for this activity definition (computer friendly)","type":"string","isSummary":true,"index":3},"title":{"short":"Name for this activity definition (human friendly)","type":"string","isSummary":true,"index":4},"subtitle":{"short":"Subordinate title of the activity definition","type":"string","index":5},"status":{"short":"draft | active | retired | unknown","type":"code","isModifier":true,"isModifierReason":"This is labeled as \\"Is Modifier\\" because applications should not use a retired {{title}} without due consideration","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/publication-status|4.0.1","bindingName":"PublicationStatus"},"index":6},"experimental":{"short":"For testing purposes, not real usage","type":"boolean","isSummary":true,"index":7},"subject":{"short":"Type of individual the activity definition is intended for","meaningWhenMissing":"Patient","choices":["subjectCodeableConcept","subjectReference"],"index":9},"subjectCodeableConcept":{"short":"Type of individual the activity definition is intended for","type":"CodeableConcept","meaningWhenMissing":"Patient","choiceOf":"subject","index":10},"subjectReference":{"short":"Type of individual the activity definition is intended for","type":"Reference","meaningWhenMissing":"Patient","choiceOf":"subject","refers":["http://hl7.org/fhir/StructureDefinition/Group"],"index":11},"date":{"short":"Date last changed","type":"dateTime","isSummary":true,"index":12},"publisher":{"short":"Name of the publisher (organization or individual)","type":"string","isSummary":true,"index":13},"contact":{"short":"Contact details for the publisher","type":"ContactDetail","isSummary":true,"array":true,"index":14},"description":{"short":"Natural language description of the activity definition","type":"markdown","isSummary":true,"index":15},"useContext":{"short":"The context that the content is intended to support","type":"UsageContext","isSummary":true,"array":true,"index":16},"jurisdiction":{"short":"Intended jurisdiction for activity definition (if applicable)","type":"CodeableConcept","isSummary":true,"binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/ValueSet/jurisdiction","bindingName":"Jurisdiction"},"array":true,"index":17},"purpose":{"short":"Why this activity definition is defined","type":"markdown","index":18},"usage":{"short":"Describes the clinical usage of the activity definition","type":"string","index":19},"copyright":{"short":"Use and/or publishing restrictions","type":"markdown","index":20},"approvalDate":{"short":"When the activity definition was approved by publisher","type":"date","index":21},"lastReviewDate":{"short":"When the activity definition was last reviewed","type":"date","index":22},"effectivePeriod":{"short":"When the activity definition is expected to be used","type":"Period","isSummary":true,"index":23},"topic":{"short":"E.g. Education, Treatment, Assessment, etc.","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/definition-topic","bindingName":"DefinitionTopic"},"array":true,"index":24},"author":{"short":"Who authored the content","type":"ContactDetail","array":true,"index":25},"editor":{"short":"Who edited the content","type":"ContactDetail","array":true,"index":26},"reviewer":{"short":"Who reviewed the content","type":"ContactDetail","array":true,"index":27},"endorser":{"short":"Who endorsed the content","type":"ContactDetail","array":true,"index":28},"relatedArtifact":{"short":"Additional documentation, citations, etc.","type":"RelatedArtifact","array":true,"index":29},"library":{"short":"Logic used by the activity definition","type":"canonical","array":true,"index":30},"kind":{"short":"Kind of resource","type":"code","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/request-resource-types|4.0.1","bindingName":"ActivityDefinitionKind"},"index":31},"profile":{"short":"What profile the resource needs to conform to","type":"canonical","index":32},"code":{"short":"Detail type of activity","type":"CodeableConcept","isSummary":true,"binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/procedure-code","bindingName":"ActivityDefinitionType"},"index":33},"intent":{"short":"proposal | plan | directive | order | original-order | reflex-order | filler-order | instance-order | option","type":"code","binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/request-intent|4.0.1","bindingName":"RequestIntent"},"index":34},"priority":{"short":"routine | urgent | asap | stat","type":"code","binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/request-priority|4.0.1","bindingName":"RequestPriority"},"index":35},"doNotPerform":{"short":"True if the activity should not be performed","type":"boolean","isModifier":true,"isModifierReason":"If true this element negates the specified action. For Example, instead of a request for a procedure, it is a request for the procedure to not occur.","isSummary":true,"index":36},"timing":{"short":"When activity is to occur","choices":["timingTiming","timingDateTime","timingAge","timingPeriod","timingRange","timingDuration"],"index":38},"timingTiming":{"short":"When activity is to occur","type":"Timing","choiceOf":"timing","index":39},"timingDateTime":{"short":"When activity is to occur","type":"dateTime","choiceOf":"timing","index":40},"timingAge":{"short":"When activity is to occur","type":"Age","choiceOf":"timing","index":41},"timingPeriod":{"short":"When activity is to occur","type":"Period","choiceOf":"timing","index":42},"timingRange":{"short":"When activity is to occur","type":"Range","choiceOf":"timing","index":43},"timingDuration":{"short":"When activity is to occur","type":"Duration","choiceOf":"timing","index":44},"location":{"short":"Where it should happen","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Location"],"index":45},"participant":{"short":"Who should participate in the action","type":"BackboneElement","array":true,"index":46,"elements":{"type":{"short":"patient | practitioner | related-person | device","type":"code","binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/action-participant-type|4.0.1","bindingName":"ActivityParticipantType"},"index":47},"role":{"short":"E.g. Nurse, Surgeon, Parent, etc.","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/action-participant-role","bindingName":"ActivityParticipantRole"},"index":48}},"required":["type"]},"product":{"short":"What's administered/supplied","choices":["productReference","productCodeableConcept"],"index":50},"productReference":{"short":"What's administered/supplied","type":"Reference","choiceOf":"product","refers":["http://hl7.org/fhir/StructureDefinition/Medication","http://hl7.org/fhir/StructureDefinition/Substance"],"index":51},"productCodeableConcept":{"short":"What's administered/supplied","type":"CodeableConcept","choiceOf":"product","index":52},"quantity":{"short":"How much is administered/consumed/supplied","type":"Quantity","index":53},"dosage":{"short":"Detailed dosage instructions","type":"Dosage","array":true,"index":54},"bodySite":{"short":"What part of body to perform on","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/body-site","bindingName":"BodySite"},"array":true,"index":55},"specimenRequirement":{"short":"What specimens are required to perform this action","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/SpecimenDefinition"],"array":true,"index":56},"observationRequirement":{"short":"What observations are required to perform this action","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/ObservationDefinition"],"array":true,"index":57},"observationResultRequirement":{"short":"What observations must be produced by this action","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/ObservationDefinition"],"array":true,"index":58},"transform":{"short":"Transform to apply the template","type":"canonical","index":59},"dynamicValue":{"short":"Dynamic aspects of the definition","type":"BackboneElement","array":true,"index":60,"elements":{"path":{"short":"The path to the element to be set dynamically","type":"string","index":61},"expression":{"short":"An expression that provides the dynamic value for the customization","type":"Expression","index":62}},"required":["expression","path"]}},"required":["status"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"Actual Group","type":"Group","kind":"resource","class":"profile","url":"http://hl7.org/fhir/StructureDefinition/actualgroup","version":"4.0.1","description":"Enforces an actual group, rather than a definitional group","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Group","elements":{"actual":{"type":"boolean","pattern":{"type":"boolean","value":true},"index":0},"characteristic":{"index":1}},"required":["actual"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"Actual Group","type":"Group","kind":"resource","class":"profile","url":"http://hl7.org/fhir/StructureDefinition/actualgroup","version":"4.0.1","description":"Enforces an actual group, rather than a definitional group","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Group","elements":{"actual":{"type":"boolean","fixed":{"type":"boolean","value":true},"index":0},"characteristic":{"index":1}},"required":["actual"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"Address","type":"Address","kind":"complex-type","class":"complex-type","url":"http://hl7.org/fhir/StructureDefinition/Address","version":"4.0.1","description":"Base StructureDefinition for Address Type: An address expressed using postal conventions (as opposed to GPS or other location definition formats). This data type may be used to convey addresses for use in delivering mail as well as for visiting locations which might not be valid for mail delivery. There are a variety of postal address formats defined around the world.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/Element","elements":{"use":{"short":"home | work | temp | old | billing - purpose of this address","type":"code","isModifier":true,"isModifierReason":"This is labeled as \\"Is Modifier\\" because applications should not mistake a temporary or old address etc.for a current/permanent one","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/address-use|4.0.1","bindingName":"AddressUse"},"index":0},"type":{"short":"postal | physical | both","type":"code","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/address-type|4.0.1","bindingName":"AddressType"},"index":1},"text":{"short":"Text representation of the address","type":"string","isSummary":true,"index":2},"line":{"short":"Street name, number, direction & P.O. Box etc.","type":"string","orderMeaning":"The order in which lines should appear in an address label","isSummary":true,"array":true,"index":3},"city":{"short":"Name of city, town etc.","type":"string","isSummary":true,"index":4},"district":{"short":"District name (aka county)","type":"string","isSummary":true,"index":5},"state":{"short":"Sub-unit of country (abbreviations ok)","type":"string","isSummary":true,"index":6},"postalCode":{"short":"Postal code for area","type":"string","isSummary":true,"index":7},"country":{"short":"Country (e.g. can be ISO 3166 2 or 3 letter code)","type":"string","isSummary":true,"index":8},"period":{"short":"Time period when address was/is in use","type":"Period","isSummary":true,"index":9}},"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"AdverseEvent","type":"AdverseEvent","kind":"resource","class":"resource","url":"http://hl7.org/fhir/StructureDefinition/AdverseEvent","version":"4.0.1","description":"Actual or potential/avoided event causing unintended physical injury resulting from or contributed to by medical care, a research study or other healthcare setting factors that requires additional monitoring, treatment, or hospitalization, or that results in death.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/DomainResource","elements":{"identifier":{"short":"Business identifier for the event","type":"Identifier","isSummary":true,"index":0},"actuality":{"short":"actual | potential","type":"code","isModifier":true,"isModifierReason":"This element is labeled as a modifier because it has a potential code that indicates the adverse event did not actually happen.","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/adverse-event-actuality|4.0.1","bindingName":"AdverseEventActuality"},"index":1},"category":{"short":"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":"CodeableConcept","isSummary":true,"binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/ValueSet/adverse-event-category","bindingName":"AdverseEventCategory"},"array":true,"index":2},"event":{"short":"Type of the event itself in relation to the subject","type":"CodeableConcept","isSummary":true,"binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/adverse-event-type","bindingName":"AdverseEventType"},"index":3},"subject":{"short":"Subject impacted by event","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Group","http://hl7.org/fhir/StructureDefinition/Patient","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/RelatedPerson"],"index":4},"encounter":{"short":"Encounter created as part of","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Encounter"],"index":5},"date":{"short":"When the event occurred","type":"dateTime","isSummary":true,"index":6},"detected":{"short":"When the event was detected","type":"dateTime","isSummary":true,"index":7},"recordedDate":{"short":"When the event was recorded","type":"dateTime","isSummary":true,"index":8},"resultingCondition":{"short":"Effect on the subject due to this event","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Condition"],"array":true,"index":9},"location":{"short":"Location where adverse event occurred","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Location"],"index":10},"seriousness":{"short":"Seriousness of the event","type":"CodeableConcept","isSummary":true,"binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/adverse-event-seriousness","bindingName":"AdverseEventSeriousness"},"index":11},"severity":{"short":"mild | moderate | severe","type":"CodeableConcept","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/adverse-event-severity|4.0.1","bindingName":"AdverseEventSeverity"},"index":12},"outcome":{"short":"resolved | recovering | ongoing | resolvedWithSequelae | fatal | unknown","type":"CodeableConcept","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/adverse-event-outcome|4.0.1","bindingName":"AdverseEventOutcome"},"index":13},"recorder":{"short":"Who recorded the adverse event","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Patient","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole","http://hl7.org/fhir/StructureDefinition/RelatedPerson"],"index":14},"contributor":{"short":"Who was involved in the adverse event or the potential adverse event","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Device","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole"],"array":true,"index":15},"suspectEntity":{"short":"The suspected agent causing the adverse event","type":"BackboneElement","isSummary":true,"array":true,"index":16,"elements":{"instance":{"short":"Refers to the specific entity that caused the adverse event","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Device","http://hl7.org/fhir/StructureDefinition/Immunization","http://hl7.org/fhir/StructureDefinition/Medication","http://hl7.org/fhir/StructureDefinition/MedicationAdministration","http://hl7.org/fhir/StructureDefinition/MedicationStatement","http://hl7.org/fhir/StructureDefinition/Procedure","http://hl7.org/fhir/StructureDefinition/Substance"],"index":17},"causality":{"short":"Information on the possible cause of the event","type":"BackboneElement","isSummary":true,"array":true,"index":18,"elements":{"assessment":{"short":"Assessment of if the entity caused the event","type":"CodeableConcept","isSummary":true,"binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/adverse-event-causality-assess","bindingName":"AdverseEventCausalityAssessment"},"index":19},"productRelatedness":{"short":"AdverseEvent.suspectEntity.causalityProductRelatedness","type":"string","isSummary":true,"index":20},"author":{"short":"AdverseEvent.suspectEntity.causalityAuthor","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole"],"index":21},"method":{"short":"ProbabilityScale | Bayesian | Checklist","type":"CodeableConcept","isSummary":true,"binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/adverse-event-causality-method","bindingName":"AdverseEventCausalityMethod"},"index":22}}}},"required":["instance"]},"subjectMedicalHistory":{"short":"AdverseEvent.subjectMedicalHistory","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/AllergyIntolerance","http://hl7.org/fhir/StructureDefinition/Condition","http://hl7.org/fhir/StructureDefinition/DocumentReference","http://hl7.org/fhir/StructureDefinition/FamilyMemberHistory","http://hl7.org/fhir/StructureDefinition/Immunization","http://hl7.org/fhir/StructureDefinition/Media","http://hl7.org/fhir/StructureDefinition/Observation","http://hl7.org/fhir/StructureDefinition/Procedure"],"array":true,"index":23},"referenceDocument":{"short":"AdverseEvent.referenceDocument","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/DocumentReference"],"array":true,"index":24},"study":{"short":"AdverseEvent.study","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/ResearchStudy"],"array":true,"index":25}},"required":["actuality","subject"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"Age","type":"Age","kind":"complex-type","class":"complex-type","url":"http://hl7.org/fhir/StructureDefinition/Age","version":"4.0.1","description":"Base StructureDefinition for Age Type: A duration of time during which an organism (or a process) has existed.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/Quantity","package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"assertedDate","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/allergyintolerance-assertedDate","version":"4.0.1","description":"The date on which the existence of the AllergyIntolerance was first asserted or acknowledged.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/allergyintolerance-assertedDate"},"type":"uri","index":1},"value":{"choices":["valueDateTime"],"index":3},"valueDateTime":{"type":"dateTime","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"certainty","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/allergyintolerance-certainty","version":"4.0.1","description":"Statement about the degree of clinical certainty that the specific substance was the cause of the manifestation in this reaction event.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/allergyintolerance-certainty"},"type":"uri","index":1},"value":{"choices":["valueCodeableConcept"],"index":3},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"duration","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/allergyintolerance-duration","version":"4.0.1","description":"The amount of time that the Adverse Reaction persisted.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/allergyintolerance-duration"},"type":"uri","index":1},"value":{"choices":["valueDuration"],"index":3},"valueDuration":{"type":"Duration","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"reasonRefuted","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/allergyintolerance-reasonRefuted","version":"4.0.1","description":"A code capturing the explanation of why the allergy or intolerance has been refuted. Should be specified only if the status is refuted.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/allergyintolerance-reasonRefuted"},"type":"uri","index":1},"value":{"choices":["valueCodeableConcept"],"index":3},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"resolutionAge","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/allergyintolerance-resolutionAge","version":"4.0.1","description":"The estimated patient age at which the allergy or intolerance resolved. Should be specified only if the status is resolved.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/allergyintolerance-resolutionAge"},"type":"uri","index":1},"value":{"choices":["valueAge"],"index":3},"valueAge":{"type":"Age","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"substanceExposureRisk","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/allergyintolerance-substanceExposureRisk","version":"4.0.1","description":"A complex extension allowing structured capture of the exposure risk of the patient for an adverse reaction (allergy or intolerance) to the specified substance/product.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{"substance":{"min":1,"max":1,"short":"Substance (or pharmaceutical product)","_required":true,"index":0,"extensions":{},"required":["value"]},"exposureRisk":{"min":1,"max":1,"short":"known-reaction-risk | no-known-reaction-risk","_required":true,"index":6,"extensions":{},"required":["value"]}},"elements":{"extension":{"short":"Substance (or pharmaceutical product)","type":"Extension","index":0,"slicing":{"slices":{"substance":{"match":{},"schema":{"short":"Substance (or pharmaceutical product)","type":"Extension","_required":true,"index":0,"extensions":"[Circular Reference]","elements":{"extension":{"index":1},"url":{"type":"uri","pattern":{"type":"uri","value":"substance"},"index":2},"value":{"choices":["valueCodeableConcept"],"index":4},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":5}},"required":["value"]},"min":1,"max":1},"exposureRisk":{"match":{},"schema":{"short":"known-reaction-risk | no-known-reaction-risk","type":"Extension","_required":true,"index":6,"extensions":"[Circular Reference]","elements":{"extension":{"index":7},"url":{"type":"uri","pattern":{"type":"uri","value":"exposureRisk"},"index":8},"value":{"choices":["valueCodeableConcept"],"index":10},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":11}},"required":["value"]},"min":1,"max":1}}}},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/allergyintolerance-substanceExposureRisk"},"type":"uri","index":12}},"required":["extension"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"assertedDate","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/allergyintolerance-assertedDate","version":"4.0.1","description":"The date on which the existence of the AllergyIntolerance was first asserted or acknowledged.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/allergyintolerance-assertedDate"},"index":1},"value":{"choices":["valueDateTime"],"index":3},"valueDateTime":{"type":"dateTime","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"certainty","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/allergyintolerance-certainty","version":"4.0.1","description":"Statement about the degree of clinical certainty that the specific substance was the cause of the manifestation in this reaction event.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/allergyintolerance-certainty"},"index":1},"value":{"choices":["valueCodeableConcept"],"index":3},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"duration","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/allergyintolerance-duration","version":"4.0.1","description":"The amount of time that the Adverse Reaction persisted.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/allergyintolerance-duration"},"index":1},"value":{"choices":["valueDuration"],"index":3},"valueDuration":{"type":"Duration","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"reasonRefuted","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/allergyintolerance-reasonRefuted","version":"4.0.1","description":"A code capturing the explanation of why the allergy or intolerance has been refuted. Should be specified only if the status is refuted.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/allergyintolerance-reasonRefuted"},"index":1},"value":{"choices":["valueCodeableConcept"],"index":3},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"resolutionAge","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/allergyintolerance-resolutionAge","version":"4.0.1","description":"The estimated patient age at which the allergy or intolerance resolved. Should be specified only if the status is resolved.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/allergyintolerance-resolutionAge"},"index":1},"value":{"choices":["valueAge"],"index":3},"valueAge":{"type":"Age","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"substanceExposureRisk","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/allergyintolerance-substanceExposureRisk","version":"4.0.1","description":"A complex extension allowing structured capture of the exposure risk of the patient for an adverse reaction (allergy or intolerance) to the specified substance/product.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{"substance":{"min":1,"max":1,"short":"Substance (or pharmaceutical product)","_required":true,"index":0,"extensions":{},"required":["value"]},"exposureRisk":{"min":1,"max":1,"short":"known-reaction-risk | no-known-reaction-risk","_required":true,"index":6,"extensions":{},"required":["value"]}},"elements":{"extension":{"short":"Substance (or pharmaceutical product)","type":"Extension","index":0,"slicing":{"slices":{"substance":{"match":{},"schema":{"short":"Substance (or pharmaceutical product)","type":"Extension","_required":true,"index":0,"extensions":"[Circular Reference]","elements":{"extension":{"index":1},"url":{"type":"uri","fixed":{"type":"uri","value":"substance"},"index":2},"value":{"choices":["valueCodeableConcept"],"index":4},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":5}},"required":["value"]},"min":1,"max":1},"exposureRisk":{"match":{},"schema":{"short":"known-reaction-risk | no-known-reaction-risk","type":"Extension","_required":true,"index":6,"extensions":"[Circular Reference]","elements":{"extension":{"index":7},"url":{"type":"uri","fixed":{"type":"uri","value":"exposureRisk"},"index":8},"value":{"choices":["valueCodeableConcept"],"index":10},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":11}},"required":["value"]},"min":1,"max":1}}}},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/allergyintolerance-substanceExposureRisk"},"index":12}},"required":["extension"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"AllergyIntolerance","type":"AllergyIntolerance","kind":"resource","class":"resource","url":"http://hl7.org/fhir/StructureDefinition/AllergyIntolerance","version":"4.0.1","description":"Risk of harmful or undesirable, physiological response which is unique to an individual and associated with exposure to a substance.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/DomainResource","elements":{"identifier":{"short":"External ids for this item","type":"Identifier","isSummary":true,"array":true,"index":0},"clinicalStatus":{"short":"active | inactive | resolved","type":"CodeableConcept","isModifier":true,"isModifierReason":"This element is labeled as a modifier because the status contains the codes inactive and resolved that mark the AllergyIntolerance as no longer active.","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/allergyintolerance-clinical|4.0.1","bindingName":"AllergyIntoleranceClinicalStatus"},"index":1},"verificationStatus":{"short":"unconfirmed | confirmed | refuted | entered-in-error","type":"CodeableConcept","isModifier":true,"isModifierReason":"This element is labeled as a modifier because the status contains the codes refuted and entered-in-error that mark the AllergyIntolerance as not currently valid.","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/allergyintolerance-verification|4.0.1","bindingName":"AllergyIntoleranceVerificationStatus"},"index":2},"type":{"short":"allergy | intolerance - Underlying mechanism (if known)","type":"code","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/allergy-intolerance-type|4.0.1","bindingName":"AllergyIntoleranceType"},"index":3},"category":{"short":"food | medication | environment | biologic","type":"code","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/allergy-intolerance-category|4.0.1","bindingName":"AllergyIntoleranceCategory"},"array":true,"index":4},"criticality":{"short":"low | high | unable-to-assess","type":"code","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/allergy-intolerance-criticality|4.0.1","bindingName":"AllergyIntoleranceCriticality"},"index":5},"code":{"short":"Code that identifies the allergy or intolerance","type":"CodeableConcept","isSummary":true,"binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/allergyintolerance-code","bindingName":"AllergyIntoleranceCode"},"index":6},"patient":{"short":"Who the sensitivity is for","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Patient"],"index":7},"encounter":{"short":"Encounter when the allergy or intolerance was asserted","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Encounter"],"index":8},"onset":{"short":"When allergy or intolerance was identified","choices":["onsetDateTime","onsetAge","onsetPeriod","onsetRange","onsetString"],"index":10},"onsetDateTime":{"short":"When allergy or intolerance was identified","type":"dateTime","choiceOf":"onset","index":11},"onsetAge":{"short":"When allergy or intolerance was identified","type":"Age","choiceOf":"onset","index":12},"onsetPeriod":{"short":"When allergy or intolerance was identified","type":"Period","choiceOf":"onset","index":13},"onsetRange":{"short":"When allergy or intolerance was identified","type":"Range","choiceOf":"onset","index":14},"onsetString":{"short":"When allergy or intolerance was identified","type":"string","choiceOf":"onset","index":15},"recordedDate":{"short":"Date first version of the resource instance was recorded","type":"dateTime","index":16},"recorder":{"short":"Who recorded the sensitivity","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Patient","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole","http://hl7.org/fhir/StructureDefinition/RelatedPerson"],"index":17},"asserter":{"short":"Source of the information about the allergy","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Patient","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole","http://hl7.org/fhir/StructureDefinition/RelatedPerson"],"index":18},"lastOccurrence":{"short":"Date(/time) of last known occurrence of a reaction","type":"dateTime","index":19},"note":{"short":"Additional text not captured in other fields","type":"Annotation","array":true,"index":20},"reaction":{"short":"Adverse Reaction Events linked to exposure to substance","type":"BackboneElement","array":true,"index":21,"elements":{"substance":{"short":"Specific substance or pharmaceutical product considered to be responsible for event","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/substance-code","bindingName":"SubstanceCode"},"index":22},"manifestation":{"short":"Clinical symptoms/signs associated with the Event","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/clinical-findings","bindingName":"Manifestation"},"array":true,"min":1,"index":23},"description":{"short":"Description of the event as a whole","type":"string","index":24},"onset":{"short":"Date(/time) when manifestations showed","type":"dateTime","index":25},"severity":{"short":"mild | moderate | severe (of event as a whole)","type":"code","binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/reaction-event-severity|4.0.1","bindingName":"AllergyIntoleranceSeverity"},"index":26},"exposureRoute":{"short":"How the subject was exposed to the substance","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/route-codes","bindingName":"RouteOfAdministration"},"index":27},"note":{"short":"Text about event not captured in other fields","type":"Annotation","array":true,"index":28}},"required":["manifestation"]}},"required":["patient"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"Annotation","type":"Annotation","kind":"complex-type","class":"complex-type","url":"http://hl7.org/fhir/StructureDefinition/Annotation","version":"4.0.1","description":"Base StructureDefinition for Annotation Type: A text note which also contains information about who made the statement and when.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/Element","elements":{"author":{"short":"Individual responsible for the annotation","isSummary":true,"choices":["authorReference","authorString"],"index":1},"authorReference":{"short":"Individual responsible for the annotation","type":"Reference","isSummary":true,"choiceOf":"author","refers":["http://hl7.org/fhir/StructureDefinition/Organization","http://hl7.org/fhir/StructureDefinition/Patient","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/RelatedPerson"],"index":2},"authorString":{"short":"Individual responsible for the annotation","type":"string","isSummary":true,"choiceOf":"author","index":3},"time":{"short":"When the annotation was made","type":"dateTime","isSummary":true,"index":4},"text":{"short":"The annotation - text content (as markdown)","type":"markdown","isSummary":true,"index":5}},"required":["text"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"Appointment","type":"Appointment","kind":"resource","class":"resource","url":"http://hl7.org/fhir/StructureDefinition/Appointment","version":"4.0.1","description":"A booking of a healthcare event among patient(s), practitioner(s), related person(s) and/or device(s) for a specific date/time. This may result in one or more Encounter(s).","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/DomainResource","elements":{"identifier":{"short":"External Ids for this item","type":"Identifier","isSummary":true,"array":true,"index":0},"status":{"short":"proposed | pending | booked | arrived | fulfilled | cancelled | noshow | entered-in-error | checked-in | waitlist","type":"code","isModifier":true,"isModifierReason":"This element is labelled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/appointmentstatus|4.0.1","bindingName":"AppointmentStatus"},"index":1},"cancelationReason":{"short":"The coded reason for the appointment being cancelled","type":"CodeableConcept","isSummary":true,"binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/appointment-cancellation-reason","bindingName":"cancelation-reason"},"index":2},"serviceCategory":{"short":"A broad categorization of the service that is to be performed during this appointment","type":"CodeableConcept","isSummary":true,"binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/service-category","bindingName":"service-category"},"array":true,"index":3},"serviceType":{"short":"The specific service that is to be performed during this appointment","type":"CodeableConcept","isSummary":true,"binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/service-type","bindingName":"service-type"},"array":true,"index":4},"specialty":{"short":"The specialty of a practitioner that would be required to perform the service requested in this appointment","type":"CodeableConcept","isSummary":true,"binding":{"strength":"preferred","valueSet":"http://hl7.org/fhir/ValueSet/c80-practice-codes","bindingName":"specialty"},"array":true,"index":5},"appointmentType":{"short":"The style of appointment or patient that has been booked in the slot (not service type)","type":"CodeableConcept","isSummary":true,"binding":{"strength":"preferred","valueSet":"http://terminology.hl7.org/ValueSet/v2-0276","bindingName":"appointment-type"},"index":6},"reasonCode":{"short":"Coded reason this appointment is scheduled","type":"CodeableConcept","isSummary":true,"binding":{"strength":"preferred","valueSet":"http://hl7.org/fhir/ValueSet/encounter-reason","bindingName":"ApptReason"},"array":true,"index":7},"reasonReference":{"short":"Reason the appointment is to take place (resource)","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Condition","http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation","http://hl7.org/fhir/StructureDefinition/Observation","http://hl7.org/fhir/StructureDefinition/Procedure"],"array":true,"index":8},"priority":{"short":"Used to make informed decisions if needing to re-prioritize","type":"unsignedInt","index":9},"description":{"short":"Shown on a subject line in a meeting request, or appointment list","type":"string","index":10},"supportingInformation":{"short":"Additional information to support the appointment","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Resource"],"array":true,"index":11},"start":{"short":"When appointment is to take place","type":"instant","isSummary":true,"index":12},"end":{"short":"When appointment is to conclude","type":"instant","isSummary":true,"index":13},"minutesDuration":{"short":"Can be less than start/end (e.g. estimate)","type":"positiveInt","index":14},"slot":{"short":"The slots that this appointment is filling","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Slot"],"array":true,"index":15},"created":{"short":"The date that this appointment was initially created","type":"dateTime","index":16},"comment":{"short":"Additional comments","type":"string","index":17},"patientInstruction":{"short":"Detailed information and instructions for the patient","type":"string","index":18},"basedOn":{"short":"The service request this appointment is allocated to assess","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/ServiceRequest"],"array":true,"index":19},"participant":{"short":"Participants involved in appointment","type":"BackboneElement","constraint":{"app-1":{"expression":"type.exists() or actor.exists()","human":"Either the type or actor on the participant SHALL be specified","severity":"error"}},"array":true,"min":1,"index":20,"elements":{"type":{"short":"Role of participant in the appointment","type":"CodeableConcept","isSummary":true,"binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/ValueSet/encounter-participant-type","bindingName":"ParticipantType"},"array":true,"index":21},"actor":{"short":"Person, Location/HealthcareService or Device","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Device","http://hl7.org/fhir/StructureDefinition/HealthcareService","http://hl7.org/fhir/StructureDefinition/Location","http://hl7.org/fhir/StructureDefinition/Patient","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole","http://hl7.org/fhir/StructureDefinition/RelatedPerson"],"index":22},"required":{"short":"required | optional | information-only","type":"code","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/participantrequired|4.0.1","bindingName":"ParticipantRequired"},"index":23},"status":{"short":"accepted | declined | tentative | needs-action","type":"code","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/participationstatus|4.0.1","bindingName":"ParticipationStatus"},"index":24},"period":{"short":"Participation period of the actor","type":"Period","index":25}},"required":["status"]},"requestedPeriod":{"short":"Potential date/time interval(s) requested to allocate the appointment within","type":"Period","array":true,"index":26}},"required":["participant","status"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"AppointmentResponse","type":"AppointmentResponse","kind":"resource","class":"resource","url":"http://hl7.org/fhir/StructureDefinition/AppointmentResponse","version":"4.0.1","description":"A reply to an appointment request for a patient and/or practitioner(s), such as a confirmation or rejection.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/DomainResource","elements":{"identifier":{"short":"External Ids for this item","type":"Identifier","isSummary":true,"array":true,"index":0},"appointment":{"short":"Appointment this response relates to","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Appointment"],"index":1},"start":{"short":"Time from appointment, or requested new start time","type":"instant","index":2},"end":{"short":"Time from appointment, or requested new end time","type":"instant","index":3},"participantType":{"short":"Role of participant in the appointment","type":"CodeableConcept","isSummary":true,"binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/ValueSet/encounter-participant-type","bindingName":"ParticipantType"},"array":true,"index":4},"actor":{"short":"Person, Location, HealthcareService, or Device","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Device","http://hl7.org/fhir/StructureDefinition/HealthcareService","http://hl7.org/fhir/StructureDefinition/Location","http://hl7.org/fhir/StructureDefinition/Patient","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole","http://hl7.org/fhir/StructureDefinition/RelatedPerson"],"index":5},"participantStatus":{"short":"accepted | declined | tentative | needs-action","type":"code","isModifier":true,"isModifierReason":"Not known why this is labelled a modifier","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/participationstatus|4.0.1","bindingName":"ParticipantStatus"},"index":6},"comment":{"short":"Additional comments","type":"string","index":7}},"required":["appointment","participantStatus"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"Attachment","type":"Attachment","kind":"complex-type","class":"complex-type","url":"http://hl7.org/fhir/StructureDefinition/Attachment","version":"4.0.1","description":"Base StructureDefinition for Attachment Type: For referring to data content defined in other formats.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/Element","elements":{"contentType":{"short":"Mime type of the content, with charset etc.","type":"code","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/mimetypes|4.0.1","bindingName":"MimeType"},"index":0},"language":{"short":"Human language of the content (BCP-47)","type":"code","isSummary":true,"binding":{"strength":"preferred","valueSet":"http://hl7.org/fhir/ValueSet/languages","bindingName":"Language"},"index":1},"data":{"short":"Data inline, base64ed","type":"base64Binary","index":2},"url":{"short":"Uri where the data can be found","type":"url","isSummary":true,"index":3},"size":{"short":"Number of bytes of content (if url provided)","type":"unsignedInt","isSummary":true,"index":4},"hash":{"short":"Hash of the data (sha-1, base64ed)","type":"base64Binary","isSummary":true,"index":5},"title":{"short":"Label to display in place of the data","type":"string","isSummary":true,"index":6},"creation":{"short":"Date attachment was first created","type":"dateTime","isSummary":true,"index":7}},"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"Accession","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/auditevent-Accession","version":"4.0.1","description":"An Accession Number associated with this participant object.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/auditevent-Accession"},"type":"uri","index":1},"value":{"choices":["valueIdentifier"],"index":3},"valueIdentifier":{"type":"Identifier","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"Anonymized","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/auditevent-Anonymized","version":"4.0.1","description":"True or False indicating whether all patient identifying information was removed from the data.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/auditevent-Anonymized"},"type":"uri","index":1},"value":{"choices":["valueBoolean"],"index":3},"valueBoolean":{"type":"boolean","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"Encrypted","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/auditevent-Encrypted","version":"4.0.1","description":"True or False indicating whether the data was encrypted.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/auditevent-Encrypted"},"type":"uri","index":1},"value":{"choices":["valueBoolean"],"index":3},"valueBoolean":{"type":"boolean","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"Instance","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/auditevent-Instance","version":"4.0.1","description":"Th SOP Instance UID values.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/auditevent-Instance"},"type":"uri","index":1},"value":{"choices":["valueIdentifier"],"index":3},"valueIdentifier":{"type":"Identifier","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"MPPS","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/auditevent-MPPS","version":"4.0.1","description":"An MPPS Instance UID associated with this entity.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/auditevent-MPPS"},"type":"uri","index":1},"value":{"choices":["valueIdentifier"],"index":3},"valueIdentifier":{"type":"Identifier","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"NumberOfInstances","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/auditevent-NumberOfInstances","version":"4.0.1","description":"The Number of SOP Instances referred to by this entity.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/auditevent-NumberOfInstances"},"type":"uri","index":1},"value":{"choices":["valueInteger"],"index":3},"valueInteger":{"type":"integer","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"ParticipantObjectContainsStudy","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/auditevent-ParticipantObjectContainsStudy","version":"4.0.1","description":"A Study Instance ID, which may be used when the Entity type is not (110180, DCM, \\"Study Instance UID\\").","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/auditevent-ParticipantObjectContainsStudy"},"type":"uri","index":1},"value":{"choices":["valueIdentifier"],"index":3},"valueIdentifier":{"type":"Identifier","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"SOPClass","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/auditevent-SOPClass","version":"4.0.1","description":"Required if ParticipantObjectIDTypeCode is (110180, DCM, \\"Study Instance UID\\") and any of the optional fields (AccessionNumber, ContainsMPPS, NumberOfInstances, ContainsSOPInstances,Encrypted,Anonymized) are present in this Participant Object. May be present if ParticipantObjectIDTypeCode is (110180, DCM, \\"Study Instance UID\\") even though none of the optional fields are present.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/auditevent-SOPClass"},"type":"uri","index":1},"value":{"choices":["valueReference"],"index":3},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/ImagingStudy"],"index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"Accession","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/auditevent-Accession","version":"4.0.1","description":"An Accession Number associated with this participant object.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/auditevent-Accession"},"index":1},"value":{"choices":["valueIdentifier"],"index":3},"valueIdentifier":{"type":"Identifier","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"Anonymized","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/auditevent-Anonymized","version":"4.0.1","description":"True or False indicating whether all patient identifying information was removed from the data.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/auditevent-Anonymized"},"index":1},"value":{"choices":["valueBoolean"],"index":3},"valueBoolean":{"type":"boolean","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"Encrypted","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/auditevent-Encrypted","version":"4.0.1","description":"True or False indicating whether the data was encrypted.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/auditevent-Encrypted"},"index":1},"value":{"choices":["valueBoolean"],"index":3},"valueBoolean":{"type":"boolean","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"Instance","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/auditevent-Instance","version":"4.0.1","description":"Th SOP Instance UID values.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/auditevent-Instance"},"index":1},"value":{"choices":["valueIdentifier"],"index":3},"valueIdentifier":{"type":"Identifier","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"MPPS","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/auditevent-MPPS","version":"4.0.1","description":"An MPPS Instance UID associated with this entity.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/auditevent-MPPS"},"index":1},"value":{"choices":["valueIdentifier"],"index":3},"valueIdentifier":{"type":"Identifier","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"NumberOfInstances","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/auditevent-NumberOfInstances","version":"4.0.1","description":"The Number of SOP Instances referred to by this entity.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/auditevent-NumberOfInstances"},"index":1},"value":{"choices":["valueInteger"],"index":3},"valueInteger":{"type":"integer","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"ParticipantObjectContainsStudy","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/auditevent-ParticipantObjectContainsStudy","version":"4.0.1","description":"A Study Instance ID, which may be used when the Entity type is not (110180, DCM, \\"Study Instance UID\\").","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/auditevent-ParticipantObjectContainsStudy"},"index":1},"value":{"choices":["valueIdentifier"],"index":3},"valueIdentifier":{"type":"Identifier","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"SOPClass","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/auditevent-SOPClass","version":"4.0.1","description":"Required if ParticipantObjectIDTypeCode is (110180, DCM, \\"Study Instance UID\\") and any of the optional fields (AccessionNumber, ContainsMPPS, NumberOfInstances, ContainsSOPInstances,Encrypted,Anonymized) are present in this Participant Object. May be present if ParticipantObjectIDTypeCode is (110180, DCM, \\"Study Instance UID\\") even though none of the optional fields are present.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/auditevent-SOPClass"},"index":1},"value":{"choices":["valueReference"],"index":3},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/ImagingStudy"],"index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"AuditEvent","type":"AuditEvent","kind":"resource","class":"resource","url":"http://hl7.org/fhir/StructureDefinition/AuditEvent","version":"4.0.1","description":"A record of an event made for purposes of maintaining a security log. Typical uses include detection of intrusion attempts and monitoring for inappropriate usage.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/DomainResource","elements":{"type":{"short":"Type/identifier of event","type":"Coding","isSummary":true,"binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/ValueSet/audit-event-type","bindingName":"AuditEventType"},"index":0},"subtype":{"short":"More specific type/id for the event","type":"Coding","isSummary":true,"binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/ValueSet/audit-event-sub-type","bindingName":"AuditEventSubType"},"array":true,"index":1},"action":{"short":"Type of action performed during the event","type":"code","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/audit-event-action|4.0.1","bindingName":"AuditEventAction"},"index":2},"period":{"short":"When the activity occurred","type":"Period","index":3},"recorded":{"short":"Time when the event was recorded","type":"instant","isSummary":true,"index":4},"outcome":{"short":"Whether the event succeeded or failed","type":"code","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/audit-event-outcome|4.0.1","bindingName":"AuditEventOutcome"},"index":5},"outcomeDesc":{"short":"Description of the event outcome","type":"string","isSummary":true,"index":6},"purposeOfEvent":{"short":"The purposeOfUse of the event","type":"CodeableConcept","isSummary":true,"binding":{"strength":"extensible","valueSet":"http://terminology.hl7.org/ValueSet/v3-PurposeOfUse","bindingName":"AuditPurposeOfUse"},"array":true,"index":7},"agent":{"short":"Actor involved in the event","type":"BackboneElement","array":true,"min":1,"index":8,"elements":{"type":{"short":"How agent participated","type":"CodeableConcept","binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/ValueSet/participation-role-type","bindingName":"AuditAgentType"},"index":9},"role":{"short":"Agent role in the event","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/security-role-type","bindingName":"AuditAgentRole"},"array":true,"index":10},"who":{"short":"Identifier of who","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Device","http://hl7.org/fhir/StructureDefinition/Organization","http://hl7.org/fhir/StructureDefinition/Patient","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole","http://hl7.org/fhir/StructureDefinition/RelatedPerson"],"index":11},"altId":{"short":"Alternative User identity","type":"string","index":12},"name":{"short":"Human friendly name for the agent","type":"string","index":13},"requestor":{"short":"Whether user is initiator","type":"boolean","isSummary":true,"index":14},"location":{"short":"Where","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Location"],"index":15},"policy":{"short":"Policy that authorized event","type":"uri","array":true,"index":16},"media":{"short":"Type of media","type":"Coding","binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/ValueSet/dicm-405-mediatype","bindingName":"DICOMMediaType"},"index":17},"network":{"short":"Logical network location for application activity","type":"BackboneElement","index":18,"elements":{"address":{"short":"Identifier for the network access point of the user device","type":"string","index":19},"type":{"short":"The type of network access point","type":"code","binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/network-type|4.0.1","bindingName":"AuditEventAgentNetworkType"},"index":20}}},"purposeOfUse":{"short":"Reason given for this user","type":"CodeableConcept","binding":{"strength":"extensible","valueSet":"http://terminology.hl7.org/ValueSet/v3-PurposeOfUse","bindingName":"AuditPurposeOfUse"},"array":true,"index":21}},"required":["requestor"]},"source":{"short":"Audit Event Reporter","type":"BackboneElement","index":22,"elements":{"site":{"short":"Logical source location within the enterprise","type":"string","index":23},"observer":{"short":"The identity of source detecting the event","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Device","http://hl7.org/fhir/StructureDefinition/Organization","http://hl7.org/fhir/StructureDefinition/Patient","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole","http://hl7.org/fhir/StructureDefinition/RelatedPerson"],"index":24},"type":{"short":"The type of source where event originated","type":"Coding","binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/ValueSet/audit-source-type","bindingName":"AuditEventSourceType"},"array":true,"index":25}},"required":["observer"]},"entity":{"short":"Data or objects used","type":"BackboneElement","constraint":{"sev-1":{"expression":"name.empty() or query.empty()","human":"Either a name or a query (NOT both)","severity":"error"}},"array":true,"index":26,"elements":{"what":{"short":"Specific instance of resource","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Resource"],"index":27},"type":{"short":"Type of entity involved","type":"Coding","binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/ValueSet/audit-entity-type","bindingName":"AuditEventEntityType"},"index":28},"role":{"short":"What role the entity played","type":"Coding","binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/ValueSet/object-role","bindingName":"AuditEventEntityRole"},"index":29},"lifecycle":{"short":"Life-cycle stage for the entity","type":"Coding","binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/ValueSet/object-lifecycle-events","bindingName":"AuditEventEntityLifecycle"},"index":30},"securityLabel":{"short":"Security labels on the entity","type":"Coding","binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/ValueSet/security-labels","bindingName":"SecurityLabels"},"array":true,"index":31},"name":{"short":"Descriptor for entity","type":"string","isSummary":true,"index":32},"description":{"short":"Descriptive text","type":"string","index":33},"query":{"short":"Query parameters","type":"base64Binary","isSummary":true,"index":34},"detail":{"short":"Additional Information about the entity","type":"BackboneElement","array":true,"index":35,"elements":{"type":{"short":"Name of the property","type":"string","index":36},"value":{"short":"Property value","choices":["valueString","valueBase64Binary"],"index":38},"valueString":{"short":"Property value","type":"string","choiceOf":"value","index":39},"valueBase64Binary":{"short":"Property value","type":"base64Binary","choiceOf":"value","index":40}},"required":["type","value"]}}}},"required":["agent","recorded","source","type"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"BackboneElement","type":"BackboneElement","kind":"complex-type","class":"complex-type","url":"http://hl7.org/fhir/StructureDefinition/BackboneElement","version":"4.0.1","description":"Base StructureDefinition for BackboneElement Type: Base definition for all elements that are defined inside a resource - but not those in a data type.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/Element","abstract":true,"elements":{"modifierExtension":{"short":"Extensions that cannot be ignored even if unrecognized","type":"Extension","isModifier":true,"isModifierReason":"Modifier extensions are expected to modify the meaning or interpretation of the element that contains them","isSummary":true,"array":true,"index":0}},"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"base64Binary","type":"base64Binary","kind":"primitive-type","class":"primitive-type","url":"http://hl7.org/fhir/StructureDefinition/base64Binary","version":"4.0.1","description":"Base StructureDefinition for base64Binary Type: A stream of bytes","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/Element","package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"Basic","type":"Basic","kind":"resource","class":"resource","url":"http://hl7.org/fhir/StructureDefinition/Basic","version":"4.0.1","description":"Basic is used for handling concepts not yet defined in FHIR, narrative-only resources that don't map to an existing resource, and custom resources not appropriate for inclusion in the FHIR specification.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/DomainResource","elements":{"identifier":{"short":"Business identifier","type":"Identifier","isSummary":true,"array":true,"index":0},"code":{"short":"Kind of Resource","type":"CodeableConcept","isModifier":true,"isModifierReason":"This element determines what kind of resource is being represented which drives the meaning of all of the other elements.","isSummary":true,"binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/basic-resource-type","bindingName":"BasicResourceType"},"index":1},"subject":{"short":"Identifies the focus of this resource","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Resource"],"index":2},"created":{"short":"When created","type":"date","isSummary":true,"index":3},"author":{"short":"Who created","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Organization","http://hl7.org/fhir/StructureDefinition/Patient","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole","http://hl7.org/fhir/StructureDefinition/RelatedPerson"],"index":4}},"required":["code"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"Binary","type":"Binary","kind":"resource","class":"resource","url":"http://hl7.org/fhir/StructureDefinition/Binary","version":"4.0.1","description":"A resource that represents the data of a single raw artifact as digital content accessible in its native format. A Binary resource can contain any content, whether text, image, pdf, zip archive, etc.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/Resource","elements":{"contentType":{"short":"MimeType of the binary content","type":"code","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/mimetypes|4.0.1","bindingName":"MimeType"},"index":0},"securityContext":{"short":"Identifies another resource to use as proxy when enforcing access control","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Resource"],"index":1},"data":{"short":"The actual content","type":"base64Binary","isSummary":false,"index":2}},"required":["contentType"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"BiologicallyDerivedProduct","type":"BiologicallyDerivedProduct","kind":"resource","class":"resource","url":"http://hl7.org/fhir/StructureDefinition/BiologicallyDerivedProduct","version":"4.0.1","description":"A material substance originating from a biological entity intended to be transplanted or infused\\ninto another (possibly the same) biological entity.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/DomainResource","elements":{"identifier":{"short":"External ids for this item","type":"Identifier","isSummary":true,"array":true,"index":0},"productCategory":{"short":"organ | tissue | fluid | cells | biologicalAgent","type":"code","binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/product-category|4.0.1","bindingName":"BiologicallyDerivedProductCategory"},"index":1},"productCode":{"short":"What this biologically derived product is","type":"CodeableConcept","index":2},"status":{"short":"available | unavailable","type":"code","binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/product-status|4.0.1","bindingName":"BiologicallyDerivedProductStatus"},"index":3},"request":{"short":"Procedure request","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/ServiceRequest"],"array":true,"index":4},"quantity":{"short":"The amount of this biologically derived product","type":"integer","index":5},"parent":{"short":"BiologicallyDerivedProduct parent","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/BiologicallyDerivedProduct"],"array":true,"index":6},"collection":{"short":"How this product was collected","type":"BackboneElement","index":7,"elements":{"collector":{"short":"Individual performing collection","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole"],"index":8},"source":{"short":"Who is product from","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Organization","http://hl7.org/fhir/StructureDefinition/Patient"],"index":9},"collected":{"short":"Time of product collection","choices":["collectedDateTime","collectedPeriod"],"index":11},"collectedDateTime":{"short":"Time of product collection","type":"dateTime","choiceOf":"collected","index":12},"collectedPeriod":{"short":"Time of product collection","type":"Period","choiceOf":"collected","index":13}}},"processing":{"short":"Any processing of the product during collection","type":"BackboneElement","array":true,"index":14,"elements":{"description":{"short":"Description of of processing","type":"string","index":15},"procedure":{"short":"Procesing code","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/procedure-code","bindingName":"BiologicallyDerivedProductProcedure"},"index":16},"additive":{"short":"Substance added during processing","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Substance"],"index":17},"time":{"short":"Time of processing","choices":["timeDateTime","timePeriod"],"index":19},"timeDateTime":{"short":"Time of processing","type":"dateTime","choiceOf":"time","index":20},"timePeriod":{"short":"Time of processing","type":"Period","choiceOf":"time","index":21}}},"manipulation":{"short":"Any manipulation of product post-collection","type":"BackboneElement","index":22,"elements":{"description":{"short":"Description of manipulation","type":"string","index":23},"time":{"short":"Time of manipulation","choices":["timeDateTime","timePeriod"],"index":25},"timeDateTime":{"short":"Time of manipulation","type":"dateTime","choiceOf":"time","index":26},"timePeriod":{"short":"Time of manipulation","type":"Period","choiceOf":"time","index":27}}},"storage":{"short":"Product storage","type":"BackboneElement","array":true,"index":28,"elements":{"description":{"short":"Description of storage","type":"string","index":29},"temperature":{"short":"Storage temperature","type":"decimal","index":30},"scale":{"short":"farenheit | celsius | kelvin","type":"code","binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/product-storage-scale|4.0.1","bindingName":"BiologicallyDerivedProductStorageScale"},"index":31},"duration":{"short":"Storage timeperiod","type":"Period","index":32}}}},"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"observation-bmi","type":"Observation","kind":"resource","class":"profile","url":"http://hl7.org/fhir/StructureDefinition/bmi","version":"4.0.1","description":"FHIR Body Mass Index (BMI) Profile","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/vitalsigns","elements":{"code":{"short":"Body Mass Index (BMI)","index":0,"elements":{"coding":{"index":1,"slicing":{"discriminator":[{"type":"value","path":"code"},{"type":"value","path":"system"}],"ordered":false,"rules":"open","slices":{"BMICode":{"match":{"code":"39156-5","system":"http://loinc.org"},"schema":{"_required":true,"index":2,"elements":{"system":{"type":"uri","pattern":{"type":"uri","value":"http://loinc.org"},"index":3},"code":{"type":"code","pattern":{"type":"code","value":"39156-5"},"index":4}},"required":["code","system"]},"min":1,"max":1}}}}}},"valueQuantity":{"index":5,"elements":{"value":{"type":"decimal","mustSupport":true,"index":6},"unit":{"type":"string","mustSupport":true,"index":7},"system":{"type":"uri","pattern":{"type":"uri","value":"http://unitsofmeasure.org"},"mustSupport":true,"index":8},"code":{"short":"Coded responses from the common UCUM units for vital signs value set.","type":"code","pattern":{"type":"code","value":"kg/m2"},"mustSupport":true,"index":9}},"required":["code","system","unit","value"]}},"required":["valueQuantity"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"observation-bodyheight","type":"Observation","kind":"resource","class":"profile","url":"http://hl7.org/fhir/StructureDefinition/bodyheight","version":"4.0.1","description":"FHIR Body Height Profile","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/vitalsigns","elements":{"code":{"short":"Body Height","index":0,"elements":{"coding":{"index":1,"slicing":{"discriminator":[{"type":"value","path":"code"},{"type":"value","path":"system"}],"ordered":false,"rules":"open","slices":{"BodyHeightCode":{"match":{"code":"8302-2","system":"http://loinc.org"},"schema":{"_required":true,"index":2,"elements":{"system":{"type":"uri","pattern":{"type":"uri","value":"http://loinc.org"},"index":3},"code":{"type":"code","pattern":{"type":"code","value":"8302-2"},"index":4}},"required":["code","system"]},"min":1,"max":1}}}}}},"valueQuantity":{"index":5,"elements":{"value":{"type":"decimal","mustSupport":true,"index":6},"unit":{"type":"string","mustSupport":true,"index":7},"system":{"type":"uri","pattern":{"type":"uri","value":"http://unitsofmeasure.org"},"mustSupport":true,"index":8},"code":{"short":"Coded responses from the common UCUM units for vital signs value set.","type":"code","mustSupport":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/ucum-bodylength|4.0.1","bindingName":"BodyLengthUnits"},"index":9}},"required":["code","system","unit","value"]}},"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"BodyStructure Reference","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/bodySite","version":"4.0.1","description":"Record details about the anatomical location of a specimen or body part. This resource may be used when a coded concept does not provide the necessary detail needed for the use case.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/bodySite"},"type":"uri","index":1},"value":{"choices":["valueReference"],"index":3},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/BodyStructure"],"index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"observation-bmi","type":"Observation","kind":"resource","class":"profile","url":"http://hl7.org/fhir/StructureDefinition/bmi","version":"4.0.1","description":"FHIR Body Mass Index (BMI) Profile","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/vitalsigns","elements":{"code":{"short":"Body Mass Index (BMI)","index":0,"elements":{"coding":{"index":1,"slicing":{"discriminator":[{"type":"value","path":"code"},{"type":"value","path":"system"}],"ordered":false,"rules":"open","slices":{"BMICode":{"match":{"code":"39156-5","system":"http://loinc.org"},"schema":{"_required":true,"index":2,"elements":{"system":{"type":"uri","fixed":{"type":"uri","value":"http://loinc.org"},"index":3},"code":{"type":"code","fixed":{"type":"code","value":"39156-5"},"index":4}},"required":["code","system"]},"min":1,"max":1}}}}}},"valueQuantity":{"index":5,"elements":{"value":{"type":"decimal","mustSupport":true,"index":6},"unit":{"type":"string","mustSupport":true,"index":7},"system":{"type":"uri","fixed":{"type":"uri","value":"http://unitsofmeasure.org"},"mustSupport":true,"index":8},"code":{"short":"Coded responses from the common UCUM units for vital signs value set.","type":"code","fixed":{"type":"code","value":"kg/m2"},"mustSupport":true,"index":9}},"required":["code","system","unit","value"]}},"required":["valueQuantity"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"observation-bodyheight","type":"Observation","kind":"resource","class":"profile","url":"http://hl7.org/fhir/StructureDefinition/bodyheight","version":"4.0.1","description":"FHIR Body Height Profile","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/vitalsigns","elements":{"code":{"short":"Body Height","index":0,"elements":{"coding":{"index":1,"slicing":{"discriminator":[{"type":"value","path":"code"},{"type":"value","path":"system"}],"ordered":false,"rules":"open","slices":{"BodyHeightCode":{"match":{"code":"8302-2","system":"http://loinc.org"},"schema":{"_required":true,"index":2,"elements":{"system":{"type":"uri","fixed":{"type":"uri","value":"http://loinc.org"},"index":3},"code":{"type":"code","fixed":{"type":"code","value":"8302-2"},"index":4}},"required":["code","system"]},"min":1,"max":1}}}}}},"valueQuantity":{"index":5,"elements":{"value":{"type":"decimal","mustSupport":true,"index":6},"unit":{"type":"string","mustSupport":true,"index":7},"system":{"type":"uri","fixed":{"type":"uri","value":"http://unitsofmeasure.org"},"mustSupport":true,"index":8},"code":{"short":"Coded responses from the common UCUM units for vital signs value set.","type":"code","mustSupport":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/ucum-bodylength|4.0.1","bindingName":"BodyLengthUnits"},"index":9}},"required":["code","system","unit","value"]}},"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"BodyStructure Reference","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/bodySite","version":"4.0.1","description":"Record details about the anatomical location of a specimen or body part. This resource may be used when a coded concept does not provide the necessary detail needed for the use case.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/bodySite"},"index":1},"value":{"choices":["valueReference"],"index":3},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/BodyStructure"],"index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"BodyStructure","type":"BodyStructure","kind":"resource","class":"resource","url":"http://hl7.org/fhir/StructureDefinition/BodyStructure","version":"4.0.1","description":"Record details about an anatomical structure. This resource may be used when a coded concept does not provide the necessary detail needed for the use case.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/DomainResource","elements":{"identifier":{"short":"Bodystructure identifier","type":"Identifier","isSummary":true,"array":true,"index":0},"active":{"short":"Whether this record is in active use","type":"boolean","meaningWhenMissing":"This resource is generally assumed to be active if no value is provided for the active element","isModifier":true,"isModifierReason":"This element is labelled as a modifier because it is a status element that can indicate that a record should not be treated as valid","isSummary":true,"index":1},"morphology":{"short":"Kind of Structure","type":"CodeableConcept","isSummary":true,"binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/bodystructure-code","bindingName":"BodyStructureCode"},"index":2},"location":{"short":"Body site","type":"CodeableConcept","isSummary":true,"binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/body-site","bindingName":"BodySite"},"index":3},"locationQualifier":{"short":"Body site modifier","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/bodystructure-relative-location","bindingName":"BodyStructureQualifier"},"array":true,"index":4},"description":{"short":"Text description","type":"string","isSummary":true,"index":5},"image":{"short":"Attached images","type":"Attachment","array":true,"index":6},"patient":{"short":"Who this is about","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Patient"],"index":7}},"required":["patient"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"observation-bodytemp","type":"Observation","kind":"resource","class":"profile","url":"http://hl7.org/fhir/StructureDefinition/bodytemp","version":"4.0.1","description":"FHIR Body Temperature Profile","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/vitalsigns","elements":{"code":{"short":"Body Temperature","index":0,"elements":{"coding":{"index":1,"slicing":{"discriminator":[{"type":"value","path":"code"},{"type":"value","path":"system"}],"ordered":false,"rules":"open","slices":{"BodyTempCode":{"match":{"code":"8310-5","system":"http://loinc.org"},"schema":{"_required":true,"index":2,"elements":{"system":{"type":"uri","pattern":{"type":"uri","value":"http://loinc.org"},"index":3},"code":{"type":"code","pattern":{"type":"code","value":"8310-5"},"index":4}},"required":["code","system"]},"min":1,"max":1}}}}}},"valueQuantity":{"index":5,"elements":{"value":{"type":"decimal","mustSupport":true,"index":6},"unit":{"type":"string","mustSupport":true,"index":7},"system":{"type":"uri","pattern":{"type":"uri","value":"http://unitsofmeasure.org"},"mustSupport":true,"index":8},"code":{"short":"Coded responses from the common UCUM units for vital signs value set.","type":"code","mustSupport":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/ucum-bodytemp|4.0.1","bindingName":"BodyTempUnits"},"index":9}},"required":["code","system","unit","value"]}},"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"observation-bodyweight","type":"Observation","kind":"resource","class":"profile","url":"http://hl7.org/fhir/StructureDefinition/bodyweight","version":"4.0.1","description":"FHIR Body Weight Profile","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/vitalsigns","elements":{"code":{"short":"Body Weight","index":0,"elements":{"coding":{"index":1,"slicing":{"discriminator":[{"type":"value","path":"code"},{"type":"value","path":"system"}],"ordered":false,"rules":"open","slices":{"BodyWeightCode":{"match":{"code":"29463-7","system":"http://loinc.org"},"schema":{"_required":true,"index":2,"elements":{"system":{"type":"uri","pattern":{"type":"uri","value":"http://loinc.org"},"index":3},"code":{"type":"code","pattern":{"type":"code","value":"29463-7"},"index":4}},"required":["code","system"]},"min":1,"max":1}}}}}},"valueQuantity":{"index":5,"elements":{"value":{"type":"decimal","mustSupport":true,"index":6},"unit":{"type":"string","mustSupport":true,"index":7},"system":{"type":"uri","pattern":{"type":"uri","value":"http://unitsofmeasure.org"},"mustSupport":true,"index":8},"code":{"short":"Coded responses from the common UCUM units for vital signs value set.","type":"code","mustSupport":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/ucum-bodyweight|4.0.1","bindingName":"BodyWeightUnits"},"index":9}},"required":["code","system","unit","value"]}},"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"observation-bodytemp","type":"Observation","kind":"resource","class":"profile","url":"http://hl7.org/fhir/StructureDefinition/bodytemp","version":"4.0.1","description":"FHIR Body Temperature Profile","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/vitalsigns","elements":{"code":{"short":"Body Temperature","index":0,"elements":{"coding":{"index":1,"slicing":{"discriminator":[{"type":"value","path":"code"},{"type":"value","path":"system"}],"ordered":false,"rules":"open","slices":{"BodyTempCode":{"match":{"code":"8310-5","system":"http://loinc.org"},"schema":{"_required":true,"index":2,"elements":{"system":{"type":"uri","fixed":{"type":"uri","value":"http://loinc.org"},"index":3},"code":{"type":"code","fixed":{"type":"code","value":"8310-5"},"index":4}},"required":["code","system"]},"min":1,"max":1}}}}}},"valueQuantity":{"index":5,"elements":{"value":{"type":"decimal","mustSupport":true,"index":6},"unit":{"type":"string","mustSupport":true,"index":7},"system":{"type":"uri","fixed":{"type":"uri","value":"http://unitsofmeasure.org"},"mustSupport":true,"index":8},"code":{"short":"Coded responses from the common UCUM units for vital signs value set.","type":"code","mustSupport":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/ucum-bodytemp|4.0.1","bindingName":"BodyTempUnits"},"index":9}},"required":["code","system","unit","value"]}},"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"observation-bodyweight","type":"Observation","kind":"resource","class":"profile","url":"http://hl7.org/fhir/StructureDefinition/bodyweight","version":"4.0.1","description":"FHIR Body Weight Profile","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/vitalsigns","elements":{"code":{"short":"Body Weight","index":0,"elements":{"coding":{"index":1,"slicing":{"discriminator":[{"type":"value","path":"code"},{"type":"value","path":"system"}],"ordered":false,"rules":"open","slices":{"BodyWeightCode":{"match":{"code":"29463-7","system":"http://loinc.org"},"schema":{"_required":true,"index":2,"elements":{"system":{"type":"uri","fixed":{"type":"uri","value":"http://loinc.org"},"index":3},"code":{"type":"code","fixed":{"type":"code","value":"29463-7"},"index":4}},"required":["code","system"]},"min":1,"max":1}}}}}},"valueQuantity":{"index":5,"elements":{"value":{"type":"decimal","mustSupport":true,"index":6},"unit":{"type":"string","mustSupport":true,"index":7},"system":{"type":"uri","fixed":{"type":"uri","value":"http://unitsofmeasure.org"},"mustSupport":true,"index":8},"code":{"short":"Coded responses from the common UCUM units for vital signs value set.","type":"code","mustSupport":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/ucum-bodyweight|4.0.1","bindingName":"BodyWeightUnits"},"index":9}},"required":["code","system","unit","value"]}},"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"boolean","type":"boolean","kind":"primitive-type","class":"primitive-type","url":"http://hl7.org/fhir/StructureDefinition/boolean","version":"4.0.1","description":"Base StructureDefinition for boolean Type: Value of \\"true\\" or \\"false\\"","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/Element","package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"observation-bp","type":"Observation","kind":"resource","class":"profile","url":"http://hl7.org/fhir/StructureDefinition/bp","version":"4.0.1","description":"FHIR Blood Pressure Profile","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/vitalsigns","elements":{"code":{"short":"Blood Pressure","index":0,"elements":{"coding":{"index":1,"slicing":{"discriminator":[{"type":"value","path":"code"},{"type":"value","path":"system"}],"ordered":false,"rules":"open","slices":{"BPCode":{"match":{"code":"85354-9","system":"http://loinc.org"},"schema":{"_required":true,"index":2,"elements":{"system":{"type":"uri","pattern":{"type":"uri","value":"http://loinc.org"},"index":3},"code":{"type":"code","pattern":{"type":"code","value":"85354-9"},"index":4}},"required":["code","system"]},"min":1,"max":1}}}}}},"valueQuantity":{"index":5},"component":{"array":true,"min":2,"index":6,"slicing":{"discriminator":[{"type":"value","path":"code.coding.code"},{"type":"value","path":"code.coding.system"}],"ordered":false,"rules":"open","min":2,"slices":{"SystolicBP":{"match":{},"schema":{"_required":true,"index":7,"elements":{"code":{"index":8,"elements":{"coding":{"short":"Systolic Blood Pressure","index":9,"slicing":{"discriminator":[{"type":"value","path":"code"},{"type":"value","path":"system"}],"ordered":false,"rules":"open","slices":{"SBPCode":{"match":{"code":"8480-6","system":"http://loinc.org"},"schema":{"short":"Systolic Blood Pressure","_required":true,"index":10,"elements":{"system":{"type":"uri","pattern":{"type":"uri","value":"http://loinc.org"},"index":11},"code":{"type":"code","pattern":{"type":"code","value":"8480-6"},"index":12}},"required":["code","system"]},"min":1,"max":1}}}}}},"valueQuantity":{"type":"Quantity","index":13,"elements":{"value":{"type":"decimal","mustSupport":true,"index":14},"unit":{"type":"string","mustSupport":true,"index":15},"system":{"type":"uri","pattern":{"type":"uri","value":"http://unitsofmeasure.org"},"mustSupport":true,"index":16},"code":{"short":"Coded responses from the common UCUM units for vital signs value set.","type":"code","pattern":{"type":"code","value":"mm[Hg]"},"mustSupport":true,"index":17}},"required":["code","system","unit","value"]}}},"min":1,"max":1},"DiastolicBP":{"match":{},"schema":{"_required":true,"index":18,"elements":{"code":{"index":19,"elements":{"coding":{"short":"Diastolic Blood Pressure","index":20,"slicing":{"discriminator":[{"type":"value","path":"code"},{"type":"value","path":"system"}],"ordered":false,"rules":"open","slices":{"DBPCode":{"match":{"code":"8462-4","system":"http://loinc.org"},"schema":{"short":"Diastolic Blood Pressure","_required":true,"index":21,"elements":{"system":{"type":"uri","pattern":{"type":"uri","value":"http://loinc.org"},"index":22},"code":{"type":"code","pattern":{"type":"code","value":"8462-4"},"index":23}},"required":["code","system"]},"min":1,"max":1}}}}}},"valueQuantity":{"type":"Quantity","index":24,"elements":{"value":{"type":"decimal","mustSupport":true,"index":25},"unit":{"type":"string","mustSupport":true,"index":26},"system":{"type":"uri","pattern":{"type":"uri","value":"http://unitsofmeasure.org"},"mustSupport":true,"index":27},"code":{"short":"Coded responses from the common UCUM units for vital signs value set.","type":"code","pattern":{"type":"code","value":"mm[Hg]"},"mustSupport":true,"index":28}},"required":["code","system","unit","value"]}}},"min":1,"max":1}}}}},"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"observation-bp","type":"Observation","kind":"resource","class":"profile","url":"http://hl7.org/fhir/StructureDefinition/bp","version":"4.0.1","description":"FHIR Blood Pressure Profile","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/vitalsigns","elements":{"code":{"short":"Blood Pressure","index":0,"elements":{"coding":{"index":1,"slicing":{"discriminator":[{"type":"value","path":"code"},{"type":"value","path":"system"}],"ordered":false,"rules":"open","slices":{"BPCode":{"match":{"code":"85354-9","system":"http://loinc.org"},"schema":{"_required":true,"index":2,"elements":{"system":{"type":"uri","fixed":{"type":"uri","value":"http://loinc.org"},"index":3},"code":{"type":"code","fixed":{"type":"code","value":"85354-9"},"index":4}},"required":["code","system"]},"min":1,"max":1}}}}}},"valueQuantity":{"index":5},"component":{"array":true,"min":2,"index":6,"slicing":{"discriminator":[{"type":"value","path":"code.coding.code"},{"type":"value","path":"code.coding.system"}],"ordered":false,"rules":"open","min":2,"slices":{"SystolicBP":{"match":{},"schema":{"_required":true,"index":7,"elements":{"code":{"index":8,"elements":{"coding":{"short":"Systolic Blood Pressure","index":9,"slicing":{"discriminator":[{"type":"value","path":"code"},{"type":"value","path":"system"}],"ordered":false,"rules":"open","slices":{"SBPCode":{"match":{"code":"8480-6","system":"http://loinc.org"},"schema":{"short":"Systolic Blood Pressure","_required":true,"index":10,"elements":{"system":{"type":"uri","fixed":{"type":"uri","value":"http://loinc.org"},"index":11},"code":{"type":"code","fixed":{"type":"code","value":"8480-6"},"index":12}},"required":["code","system"]},"min":1,"max":1}}}}}},"valueQuantity":{"type":"Quantity","index":13,"elements":{"value":{"type":"decimal","mustSupport":true,"index":14},"unit":{"type":"string","mustSupport":true,"index":15},"system":{"type":"uri","fixed":{"type":"uri","value":"http://unitsofmeasure.org"},"mustSupport":true,"index":16},"code":{"short":"Coded responses from the common UCUM units for vital signs value set.","type":"code","fixed":{"type":"code","value":"mm[Hg]"},"mustSupport":true,"index":17}},"required":["code","system","unit","value"]}}},"min":1,"max":1},"DiastolicBP":{"match":{},"schema":{"_required":true,"index":18,"elements":{"code":{"index":19,"elements":{"coding":{"short":"Diastolic Blood Pressure","index":20,"slicing":{"discriminator":[{"type":"value","path":"code"},{"type":"value","path":"system"}],"ordered":false,"rules":"open","slices":{"DBPCode":{"match":{"code":"8462-4","system":"http://loinc.org"},"schema":{"short":"Diastolic Blood Pressure","_required":true,"index":21,"elements":{"system":{"type":"uri","fixed":{"type":"uri","value":"http://loinc.org"},"index":22},"code":{"type":"code","fixed":{"type":"code","value":"8462-4"},"index":23}},"required":["code","system"]},"min":1,"max":1}}}}}},"valueQuantity":{"type":"Quantity","index":24,"elements":{"value":{"type":"decimal","mustSupport":true,"index":25},"unit":{"type":"string","mustSupport":true,"index":26},"system":{"type":"uri","fixed":{"type":"uri","value":"http://unitsofmeasure.org"},"mustSupport":true,"index":27},"code":{"short":"Coded responses from the common UCUM units for vital signs value set.","type":"code","fixed":{"type":"code","value":"mm[Hg]"},"mustSupport":true,"index":28}},"required":["code","system","unit","value"]}}},"min":1,"max":1}}}}},"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"Bundle","type":"Bundle","kind":"resource","class":"resource","url":"http://hl7.org/fhir/StructureDefinition/Bundle","version":"4.0.1","description":"A container for a collection of resources.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/Resource","elements":{"identifier":{"short":"Persistent identifier for the bundle","type":"Identifier","isSummary":true,"index":0},"type":{"short":"document | message | transaction | transaction-response | batch | batch-response | history | searchset | collection","type":"code","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/bundle-type|4.0.1","bindingName":"BundleType"},"index":1},"timestamp":{"short":"When the bundle was assembled","type":"instant","isSummary":true,"index":2},"total":{"short":"If search, the total number of matches","type":"unsignedInt","isSummary":true,"index":3},"link":{"short":"Links related to this Bundle","type":"BackboneElement","isSummary":true,"array":true,"index":4,"elements":{"relation":{"short":"See http://www.iana.org/assignments/link-relations/link-relations.xhtml#link-relations-1","type":"string","isSummary":true,"index":5},"url":{"short":"Reference details for the link","type":"uri","isSummary":true,"index":6}},"required":["relation","url"]},"entry":{"short":"Entry in the bundle - will have a resource or information","type":"BackboneElement","orderMeaning":"For bundles of type 'document' and 'message', the first resource is special (must be Composition or MessageHeader respectively). For all bundles, the meaning of the order of entries depends on the bundle type","constraint":{"bdl-8":{"expression":"fullUrl.contains('/_history/').not()","human":"fullUrl cannot be a version specific reference","severity":"error"},"bdl-5":{"expression":"resource.exists() or request.exists() or response.exists()","human":"must be a resource unless there's a request or response","severity":"error"}},"isSummary":true,"array":true,"index":7,"elements":{"link":{"short":"Links related to this entry","isSummary":true,"elementReference":["http://hl7.org/fhir/StructureDefinition/Bundle","elements","link"],"array":true,"index":8},"fullUrl":{"short":"URI for resource (Absolute URL server address or URI for UUID/OID)","type":"uri","isSummary":true,"index":9},"resource":{"short":"A resource in the bundle","type":"Resource","isSummary":true,"index":10},"search":{"short":"Search related information","type":"BackboneElement","isSummary":true,"index":11,"elements":{"mode":{"short":"match | include | outcome - why this is in the result set","type":"code","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/search-entry-mode|4.0.1","bindingName":"SearchEntryMode"},"index":12},"score":{"short":"Search ranking (between 0 and 1)","type":"decimal","isSummary":true,"index":13}}},"request":{"short":"Additional execution information (transaction/batch/history)","type":"BackboneElement","isSummary":true,"index":14,"elements":{"method":{"short":"GET | HEAD | POST | PUT | DELETE | PATCH","type":"code","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/http-verb|4.0.1","bindingName":"HTTPVerb"},"index":15},"url":{"short":"URL for HTTP equivalent of this entry","type":"uri","isSummary":true,"index":16},"ifNoneMatch":{"short":"For managing cache currency","type":"string","isSummary":true,"index":17},"ifModifiedSince":{"short":"For managing cache currency","type":"instant","isSummary":true,"index":18},"ifMatch":{"short":"For managing update contention","type":"string","isSummary":true,"index":19},"ifNoneExist":{"short":"For conditional creates","type":"string","isSummary":true,"index":20}},"required":["method","url"]},"response":{"short":"Results of execution (transaction/batch/history)","type":"BackboneElement","isSummary":true,"index":21,"elements":{"status":{"short":"Status response code (text optional)","type":"string","isSummary":true,"index":22},"location":{"short":"The location (if the operation returns a location)","type":"uri","isSummary":true,"index":23},"etag":{"short":"The Etag for the resource (if relevant)","type":"string","isSummary":true,"index":24},"lastModified":{"short":"Server's date time modified","type":"instant","isSummary":true,"index":25},"outcome":{"short":"OperationOutcome with hints and warnings (for batch/transaction)","type":"Resource","isSummary":true,"index":26}},"required":["status"]}}},"signature":{"short":"Digital Signature","type":"Signature","isSummary":true,"index":27}},"required":["type"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"canonical","type":"canonical","kind":"primitive-type","class":"primitive-type","url":"http://hl7.org/fhir/StructureDefinition/canonical","version":"4.0.1","description":"Base StructureDefinition for canonical type: A URI that is a reference to a canonical URL on a FHIR resource","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/uri","package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"capabilities","type":"Extension","kind":"complex-type","class":"extension","url":"http://fhir-registry.smarthealthit.org/StructureDefinition/capabilities","version":"4.0.1","description":"A set of codes that defines what the server is capable of.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://fhir-registry.smarthealthit.org/StructureDefinition/capabilities"},"type":"uri","index":1},"value":{"choices":["valueCode"],"index":3},"valueCode":{"type":"code","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"expectation","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","version":"4.0.1","description":"Defines the level of expectation associated with a given system capability.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"},"type":"uri","index":1},"value":{"choices":["valueCode"],"index":3},"valueCode":{"type":"code","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"prohibited","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-prohibited","version":"4.0.1","description":"If set to true, indicates that support for the specified behavior would make a system non-conformant with the specification.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-prohibited"},"type":"uri","index":1},"value":{"choices":["valueBoolean"],"index":3},"valueBoolean":{"type":"boolean","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"search-parameter-combination","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination","version":"4.0.1","description":"This extension defines a possible search parameter combination, by listing a set of search parameters and indicating whether they are required or optional. If a search combination is specified, clients should expect that they must submit a search that meets one of the required combinations or the search will be unsuccessful. If multiple search parameter combinations are specified, a client may pick between them, and supply the minimal required parameters for any of the combinations.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{"required":{"min":1,"short":"A required search parameter name","isModifier":false,"array":true,"_required":true,"index":0,"extensions":{},"required":["value"]},"optional":{"short":"An optional search parameter name","isModifier":false,"array":true,"index":6,"extensions":{},"required":["value"]}},"elements":{"extension":{"short":"A required search parameter name","type":"Extension","isModifier":false,"array":true,"min":1,"index":0,"slicing":{"slices":{"required":{"match":{},"schema":{"short":"A required search parameter name","type":"Extension","isModifier":false,"array":true,"min":1,"_required":true,"index":0,"extensions":"[Circular Reference]","elements":{"extension":{"index":1},"url":{"type":"uri","pattern":{"type":"uri","value":"required"},"index":2},"value":{"choices":["valueString"],"index":4},"valueString":{"type":"string","choiceOf":"value","index":5}},"required":["value"]},"min":1},"optional":{"match":{},"schema":{"short":"An optional search parameter name","type":"Extension","isModifier":false,"array":true,"index":6,"extensions":"[Circular Reference]","elements":{"extension":{"index":7},"url":{"type":"uri","pattern":{"type":"uri","value":"optional"},"index":8},"value":{"choices":["valueString"],"index":10},"valueString":{"type":"string","choiceOf":"value","index":11}},"required":["value"]}}}}},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination"},"type":"uri","index":12}},"required":["extension"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"supported-system","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-supported-system","version":"4.0.1","description":"A code system that is supported by the system that is not defined in a value set resource.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-supported-system"},"type":"uri","index":1},"value":{"choices":["valueUri"],"index":3},"valueUri":{"type":"uri","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"websocket","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-websocket","version":"4.0.1","description":"Where the server provides its web socket end-point.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-websocket"},"type":"uri","index":1},"value":{"choices":["valueUri"],"index":3},"valueUri":{"type":"uri","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"capabilities","type":"Extension","kind":"complex-type","class":"extension","url":"http://fhir-registry.smarthealthit.org/StructureDefinition/capabilities","version":"4.0.1","description":"A set of codes that defines what the server is capable of.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://fhir-registry.smarthealthit.org/StructureDefinition/capabilities"},"index":1},"value":{"choices":["valueCode"],"index":3},"valueCode":{"type":"code","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"expectation","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation","version":"4.0.1","description":"Defines the level of expectation associated with a given system capability.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-expectation"},"index":1},"value":{"choices":["valueCode"],"index":3},"valueCode":{"type":"code","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"prohibited","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-prohibited","version":"4.0.1","description":"If set to true, indicates that support for the specified behavior would make a system non-conformant with the specification.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-prohibited"},"index":1},"value":{"choices":["valueBoolean"],"index":3},"valueBoolean":{"type":"boolean","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"search-parameter-combination","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination","version":"4.0.1","description":"This extension defines a possible search parameter combination, by listing a set of search parameters and indicating whether they are required or optional. If a search combination is specified, clients should expect that they must submit a search that meets one of the required combinations or the search will be unsuccessful. If multiple search parameter combinations are specified, a client may pick between them, and supply the minimal required parameters for any of the combinations.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{"required":{"min":1,"short":"A required search parameter name","isModifier":false,"array":true,"_required":true,"index":0,"extensions":{},"required":["value"]},"optional":{"short":"An optional search parameter name","isModifier":false,"array":true,"index":6,"extensions":{},"required":["value"]}},"elements":{"extension":{"short":"A required search parameter name","type":"Extension","isModifier":false,"array":true,"min":1,"index":0,"slicing":{"slices":{"required":{"match":{},"schema":{"short":"A required search parameter name","type":"Extension","isModifier":false,"array":true,"min":1,"_required":true,"index":0,"extensions":"[Circular Reference]","elements":{"extension":{"index":1},"url":{"type":"uri","fixed":{"type":"uri","value":"required"},"index":2},"value":{"choices":["valueString"],"index":4},"valueString":{"type":"string","choiceOf":"value","index":5}},"required":["value"]},"min":1},"optional":{"match":{},"schema":{"short":"An optional search parameter name","type":"Extension","isModifier":false,"array":true,"index":6,"extensions":"[Circular Reference]","elements":{"extension":{"index":7},"url":{"type":"uri","fixed":{"type":"uri","value":"optional"},"index":8},"value":{"choices":["valueString"],"index":10},"valueString":{"type":"string","choiceOf":"value","index":11}},"required":["value"]}}}}},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-search-parameter-combination"},"index":12}},"required":["extension"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"supported-system","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-supported-system","version":"4.0.1","description":"A code system that is supported by the system that is not defined in a value set resource.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-supported-system"},"index":1},"value":{"choices":["valueUri"],"index":3},"valueUri":{"type":"uri","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"websocket","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-websocket","version":"4.0.1","description":"Where the server provides its web socket end-point.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/capabilitystatement-websocket"},"index":1},"value":{"choices":["valueUri"],"index":3},"valueUri":{"type":"uri","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"CapabilityStatement","type":"CapabilityStatement","kind":"resource","class":"resource","url":"http://hl7.org/fhir/StructureDefinition/CapabilityStatement","version":"4.0.1","description":"A Capability Statement documents a set of capabilities (behaviors) of a FHIR Server for a particular version of FHIR that may be used as a statement of actual server functionality or a statement of required or desired server implementation.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/DomainResource","elements":{"url":{"short":"Canonical identifier for this capability statement, represented as a URI (globally unique)","type":"uri","isSummary":true,"index":0},"version":{"short":"Business version of the capability statement","type":"string","isSummary":true,"index":1},"name":{"short":"Name for this capability statement (computer friendly)","type":"string","isSummary":true,"index":2},"title":{"short":"Name for this capability statement (human friendly)","type":"string","isSummary":true,"index":3},"status":{"short":"draft | active | retired | unknown","type":"code","isModifier":true,"isModifierReason":"This is labeled as \\"Is Modifier\\" because applications should not use a retired {{title}} without due consideration","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/publication-status|4.0.1","bindingName":"PublicationStatus"},"index":4},"experimental":{"short":"For testing purposes, not real usage","type":"boolean","isSummary":true,"index":5},"date":{"short":"Date last changed","type":"dateTime","isSummary":true,"index":6},"publisher":{"short":"Name of the publisher (organization or individual)","type":"string","isSummary":true,"index":7},"contact":{"short":"Contact details for the publisher","type":"ContactDetail","isSummary":true,"array":true,"index":8},"description":{"short":"Natural language description of the capability statement","type":"markdown","index":9},"useContext":{"short":"The context that the content is intended to support","type":"UsageContext","isSummary":true,"array":true,"index":10},"jurisdiction":{"short":"Intended jurisdiction for capability statement (if applicable)","type":"CodeableConcept","isSummary":true,"binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/ValueSet/jurisdiction","bindingName":"Jurisdiction"},"array":true,"index":11},"purpose":{"short":"Why this capability statement is defined","type":"markdown","index":12},"copyright":{"short":"Use and/or publishing restrictions","type":"markdown","index":13},"kind":{"short":"instance | capability | requirements","type":"code","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/capability-statement-kind|4.0.1","bindingName":"CapabilityStatementKind"},"index":14},"instantiates":{"short":"Canonical URL of another capability statement this implements","type":"canonical","isSummary":true,"array":true,"index":15},"imports":{"short":"Canonical URL of another capability statement this adds to","type":"canonical","isSummary":true,"array":true,"index":16},"software":{"short":"Software that is covered by this capability statement","type":"BackboneElement","isSummary":true,"index":17,"elements":{"name":{"short":"A name the software is known by","type":"string","isSummary":true,"index":18},"version":{"short":"Version covered by this statement","type":"string","isSummary":true,"index":19},"releaseDate":{"short":"Date this version was released","type":"dateTime","isSummary":true,"index":20}},"required":["name"]},"implementation":{"short":"If this describes a specific instance","type":"BackboneElement","isSummary":true,"index":21,"elements":{"description":{"short":"Describes this specific instance","type":"string","isSummary":true,"index":22},"url":{"short":"Base URL for the installation","type":"url","isSummary":true,"index":23},"custodian":{"short":"Organization that manages the data","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Organization"],"index":24}},"required":["description"]},"fhirVersion":{"short":"FHIR Version the system supports","type":"code","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/FHIR-version|4.0.1","bindingName":"FHIRVersion"},"index":25},"format":{"short":"formats supported (xml | json | ttl | mime type)","type":"code","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/mimetypes|4.0.1","bindingName":"MimeType"},"array":true,"min":1,"index":26},"patchFormat":{"short":"Patch formats supported","type":"code","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/mimetypes|4.0.1","bindingName":"MimeType"},"array":true,"index":27},"implementationGuide":{"short":"Implementation guides supported","type":"canonical","isSummary":true,"array":true,"index":28},"rest":{"short":"If the endpoint is a RESTful one","type":"BackboneElement","constraint":{"cpb-9":{"expression":"resource.select(type).isDistinct()","human":"A given resource can only be described once per RESTful mode.","severity":"error"}},"isSummary":true,"array":true,"index":29,"elements":{"mode":{"short":"client | server","type":"code","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/restful-capability-mode|4.0.1","bindingName":"RestfulCapabilityMode"},"index":30},"documentation":{"short":"General description of implementation","type":"markdown","index":31},"security":{"short":"Information about security of implementation","type":"BackboneElement","isSummary":true,"index":32,"elements":{"cors":{"short":"Adds CORS Headers (http://enable-cors.org/)","type":"boolean","isSummary":true,"index":33},"service":{"short":"OAuth | SMART-on-FHIR | NTLM | Basic | Kerberos | Certificates","type":"CodeableConcept","isSummary":true,"binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/ValueSet/restful-security-service","bindingName":"RestfulSecurityService"},"array":true,"index":34},"description":{"short":"General description of how security works","type":"markdown","index":35}}},"resource":{"short":"Resource served on the REST interface","type":"BackboneElement","constraint":{"cpb-12":{"expression":"searchParam.select(name).isDistinct()","human":"Search parameter names must be unique in the context of a resource.","severity":"error"}},"isSummary":true,"array":true,"index":36,"elements":{"type":{"short":"A resource type that is supported","type":"code","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/resource-types|4.0.1","bindingName":"ResourceType"},"index":37},"profile":{"short":"Base System profile for all uses of resource","type":"canonical","isSummary":true,"index":38},"supportedProfile":{"short":"Profiles for use cases supported","type":"canonical","isSummary":true,"array":true,"index":39},"documentation":{"short":"Additional information about the use of the resource type","type":"markdown","index":40},"interaction":{"short":"What operations are supported?","type":"BackboneElement","array":true,"index":41,"elements":{"code":{"short":"read | vread | update | patch | delete | history-instance | history-type | create | search-type","type":"code","binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/type-restful-interaction|4.0.1","bindingName":"TypeRestfulInteraction"},"index":42},"documentation":{"short":"Anything special about operation behavior","type":"markdown","index":43}},"required":["code"]},"versioning":{"short":"no-version | versioned | versioned-update","type":"code","binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/versioning-policy|4.0.1","bindingName":"ResourceVersionPolicy"},"index":44},"readHistory":{"short":"Whether vRead can return past versions","type":"boolean","index":45},"updateCreate":{"short":"If update can commit to a new identity","type":"boolean","index":46},"conditionalCreate":{"short":"If allows/uses conditional create","type":"boolean","index":47},"conditionalRead":{"short":"not-supported | modified-since | not-match | full-support","type":"code","binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/conditional-read-status|4.0.1","bindingName":"ConditionalReadStatus"},"index":48},"conditionalUpdate":{"short":"If allows/uses conditional update","type":"boolean","index":49},"conditionalDelete":{"short":"not-supported | single | multiple - how conditional delete is supported","type":"code","binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/conditional-delete-status|4.0.1","bindingName":"ConditionalDeleteStatus"},"index":50},"referencePolicy":{"short":"literal | logical | resolves | enforced | local","type":"code","binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/reference-handling-policy|4.0.1","bindingName":"ReferenceHandlingPolicy"},"array":true,"index":51},"searchInclude":{"short":"_include values supported by the server","type":"string","array":true,"index":52},"searchRevInclude":{"short":"_revinclude values supported by the server","type":"string","array":true,"index":53},"searchParam":{"short":"Search parameters supported by implementation","type":"BackboneElement","array":true,"index":54,"elements":{"name":{"short":"Name of search parameter","type":"string","index":55},"definition":{"short":"Source of definition for parameter","type":"canonical","index":56},"type":{"short":"number | date | string | token | reference | composite | quantity | uri | special","type":"code","binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/search-param-type|4.0.1","bindingName":"SearchParamType"},"index":57},"documentation":{"short":"Server-specific usage","type":"markdown","index":58}},"required":["name","type"]},"operation":{"short":"Definition of a resource operation","type":"BackboneElement","isSummary":true,"array":true,"index":59,"elements":{"name":{"short":"Name by which the operation/query is invoked","type":"string","isSummary":true,"index":60},"definition":{"short":"The defined operation/query","type":"canonical","isSummary":true,"index":61},"documentation":{"short":"Specific details about operation behavior","type":"markdown","index":62}},"required":["definition","name"]}},"required":["type"]},"interaction":{"short":"What operations are supported?","type":"BackboneElement","array":true,"index":63,"elements":{"code":{"short":"transaction | batch | search-system | history-system","type":"code","binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/system-restful-interaction|4.0.1","bindingName":"SystemRestfulInteraction"},"index":64},"documentation":{"short":"Anything special about operation behavior","type":"markdown","index":65}},"required":["code"]},"searchParam":{"short":"Search parameters for searching all resources","elementReference":["http://hl7.org/fhir/StructureDefinition/CapabilityStatement","elements","rest","elements","resource","elements","searchParam"],"array":true,"index":66},"operation":{"short":"Definition of a system level operation","isSummary":true,"elementReference":["http://hl7.org/fhir/StructureDefinition/CapabilityStatement","elements","rest","elements","resource","elements","operation"],"array":true,"index":67},"compartment":{"short":"Compartments served/used by system","type":"canonical","array":true,"index":68}},"required":["mode"]},"messaging":{"short":"If messaging is supported","type":"BackboneElement","isSummary":true,"array":true,"index":69,"elements":{"endpoint":{"short":"Where messages should be sent","type":"BackboneElement","array":true,"index":70,"elements":{"protocol":{"short":"http | ftp | mllp +","type":"Coding","binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/ValueSet/message-transport","bindingName":"MessageTransport"},"index":71},"address":{"short":"Network address or identifier of the end-point","type":"url","index":72}},"required":["address","protocol"]},"reliableCache":{"short":"Reliable Message Cache Length (min)","type":"unsignedInt","index":73},"documentation":{"short":"Messaging interface behavior details","type":"markdown","index":74},"supportedMessage":{"short":"Messages supported by this system","type":"BackboneElement","isSummary":true,"array":true,"index":75,"elements":{"mode":{"short":"sender | receiver","type":"code","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/event-capability-mode|4.0.1","bindingName":"EventCapabilityMode"},"index":76},"definition":{"short":"Message supported by this system","type":"canonical","isSummary":true,"index":77}},"required":["definition","mode"]}}},"document":{"short":"Document definition","type":"BackboneElement","isSummary":true,"array":true,"index":78,"elements":{"mode":{"short":"producer | consumer","type":"code","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/document-mode|4.0.1","bindingName":"DocumentMode"},"index":79},"documentation":{"short":"Description of document support","type":"markdown","index":80},"profile":{"short":"Constraint on the resources used in the document","type":"canonical","isSummary":true,"index":81}},"required":["mode","profile"]}},"required":["date","fhirVersion","format","kind","status"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"activity-title","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/careplan-activity-title","version":"4.0.1","description":"Human-friendly name for the activity.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/careplan-activity-title"},"type":"uri","index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"activity-title","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/careplan-activity-title","version":"4.0.1","description":"Human-friendly name for the activity.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/careplan-activity-title"},"index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"CarePlan","type":"CarePlan","kind":"resource","class":"resource","url":"http://hl7.org/fhir/StructureDefinition/CarePlan","version":"4.0.1","description":"Describes the intention of how one or more practitioners intend to deliver care for a particular patient, group or community for a period of time, possibly limited to care for a specific condition or set of conditions.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/DomainResource","elements":{"identifier":{"short":"External Ids for this plan","type":"Identifier","isSummary":true,"array":true,"index":0},"instantiatesCanonical":{"short":"Instantiates FHIR protocol or definition","type":"canonical","isSummary":true,"array":true,"index":1},"instantiatesUri":{"short":"Instantiates external protocol or definition","type":"uri","isSummary":true,"array":true,"index":2},"basedOn":{"short":"Fulfills CarePlan","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/CarePlan"],"array":true,"index":3},"replaces":{"short":"CarePlan replaced by this CarePlan","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/CarePlan"],"array":true,"index":4},"partOf":{"short":"Part of referenced CarePlan","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/CarePlan"],"array":true,"index":5},"status":{"short":"draft | active | on-hold | revoked | completed | entered-in-error | unknown","type":"code","isModifier":true,"isModifierReason":"This element is labeled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/request-status|4.0.1","bindingName":"CarePlanStatus"},"index":6},"intent":{"short":"proposal | plan | order | option","type":"code","isModifier":true,"isModifierReason":"This element changes the interpretation of all descriptive attributes. For example \\"the time the request is recommended to occur\\" vs. \\"the time the request is authorized to occur\\" or \\"who is recommended to perform the request\\" vs. \\"who is authorized to perform the request\\"","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/care-plan-intent|4.0.1","bindingName":"CarePlanIntent"},"index":7},"category":{"short":"Type of plan","type":"CodeableConcept","isSummary":true,"binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/care-plan-category","bindingName":"CarePlanCategory"},"array":true,"index":8},"title":{"short":"Human-friendly name for the care plan","type":"string","isSummary":true,"index":9},"description":{"short":"Summary of nature of plan","type":"string","isSummary":true,"index":10},"subject":{"short":"Who the care plan is for","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Group","http://hl7.org/fhir/StructureDefinition/Patient"],"index":11},"encounter":{"short":"Encounter created as part of","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Encounter"],"index":12},"period":{"short":"Time period plan covers","type":"Period","isSummary":true,"index":13},"created":{"short":"Date record was first recorded","type":"dateTime","isSummary":true,"index":14},"author":{"short":"Who is the designated responsible party","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/CareTeam","http://hl7.org/fhir/StructureDefinition/Device","http://hl7.org/fhir/StructureDefinition/Organization","http://hl7.org/fhir/StructureDefinition/Patient","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole","http://hl7.org/fhir/StructureDefinition/RelatedPerson"],"index":15},"contributor":{"short":"Who provided the content of the care plan","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/CareTeam","http://hl7.org/fhir/StructureDefinition/Device","http://hl7.org/fhir/StructureDefinition/Organization","http://hl7.org/fhir/StructureDefinition/Patient","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole","http://hl7.org/fhir/StructureDefinition/RelatedPerson"],"array":true,"index":16},"careTeam":{"short":"Who's involved in plan?","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/CareTeam"],"array":true,"index":17},"addresses":{"short":"Health issues this plan addresses","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Condition"],"array":true,"index":18},"supportingInfo":{"short":"Information considered as part of plan","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Resource"],"array":true,"index":19},"goal":{"short":"Desired outcome of plan","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Goal"],"array":true,"index":20},"activity":{"short":"Action to occur as part of plan","type":"BackboneElement","constraint":{"cpl-3":{"expression":"detail.empty() or reference.empty()","human":"Provide a reference or detail, not both","severity":"error"}},"array":true,"index":21,"elements":{"outcomeCodeableConcept":{"short":"Results of the activity","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/care-plan-activity-outcome","bindingName":"CarePlanActivityOutcome"},"array":true,"index":22},"outcomeReference":{"short":"Appointment, Encounter, Procedure, etc.","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Resource"],"array":true,"index":23},"progress":{"short":"Comments about the activity status/progress","type":"Annotation","array":true,"index":24},"reference":{"short":"Activity details defined in specific resource","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Appointment","http://hl7.org/fhir/StructureDefinition/CommunicationRequest","http://hl7.org/fhir/StructureDefinition/DeviceRequest","http://hl7.org/fhir/StructureDefinition/MedicationRequest","http://hl7.org/fhir/StructureDefinition/NutritionOrder","http://hl7.org/fhir/StructureDefinition/RequestGroup","http://hl7.org/fhir/StructureDefinition/ServiceRequest","http://hl7.org/fhir/StructureDefinition/Task","http://hl7.org/fhir/StructureDefinition/VisionPrescription"],"index":25},"detail":{"short":"In-line definition of activity","type":"BackboneElement","index":26,"elements":{"kind":{"short":"Appointment | CommunicationRequest | DeviceRequest | MedicationRequest | NutritionOrder | Task | ServiceRequest | VisionPrescription","type":"code","binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/care-plan-activity-kind|4.0.1","bindingName":"CarePlanActivityKind"},"index":27},"instantiatesCanonical":{"short":"Instantiates FHIR protocol or definition","type":"canonical","array":true,"index":28},"instantiatesUri":{"short":"Instantiates external protocol or definition","type":"uri","array":true,"index":29},"code":{"short":"Detail type of activity","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/procedure-code","bindingName":"CarePlanActivityType"},"index":30},"reasonCode":{"short":"Why activity should be done or why activity was prohibited","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/clinical-findings","bindingName":"CarePlanActivityReason"},"array":true,"index":31},"reasonReference":{"short":"Why activity is needed","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Condition","http://hl7.org/fhir/StructureDefinition/DiagnosticReport","http://hl7.org/fhir/StructureDefinition/DocumentReference","http://hl7.org/fhir/StructureDefinition/Observation"],"array":true,"index":32},"goal":{"short":"Goals this activity relates to","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Goal"],"array":true,"index":33},"status":{"short":"not-started | scheduled | in-progress | on-hold | completed | cancelled | stopped | unknown | entered-in-error","type":"code","isModifier":true,"isModifierReason":"This element is labelled as a modifier because it is a status element that contains status entered-in-error which means that the activity should not be treated as valid","binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/care-plan-activity-status|4.0.1","bindingName":"CarePlanActivityStatus"},"index":34},"statusReason":{"short":"Reason for current status","type":"CodeableConcept","index":35},"doNotPerform":{"short":"If true, activity is prohibiting action","type":"boolean","meaningWhenMissing":"If missing indicates that the described activity is one that should be engaged in when following the plan.","isModifier":true,"isModifierReason":"If true this element negates the specified action. For example, instead of a request for a procedure, it is a request for the procedure to not occur.","index":36},"scheduled":{"short":"When activity is to occur","choices":["scheduledTiming","scheduledPeriod","scheduledString"],"index":38},"scheduledTiming":{"short":"When activity is to occur","type":"Timing","choiceOf":"scheduled","index":39},"scheduledPeriod":{"short":"When activity is to occur","type":"Period","choiceOf":"scheduled","index":40},"scheduledString":{"short":"When activity is to occur","type":"string","choiceOf":"scheduled","index":41},"location":{"short":"Where it should happen","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Location"],"index":42},"performer":{"short":"Who will be responsible?","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/CareTeam","http://hl7.org/fhir/StructureDefinition/Device","http://hl7.org/fhir/StructureDefinition/HealthcareService","http://hl7.org/fhir/StructureDefinition/Organization","http://hl7.org/fhir/StructureDefinition/Patient","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole","http://hl7.org/fhir/StructureDefinition/RelatedPerson"],"array":true,"index":43},"product":{"short":"What is to be administered/supplied","choices":["productCodeableConcept","productReference"],"index":45},"productCodeableConcept":{"short":"What is to be administered/supplied","type":"CodeableConcept","choiceOf":"product","index":46},"productReference":{"short":"What is to be administered/supplied","type":"Reference","choiceOf":"product","refers":["http://hl7.org/fhir/StructureDefinition/Medication","http://hl7.org/fhir/StructureDefinition/Substance"],"index":47},"dailyAmount":{"short":"How to consume/day?","type":"Quantity","index":48},"quantity":{"short":"How much to administer/supply/consume","type":"Quantity","index":49},"description":{"short":"Extra info describing activity to perform","type":"string","index":50}},"required":["status"]}}},"note":{"short":"Comments about the plan","type":"Annotation","array":true,"index":51}},"required":["intent","status","subject"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"CareTeam","type":"CareTeam","kind":"resource","class":"resource","url":"http://hl7.org/fhir/StructureDefinition/CareTeam","version":"4.0.1","description":"The Care Team includes all the people and organizations who plan to participate in the coordination and delivery of care for a patient.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/DomainResource","elements":{"identifier":{"short":"External Ids for this team","type":"Identifier","isSummary":true,"array":true,"index":0},"status":{"short":"proposed | active | suspended | inactive | entered-in-error","type":"code","isModifier":true,"isModifierReason":"This element is labelled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/care-team-status|4.0.1","bindingName":"CareTeamStatus"},"index":1},"category":{"short":"Type of team","type":"CodeableConcept","isSummary":true,"binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/care-team-category","bindingName":"CareTeamCategory"},"array":true,"index":2},"name":{"short":"Name of the team, such as crisis assessment team","type":"string","isSummary":true,"index":3},"subject":{"short":"Who care team is for","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Group","http://hl7.org/fhir/StructureDefinition/Patient"],"index":4},"encounter":{"short":"Encounter created as part of","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Encounter"],"index":5},"period":{"short":"Time period team covers","type":"Period","isSummary":true,"index":6},"participant":{"short":"Members of the team","type":"BackboneElement","constraint":{"ctm-1":{"expression":"onBehalfOf.exists() implies (member.resolve().iif(empty(), true, ofType(Practitioner).exists()))","human":"CareTeam.participant.onBehalfOf can only be populated when CareTeam.participant.member is a Practitioner","severity":"error"}},"array":true,"index":7,"elements":{"role":{"short":"Type of involvement","type":"CodeableConcept","isSummary":true,"binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/participant-role","bindingName":"CareTeamParticipantRole"},"array":true,"index":8},"member":{"short":"Who is involved","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/CareTeam","http://hl7.org/fhir/StructureDefinition/Organization","http://hl7.org/fhir/StructureDefinition/Patient","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole","http://hl7.org/fhir/StructureDefinition/RelatedPerson"],"index":9},"onBehalfOf":{"short":"Organization of the practitioner","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Organization"],"index":10},"period":{"short":"Time period of participant","type":"Period","index":11}}},"reasonCode":{"short":"Why the care team exists","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/clinical-findings","bindingName":"CareTeamReason"},"array":true,"index":12},"reasonReference":{"short":"Why the care team exists","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Condition"],"array":true,"index":13},"managingOrganization":{"short":"Organization responsible for the care team","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Organization"],"array":true,"index":14},"telecom":{"short":"A contact detail for the care team (that applies to all members)","type":"ContactPoint","array":true,"index":15},"note":{"short":"Comments made about the CareTeam","type":"Annotation","array":true,"index":16}},"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"Profile for Catalog","type":"Composition","kind":"resource","class":"profile","url":"http://hl7.org/fhir/StructureDefinition/catalog","version":"4.0.1","description":"A set of resources composed into a single coherent clinical statement with clinical attestation","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Composition","extensions":{"ValidityPeriod":{"min":1,"max":1,"short":"The validity of the catalog","url":"http://hl7.org/fhir/StructureDefinition/cqm-ValidityPeriod","index":0}},"elements":{"extension":{"short":"The validity of the catalog","min":1,"max":1,"type":"Extension","url":"http://hl7.org/fhir/StructureDefinition/cqm-ValidityPeriod","index":0,"slicing":{"slices":{"ValidityPeriod":{"match":{},"schema":{"short":"The validity of the catalog","min":1,"max":1,"type":"Extension","url":"http://hl7.org/fhir/StructureDefinition/cqm-ValidityPeriod","index":0},"min":1,"max":1}}}},"type":{"short":"The type of document - a Catalog","type":"CodeableConcept","pattern":{"type":"CodeableConcept","value":{"text":"Catalog"}},"index":1},"category":{"short":"The Content of the section","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/catalogType","bindingName":"CatalogType"},"index":2},"subject":{"short":"Who and/or what the composition is about","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Resource"],"index":3},"date":{"short":"When the Catalog was created","type":"dateTime","index":4,"slicing":{"slices":{"IssueDate":{"match":{},"schema":{"short":"When the Catalog was created","type":"dateTime","_required":true,"index":4},"min":1,"max":1}}}},"section":{"array":true,"index":5,"elements":{"entry":{"short":"The Content of the section","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/CatalogEntry"],"array":true,"min":1,"index":6}},"required":["entry"]}},"required":["category","date","type"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"Profile for Catalog","type":"Composition","kind":"resource","class":"profile","url":"http://hl7.org/fhir/StructureDefinition/catalog","version":"4.0.1","description":"A set of resources composed into a single coherent clinical statement with clinical attestation","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Composition","extensions":{"ValidityPeriod":{"min":1,"max":1,"short":"The validity of the catalog","url":"http://hl7.org/fhir/StructureDefinition/cqm-ValidityPeriod","index":0}},"elements":{"extension":{"short":"The validity of the catalog","min":1,"max":1,"type":"Extension","url":"http://hl7.org/fhir/StructureDefinition/cqm-ValidityPeriod","index":0,"slicing":{"slices":{"ValidityPeriod":{"match":{},"schema":{"short":"The validity of the catalog","min":1,"max":1,"type":"Extension","url":"http://hl7.org/fhir/StructureDefinition/cqm-ValidityPeriod","index":0},"min":1,"max":1}}}},"type":{"short":"The type of document - a Catalog","type":"CodeableConcept","fixed":{"type":"CodeableConcept","value":{"text":"Catalog"}},"index":1},"category":{"short":"The Content of the section","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/catalogType","bindingName":"CatalogType"},"index":2},"subject":{"short":"Who and/or what the composition is about","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Resource"],"index":3},"date":{"short":"When the Catalog was created","type":"dateTime","index":4,"slicing":{"slices":{"IssueDate":{"match":{},"schema":{"short":"When the Catalog was created","type":"dateTime","_required":true,"index":4},"min":1,"max":1}}}},"section":{"array":true,"index":5,"elements":{"entry":{"short":"The Content of the section","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/CatalogEntry"],"array":true,"min":1,"index":6}},"required":["entry"]}},"required":["category","date","type"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"CatalogEntry","type":"CatalogEntry","kind":"resource","class":"resource","url":"http://hl7.org/fhir/StructureDefinition/CatalogEntry","version":"4.0.1","description":"Catalog entries are wrappers that contextualize items included in a catalog.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/DomainResource","elements":{"identifier":{"short":"Unique identifier of the catalog item","type":"Identifier","isSummary":true,"array":true,"index":0},"type":{"short":"The type of item - medication, device, service, protocol or other","type":"CodeableConcept","index":1},"orderable":{"short":"Whether the entry represents an orderable item","type":"boolean","isSummary":true,"index":2},"referencedItem":{"short":"The item that is being defined","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/ActivityDefinition","http://hl7.org/fhir/StructureDefinition/Binary","http://hl7.org/fhir/StructureDefinition/Device","http://hl7.org/fhir/StructureDefinition/HealthcareService","http://hl7.org/fhir/StructureDefinition/Medication","http://hl7.org/fhir/StructureDefinition/ObservationDefinition","http://hl7.org/fhir/StructureDefinition/Organization","http://hl7.org/fhir/StructureDefinition/PlanDefinition","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole","http://hl7.org/fhir/StructureDefinition/SpecimenDefinition"],"index":3},"additionalIdentifier":{"short":"Any additional identifier(s) for the catalog item, in the same granularity or concept","type":"Identifier","array":true,"index":4},"classification":{"short":"Classification (category or class) of the item entry","type":"CodeableConcept","array":true,"index":5},"status":{"short":"draft | active | retired | unknown","type":"code","binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/publication-status|4.0.1","bindingName":"PublicationStatus"},"index":6},"validityPeriod":{"short":"The time period in which this catalog entry is expected to be active","type":"Period","index":7},"validTo":{"short":"The date until which this catalog entry is expected to be active","type":"dateTime","index":8},"lastUpdated":{"short":"When was this catalog last updated","type":"dateTime","index":9},"additionalCharacteristic":{"short":"Additional characteristics of the catalog entry","type":"CodeableConcept","array":true,"index":10},"additionalClassification":{"short":"Additional classification of the catalog entry","type":"CodeableConcept","array":true,"index":11},"relatedEntry":{"short":"An item that this catalog entry is related to","type":"BackboneElement","array":true,"index":12,"elements":{"relationtype":{"short":"triggers | is-replaced-by","type":"code","binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/relation-type|4.0.1","bindingName":"CatalogEntryRelationType"},"index":13},"item":{"short":"The reference to the related item","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/CatalogEntry"],"index":14}},"required":["item","relationtype"]}},"required":["orderable","referencedItem"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"CDS Hooks GuidanceResponse","type":"GuidanceResponse","kind":"resource","class":"profile","url":"http://hl7.org/fhir/StructureDefinition/cdshooksguidanceresponse","version":"4.0.1","description":"Defines a GuidanceResponse that represents the response container for a CDS Hooks response","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/GuidanceResponse","extensions":{"cdsHooksEndpoint":{"min":1,"max":1,"short":"Service endpoint","url":"http://hl7.org/fhir/StructureDefinition/cqf-cdsHooksEndpoint","index":0}},"elements":{"extension":{"short":"Service endpoint","min":1,"max":1,"type":"Extension","url":"http://hl7.org/fhir/StructureDefinition/cqf-cdsHooksEndpoint","index":0,"slicing":{"slices":{"cdsHooksEndpoint":{"match":{},"schema":{"short":"Service endpoint","min":1,"max":1,"type":"Extension","url":"http://hl7.org/fhir/StructureDefinition/cqf-cdsHooksEndpoint","index":0},"min":1,"max":1}}}},"requestIdentifier":{"index":1},"identifier":{"index":2},"moduleUri":{"index":3},"subject":{"mustSupport":true,"index":4},"occurrenceDateTime":{"mustSupport":true,"index":5},"performer":{"mustSupport":true,"index":6},"result":{"mustSupport":true,"index":7}},"required":["identifier","moduleUri","requestIdentifier"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"CDS Hooks RequestGroup","type":"RequestGroup","kind":"resource","class":"profile","url":"http://hl7.org/fhir/StructureDefinition/cdshooksrequestgroup","version":"4.0.1","description":"Defines a RequestGroup that can represent a CDS Hooks response","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/RequestGroup","elements":{"identifier":{"index":0},"instantiatesUri":{"index":1},"priority":{"mustSupport":true,"index":2},"subject":{"mustSupport":true,"index":3},"authoredOn":{"mustSupport":true,"index":4},"author":{"mustSupport":true,"index":5},"action":{"index":6,"elements":{"title":{"mustSupport":true,"index":7},"description":{"mustSupport":true,"index":8},"priority":{"mustSupport":true,"index":9},"documentation":{"mustSupport":true,"index":10},"condition":{"mustSupport":true,"index":11},"participant":{"mustSupport":true,"index":13},"type":{"mustSupport":true,"index":14},"selectionBehavior":{"mustSupport":true,"index":15},"resource":{"mustSupport":true,"index":16}}}},"required":["identifier","instantiatesUri"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"CDS Hooks Service PlanDefinition","type":"PlanDefinition","kind":"resource","class":"profile","url":"http://hl7.org/fhir/StructureDefinition/cdshooksserviceplandefinition","version":"4.0.1","description":"Defines a PlanDefinition that implements the behavior for a CDS Hooks service","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/PlanDefinition","extensions":{"cdsHooksEndpoint":{"min":1,"max":1,"short":"Service endpoint","url":"http://hl7.org/fhir/StructureDefinition/cqf-cdsHooksEndpoint","index":0}},"elements":{"extension":{"short":"Service endpoint","min":1,"max":1,"type":"Extension","url":"http://hl7.org/fhir/StructureDefinition/cqf-cdsHooksEndpoint","index":0,"slicing":{"slices":{"cdsHooksEndpoint":{"match":{},"schema":{"short":"Service endpoint","min":1,"max":1,"type":"Extension","url":"http://hl7.org/fhir/StructureDefinition/cqf-cdsHooksEndpoint","index":0},"min":1,"max":1}}}},"action":{"index":1,"elements":{"title":{"mustSupport":true,"index":2},"description":{"mustSupport":true,"index":3},"priority":{"mustSupport":true,"index":4},"trigger":{"mustSupport":true,"index":5},"condition":{"mustSupport":true,"index":6},"participant":{"mustSupport":true,"index":8},"type":{"mustSupport":true,"index":9},"selectionBehavior":{"mustSupport":true,"index":10}}}},"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"ChargeItem","type":"ChargeItem","kind":"resource","class":"resource","url":"http://hl7.org/fhir/StructureDefinition/ChargeItem","version":"4.0.1","description":"The resource ChargeItem describes the provision of healthcare provider products for a certain patient, therefore referring not only to the product, but containing in addition details of the provision, like date, time, amounts and participating organizations and persons. Main Usage of the ChargeItem is to enable the billing process and internal cost allocation.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/DomainResource","elements":{"identifier":{"short":"Business Identifier for item","type":"Identifier","isSummary":true,"array":true,"index":0},"definitionUri":{"short":"Defining information about the code of this charge item","type":"uri","isSummary":false,"array":true,"index":1},"definitionCanonical":{"short":"Resource defining the code of this ChargeItem","type":"canonical","isSummary":false,"array":true,"index":2},"status":{"short":"planned | billable | not-billable | aborted | billed | entered-in-error | unknown","type":"code","isModifier":true,"isModifierReason":"This element is labelled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/chargeitem-status|4.0.1","bindingName":"ChargeItemStatus"},"index":3},"partOf":{"short":"Part of referenced ChargeItem","type":"Reference","isSummary":false,"refers":["http://hl7.org/fhir/StructureDefinition/ChargeItem"],"array":true,"index":4},"code":{"short":"A code that identifies the charge, like a billing code","type":"CodeableConcept","isSummary":true,"binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/chargeitem-billingcodes","bindingName":"ChargeItemCode"},"index":5},"subject":{"short":"Individual service was done for/to","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Group","http://hl7.org/fhir/StructureDefinition/Patient"],"index":6},"context":{"short":"Encounter / Episode associated with event","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Encounter","http://hl7.org/fhir/StructureDefinition/EpisodeOfCare"],"index":7},"occurrence":{"short":"When the charged service was applied","isSummary":true,"choices":["occurrenceDateTime","occurrencePeriod","occurrenceTiming"],"index":9},"occurrenceDateTime":{"short":"When the charged service was applied","type":"dateTime","isSummary":true,"choiceOf":"occurrence","index":10},"occurrencePeriod":{"short":"When the charged service was applied","type":"Period","isSummary":true,"choiceOf":"occurrence","index":11},"occurrenceTiming":{"short":"When the charged service was applied","type":"Timing","isSummary":true,"choiceOf":"occurrence","index":12},"performer":{"short":"Who performed charged service","type":"BackboneElement","isSummary":false,"array":true,"index":13,"elements":{"function":{"short":"What type of performance was done","type":"CodeableConcept","isSummary":false,"binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/performer-role","bindingName":"ChargeItemPerformerFunction"},"index":14},"actor":{"short":"Individual who was performing","type":"Reference","isSummary":false,"refers":["http://hl7.org/fhir/StructureDefinition/CareTeam","http://hl7.org/fhir/StructureDefinition/Device","http://hl7.org/fhir/StructureDefinition/Organization","http://hl7.org/fhir/StructureDefinition/Patient","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole","http://hl7.org/fhir/StructureDefinition/RelatedPerson"],"index":15}},"required":["actor"]},"performingOrganization":{"short":"Organization providing the charged service","type":"Reference","isSummary":false,"refers":["http://hl7.org/fhir/StructureDefinition/Organization"],"index":16},"requestingOrganization":{"short":"Organization requesting the charged service","type":"Reference","isSummary":false,"refers":["http://hl7.org/fhir/StructureDefinition/Organization"],"index":17},"costCenter":{"short":"Organization that has ownership of the (potential, future) revenue","type":"Reference","isSummary":false,"refers":["http://hl7.org/fhir/StructureDefinition/Organization"],"index":18},"quantity":{"short":"Quantity of which the charge item has been serviced","type":"Quantity","isSummary":true,"index":19},"bodysite":{"short":"Anatomical location, if relevant","type":"CodeableConcept","isSummary":true,"binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/body-site","bindingName":"BodySite"},"array":true,"index":20},"factorOverride":{"short":"Factor overriding the associated rules","type":"decimal","isSummary":false,"index":21},"priceOverride":{"short":"Price overriding the associated rules","type":"Money","isSummary":false,"index":22},"overrideReason":{"short":"Reason for overriding the list price/factor","type":"string","isSummary":false,"index":23},"enterer":{"short":"Individual who was entering","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Device","http://hl7.org/fhir/StructureDefinition/Organization","http://hl7.org/fhir/StructureDefinition/Patient","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole","http://hl7.org/fhir/StructureDefinition/RelatedPerson"],"index":24},"enteredDate":{"short":"Date the charge item was entered","type":"dateTime","isSummary":true,"index":25},"reason":{"short":"Why was the charged service rendered?","type":"CodeableConcept","isSummary":false,"binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/icd-10","bindingName":"ChargeItemReason"},"array":true,"index":26},"service":{"short":"Which rendered service is being charged?","type":"Reference","isSummary":false,"refers":["http://hl7.org/fhir/StructureDefinition/DiagnosticReport","http://hl7.org/fhir/StructureDefinition/ImagingStudy","http://hl7.org/fhir/StructureDefinition/Immunization","http://hl7.org/fhir/StructureDefinition/MedicationAdministration","http://hl7.org/fhir/StructureDefinition/MedicationDispense","http://hl7.org/fhir/StructureDefinition/Observation","http://hl7.org/fhir/StructureDefinition/Procedure","http://hl7.org/fhir/StructureDefinition/SupplyDelivery"],"array":true,"index":27},"product":{"short":"Product charged","isSummary":false,"choices":["productReference","productCodeableConcept"],"index":29},"productReference":{"short":"Product charged","type":"Reference","isSummary":false,"choiceOf":"product","refers":["http://hl7.org/fhir/StructureDefinition/Device","http://hl7.org/fhir/StructureDefinition/Medication","http://hl7.org/fhir/StructureDefinition/Substance"],"index":30},"productCodeableConcept":{"short":"Product charged","type":"CodeableConcept","isSummary":false,"choiceOf":"product","index":31},"account":{"short":"Account to place this charge","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Account"],"array":true,"index":32},"note":{"short":"Comments made about the ChargeItem","type":"Annotation","isSummary":false,"array":true,"index":33},"supportingInformation":{"short":"Further information supporting this charge","type":"Reference","isSummary":false,"refers":["http://hl7.org/fhir/StructureDefinition/Resource"],"array":true,"index":34}},"required":["code","status","subject"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"ChargeItemDefinition","type":"ChargeItemDefinition","kind":"resource","class":"resource","url":"http://hl7.org/fhir/StructureDefinition/ChargeItemDefinition","version":"4.0.1","description":"The ChargeItemDefinition resource provides the properties that apply to the (billing) codes necessary to calculate costs and prices. The properties may differ largely depending on type and realm, therefore this resource gives only a rough structure and requires profiling for each type of billing code system.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/DomainResource","elements":{"url":{"short":"Canonical identifier for this charge item definition, represented as a URI (globally unique)","type":"uri","isSummary":true,"index":0},"identifier":{"short":"Additional identifier for the charge item definition","type":"Identifier","isSummary":true,"array":true,"index":1},"version":{"short":"Business version of the charge item definition","type":"string","isSummary":true,"index":2},"title":{"short":"Name for this charge item definition (human friendly)","type":"string","isSummary":true,"index":3},"derivedFromUri":{"short":"Underlying externally-defined charge item definition","type":"uri","isSummary":true,"array":true,"index":4},"partOf":{"short":"A larger definition of which this particular definition is a component or step","type":"canonical","isSummary":true,"array":true,"index":5},"replaces":{"short":"Completed or terminated request(s) whose function is taken by this new request","type":"canonical","isSummary":true,"array":true,"index":6},"status":{"short":"draft | active | retired | unknown","type":"code","isModifier":true,"isModifierReason":"This is labeled as \\"Is Modifier\\" because applications should not use a retired {{title}} without due consideration","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/publication-status|4.0.1","bindingName":"PublicationStatus"},"index":7},"experimental":{"short":"For testing purposes, not real usage","type":"boolean","isSummary":true,"index":8},"date":{"short":"Date last changed","type":"dateTime","isSummary":true,"index":9},"publisher":{"short":"Name of the publisher (organization or individual)","type":"string","isSummary":true,"index":10},"contact":{"short":"Contact details for the publisher","type":"ContactDetail","isSummary":true,"array":true,"index":11},"description":{"short":"Natural language description of the charge item definition","type":"markdown","isSummary":true,"index":12},"useContext":{"short":"The context that the content is intended to support","type":"UsageContext","isSummary":true,"array":true,"index":13},"jurisdiction":{"short":"Intended jurisdiction for charge item definition (if applicable)","type":"CodeableConcept","isSummary":true,"binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/ValueSet/jurisdiction","bindingName":"Jurisdiction"},"array":true,"index":14},"copyright":{"short":"Use and/or publishing restrictions","type":"markdown","index":15},"approvalDate":{"short":"When the charge item definition was approved by publisher","type":"date","index":16},"lastReviewDate":{"short":"When the charge item definition was last reviewed","type":"date","index":17},"effectivePeriod":{"short":"When the charge item definition is expected to be used","type":"Period","isSummary":true,"index":18},"code":{"short":"Billing codes or product types this definition applies to","type":"CodeableConcept","isSummary":true,"binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/chargeitem-billingcodes","bindingName":"ChargeItemDefinitionCode"},"index":19},"instance":{"short":"Instances this definition applies to","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Device","http://hl7.org/fhir/StructureDefinition/Medication","http://hl7.org/fhir/StructureDefinition/Substance"],"array":true,"index":20},"applicability":{"short":"Whether or not the billing code is applicable","type":"BackboneElement","array":true,"index":21,"elements":{"description":{"short":"Natural language description of the condition","type":"string","index":22},"language":{"short":"Language of the expression","type":"string","index":23},"expression":{"short":"Boolean-valued expression","type":"string","index":24}}},"propertyGroup":{"short":"Group of properties which are applicable under the same conditions","type":"BackboneElement","array":true,"index":25,"elements":{"applicability":{"short":"Conditions under which the priceComponent is applicable","elementReference":["http://hl7.org/fhir/StructureDefinition/ChargeItemDefinition","elements","applicability"],"array":true,"index":26},"priceComponent":{"short":"Components of total line item price","type":"BackboneElement","array":true,"index":27,"elements":{"type":{"short":"base | surcharge | deduction | discount | tax | informational","type":"code","binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/invoice-priceComponentType|4.0.1","bindingName":"ChargeItemDefinitionPriceComponentType"},"index":28},"code":{"short":"Code identifying the specific component","type":"CodeableConcept","index":29},"factor":{"short":"Factor used for calculating this component","type":"decimal","index":30},"amount":{"short":"Monetary amount associated with this component","type":"Money","index":31}},"required":["type"]}}}},"required":["status","url"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"Example Lipid Profile","type":"Observation","kind":"resource","class":"profile","url":"http://hl7.org/fhir/StructureDefinition/cholesterol","version":"4.0.1","description":"Describes how the lab report is used for a standard Lipid Profile - Cholesterol, Triglyceride and Cholesterol fractions. Uses LOINC codes","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Observation","elements":{"code":{"short":"Cholesterol","type":"CodeableConcept","pattern":{"type":"CodeableConcept","value":{"coding":[{"system":"http://loinc.org","code":"35200-5","display":"Cholesterol [Moles/​volume] in Serum or Plasma"}]}},"mustSupport":true,"index":0},"valueQuantity":{"short":"Cholesterol value","type":"Quantity","mustSupport":true,"index":1,"elements":{"value":{"short":"Actual numerical value","type":"decimal","mustSupport":true,"index":2},"comparator":{"type":"code","index":3},"unit":{"type":"string","pattern":{"type":"string","value":"mmol/L"},"mustSupport":true,"index":4},"system":{"type":"uri","pattern":{"type":"uri","value":"http://unitsofmeasure.org"},"mustSupport":true,"index":5},"code":{"type":"code","pattern":{"type":"code","value":"mmol/L"},"mustSupport":true,"index":6}},"required":["code","system","unit"]},"interpretation":{"short":"+ | ++ | +++ | - | -- | ---","type":"CodeableConcept","mustSupport":true,"index":7},"note":{"short":"Comments about result","type":"Annotation","mustSupport":true,"array":true,"index":8},"referenceRange":{"mustSupport":true,"index":9,"elements":{"low":{"index":10},"high":{"type":"Quantity","pattern":{"type":"Quantity","value":{"value":4.5}},"index":11},"type":{"type":"CodeableConcept","index":12},"appliesTo":{"type":"CodeableConcept","index":13},"age":{"type":"Range","index":14}},"required":["high"]},"hasMember":{"index":15},"derivedFrom":{"index":16}},"required":["code","referenceRange"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"Example Lipid Profile","type":"Observation","kind":"resource","class":"profile","url":"http://hl7.org/fhir/StructureDefinition/cholesterol","version":"4.0.1","description":"Describes how the lab report is used for a standard Lipid Profile - Cholesterol, Triglyceride and Cholesterol fractions. Uses LOINC codes","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Observation","elements":{"code":{"short":"Cholesterol","type":"CodeableConcept","fixed":{"type":"CodeableConcept","value":{"coding":[{"system":"http://loinc.org","code":"35200-5","display":"Cholesterol [Moles/​volume] in Serum or Plasma"}]}},"mustSupport":true,"index":0},"valueQuantity":{"short":"Cholesterol value","type":"Quantity","mustSupport":true,"index":1,"elements":{"value":{"short":"Actual numerical value","type":"decimal","mustSupport":true,"index":2},"comparator":{"type":"code","index":3},"unit":{"type":"string","fixed":{"type":"string","value":"mmol/L"},"mustSupport":true,"index":4},"system":{"type":"uri","fixed":{"type":"uri","value":"http://unitsofmeasure.org"},"mustSupport":true,"index":5},"code":{"type":"code","fixed":{"type":"code","value":"mmol/L"},"mustSupport":true,"index":6}},"required":["code","system","unit"]},"interpretation":{"short":"+ | ++ | +++ | - | -- | ---","type":"CodeableConcept","mustSupport":true,"index":7},"note":{"short":"Comments about result","type":"Annotation","mustSupport":true,"array":true,"index":8},"referenceRange":{"mustSupport":true,"index":9,"elements":{"low":{"index":10},"high":{"type":"Quantity","fixed":{"type":"Quantity","value":{"value":4.5}},"index":11},"type":{"type":"CodeableConcept","index":12},"appliesTo":{"type":"CodeableConcept","index":13},"age":{"type":"Range","index":14}},"required":["high"]},"hasMember":{"index":15},"derivedFrom":{"index":16}},"required":["code","referenceRange"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"Claim","type":"Claim","kind":"resource","class":"resource","url":"http://hl7.org/fhir/StructureDefinition/Claim","version":"4.0.1","description":"A provider issued list of professional services and products which have been provided, or are to be provided, to a patient which is sent to an insurer for reimbursement.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/DomainResource","elements":{"identifier":{"short":"Business Identifier for claim","type":"Identifier","array":true,"index":0},"status":{"short":"active | cancelled | draft | entered-in-error","type":"code","isModifier":true,"isModifierReason":"This element is labeled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/fm-status|4.0.1","bindingName":"ClaimStatus"},"index":1},"type":{"short":"Category or discipline","type":"CodeableConcept","isSummary":true,"binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/ValueSet/claim-type","bindingName":"ClaimType"},"index":2},"subType":{"short":"More granular claim type","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/claim-subtype","bindingName":"ClaimSubType"},"index":3},"use":{"short":"claim | preauthorization | predetermination","type":"code","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/claim-use|4.0.1","bindingName":"Use"},"index":4},"patient":{"short":"The recipient of the products and services","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Patient"],"index":5},"billablePeriod":{"short":"Relevant time frame for the claim","type":"Period","isSummary":true,"index":6},"created":{"short":"Resource creation date","type":"dateTime","isSummary":true,"index":7},"enterer":{"short":"Author of the claim","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole"],"index":8},"insurer":{"short":"Target","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Organization"],"index":9},"provider":{"short":"Party responsible for the claim","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Organization","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole"],"index":10},"priority":{"short":"Desired processing ugency","type":"CodeableConcept","isSummary":true,"binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/process-priority","bindingName":"ProcessPriority"},"index":11},"fundsReserve":{"short":"For whom to reserve funds","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/fundsreserve","bindingName":"FundsReserve"},"index":12},"related":{"short":"Prior or corollary claims","type":"BackboneElement","array":true,"index":13,"elements":{"claim":{"short":"Reference to the related claim","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Claim"],"index":14},"relationship":{"short":"How the reference claim is related","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/related-claim-relationship","bindingName":"RelatedClaimRelationship"},"index":15},"reference":{"short":"File or case reference","type":"Identifier","index":16}}},"prescription":{"short":"Prescription authorizing services and products","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/DeviceRequest","http://hl7.org/fhir/StructureDefinition/MedicationRequest","http://hl7.org/fhir/StructureDefinition/VisionPrescription"],"index":17},"originalPrescription":{"short":"Original prescription if superseded by fulfiller","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/DeviceRequest","http://hl7.org/fhir/StructureDefinition/MedicationRequest","http://hl7.org/fhir/StructureDefinition/VisionPrescription"],"index":18},"payee":{"short":"Recipient of benefits payable","type":"BackboneElement","index":19,"elements":{"type":{"short":"Category of recipient","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/payeetype","bindingName":"PayeeType"},"index":20},"party":{"short":"Recipient reference","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Organization","http://hl7.org/fhir/StructureDefinition/Patient","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole","http://hl7.org/fhir/StructureDefinition/RelatedPerson"],"index":21}},"required":["type"]},"referral":{"short":"Treatment referral","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/ServiceRequest"],"index":22},"facility":{"short":"Servicing facility","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Location"],"index":23},"careTeam":{"short":"Members of the care team","type":"BackboneElement","array":true,"index":24,"elements":{"sequence":{"short":"Order of care team","type":"positiveInt","index":25},"provider":{"short":"Practitioner or organization","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Organization","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole"],"index":26},"responsible":{"short":"Indicator of the lead practitioner","type":"boolean","index":27},"role":{"short":"Function within the team","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/claim-careteamrole","bindingName":"CareTeamRole"},"index":28},"qualification":{"short":"Practitioner credential or specialization","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/provider-qualification","bindingName":"ProviderQualification"},"index":29}},"required":["provider","sequence"]},"supportingInfo":{"short":"Supporting information","type":"BackboneElement","array":true,"index":30,"elements":{"sequence":{"short":"Information instance identifier","type":"positiveInt","index":31},"category":{"short":"Classification of the supplied information","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/claim-informationcategory","bindingName":"InformationCategory"},"index":32},"code":{"short":"Type of information","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/claim-exception","bindingName":"InformationCode"},"index":33},"timing":{"short":"When it occurred","choices":["timingDate","timingPeriod"],"index":35},"timingDate":{"short":"When it occurred","type":"date","choiceOf":"timing","index":36},"timingPeriod":{"short":"When it occurred","type":"Period","choiceOf":"timing","index":37},"value":{"short":"Data to be provided","choices":["valueBoolean","valueString","valueQuantity","valueAttachment","valueReference"],"index":39},"valueBoolean":{"short":"Data to be provided","type":"boolean","choiceOf":"value","index":40},"valueString":{"short":"Data to be provided","type":"string","choiceOf":"value","index":41},"valueQuantity":{"short":"Data to be provided","type":"Quantity","choiceOf":"value","index":42},"valueAttachment":{"short":"Data to be provided","type":"Attachment","choiceOf":"value","index":43},"valueReference":{"short":"Data to be provided","type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/Resource"],"index":44},"reason":{"short":"Explanation for the information","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/missing-tooth-reason","bindingName":"MissingReason"},"index":45}},"required":["category","sequence"]},"diagnosis":{"short":"Pertinent diagnosis information","type":"BackboneElement","array":true,"index":46,"elements":{"sequence":{"short":"Diagnosis instance identifier","type":"positiveInt","index":47},"diagnosis":{"short":"Nature of illness or problem","choices":["diagnosisCodeableConcept","diagnosisReference"],"index":49},"diagnosisCodeableConcept":{"short":"Nature of illness or problem","type":"CodeableConcept","choiceOf":"diagnosis","index":50},"diagnosisReference":{"short":"Nature of illness or problem","type":"Reference","choiceOf":"diagnosis","refers":["http://hl7.org/fhir/StructureDefinition/Condition"],"index":51},"type":{"short":"Timing or nature of the diagnosis","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/ex-diagnosistype","bindingName":"DiagnosisType"},"array":true,"index":52},"onAdmission":{"short":"Present on admission","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/ex-diagnosis-on-admission","bindingName":"DiagnosisOnAdmission"},"index":53},"packageCode":{"short":"Package billing code","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/ex-diagnosisrelatedgroup","bindingName":"DiagnosisRelatedGroup"},"index":54}},"required":["diagnosis","sequence"]},"procedure":{"short":"Clinical procedures performed","type":"BackboneElement","array":true,"index":55,"elements":{"sequence":{"short":"Procedure instance identifier","type":"positiveInt","index":56},"type":{"short":"Category of Procedure","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/ex-procedure-type","bindingName":"ProcedureType"},"array":true,"index":57},"date":{"short":"When the procedure was performed","type":"dateTime","index":58},"procedure":{"short":"Specific clinical procedure","choices":["procedureCodeableConcept","procedureReference"],"index":60},"procedureCodeableConcept":{"short":"Specific clinical procedure","type":"CodeableConcept","choiceOf":"procedure","index":61},"procedureReference":{"short":"Specific clinical procedure","type":"Reference","choiceOf":"procedure","refers":["http://hl7.org/fhir/StructureDefinition/Procedure"],"index":62},"udi":{"short":"Unique device identifier","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Device"],"array":true,"index":63}},"required":["procedure","sequence"]},"insurance":{"short":"Patient insurance information","type":"BackboneElement","isSummary":true,"array":true,"min":1,"index":64,"elements":{"sequence":{"short":"Insurance instance identifier","type":"positiveInt","isSummary":true,"index":65},"focal":{"short":"Coverage to be used for adjudication","type":"boolean","isSummary":true,"index":66},"identifier":{"short":"Pre-assigned Claim number","type":"Identifier","index":67},"coverage":{"short":"Insurance information","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Coverage"],"index":68},"businessArrangement":{"short":"Additional provider contract number","type":"string","index":69},"preAuthRef":{"short":"Prior authorization reference number","type":"string","array":true,"index":70},"claimResponse":{"short":"Adjudication results","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/ClaimResponse"],"index":71}},"required":["coverage","focal","sequence"]},"accident":{"short":"Details of the event","type":"BackboneElement","index":72,"elements":{"date":{"short":"When the incident occurred","type":"date","index":73},"type":{"short":"The nature of the accident","type":"CodeableConcept","binding":{"strength":"extensible","valueSet":"http://terminology.hl7.org/ValueSet/v3-ActIncidentCode","bindingName":"AccidentType"},"index":74},"location":{"short":"Where the event occurred","choices":["locationAddress","locationReference"],"index":76},"locationAddress":{"short":"Where the event occurred","type":"Address","choiceOf":"location","index":77},"locationReference":{"short":"Where the event occurred","type":"Reference","choiceOf":"location","refers":["http://hl7.org/fhir/StructureDefinition/Location"],"index":78}},"required":["date"]},"item":{"short":"Product or service provided","type":"BackboneElement","array":true,"index":79,"elements":{"sequence":{"short":"Item instance identifier","type":"positiveInt","index":80},"careTeamSequence":{"short":"Applicable careTeam members","type":"positiveInt","array":true,"index":81},"diagnosisSequence":{"short":"Applicable diagnoses","type":"positiveInt","array":true,"index":82},"procedureSequence":{"short":"Applicable procedures","type":"positiveInt","array":true,"index":83},"informationSequence":{"short":"Applicable exception and supporting information","type":"positiveInt","array":true,"index":84},"revenue":{"short":"Revenue or cost center code","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/ex-revenue-center","bindingName":"RevenueCenter"},"index":85},"category":{"short":"Benefit classification","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/ex-benefitcategory","bindingName":"BenefitCategory"},"index":86},"productOrService":{"short":"Billing, service, product, or drug code","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/service-uscls","bindingName":"ServiceProduct"},"index":87},"modifier":{"short":"Product or service billing modifiers","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/claim-modifiers","bindingName":"Modifiers"},"array":true,"index":88},"programCode":{"short":"Program the product or service is provided under","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/ex-program-code","bindingName":"ProgramCode"},"array":true,"index":89},"serviced":{"short":"Date or dates of service or product delivery","choices":["servicedDate","servicedPeriod"],"index":91},"servicedDate":{"short":"Date or dates of service or product delivery","type":"date","choiceOf":"serviced","index":92},"servicedPeriod":{"short":"Date or dates of service or product delivery","type":"Period","choiceOf":"serviced","index":93},"location":{"short":"Place of service or where product was supplied","choices":["locationCodeableConcept","locationAddress","locationReference"],"index":95},"locationCodeableConcept":{"short":"Place of service or where product was supplied","type":"CodeableConcept","choiceOf":"location","index":96},"locationAddress":{"short":"Place of service or where product was supplied","type":"Address","choiceOf":"location","index":97},"locationReference":{"short":"Place of service or where product was supplied","type":"Reference","choiceOf":"location","refers":["http://hl7.org/fhir/StructureDefinition/Location"],"index":98},"quantity":{"short":"Count of products or services","type":"Quantity","index":99},"unitPrice":{"short":"Fee, charge or cost per item","type":"Money","index":100},"factor":{"short":"Price scaling factor","type":"decimal","index":101},"net":{"short":"Total item cost","type":"Money","index":102},"udi":{"short":"Unique device identifier","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Device"],"array":true,"index":103},"bodySite":{"short":"Anatomical location","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/tooth","bindingName":"OralSites"},"index":104},"subSite":{"short":"Anatomical sub-location","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/surface","bindingName":"Surface"},"array":true,"index":105},"encounter":{"short":"Encounters related to this billed item","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Encounter"],"array":true,"index":106},"detail":{"short":"Product or service provided","type":"BackboneElement","array":true,"index":107,"elements":{"sequence":{"short":"Item instance identifier","type":"positiveInt","index":108},"revenue":{"short":"Revenue or cost center code","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/ex-revenue-center","bindingName":"RevenueCenter"},"index":109},"category":{"short":"Benefit classification","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/ex-benefitcategory","bindingName":"BenefitCategory"},"index":110},"productOrService":{"short":"Billing, service, product, or drug code","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/service-uscls","bindingName":"ServiceProduct"},"index":111},"modifier":{"short":"Service/Product billing modifiers","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/claim-modifiers","bindingName":"Modifiers"},"array":true,"index":112},"programCode":{"short":"Program the product or service is provided under","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/ex-program-code","bindingName":"ProgramCode"},"array":true,"index":113},"quantity":{"short":"Count of products or services","type":"Quantity","index":114},"unitPrice":{"short":"Fee, charge or cost per item","type":"Money","index":115},"factor":{"short":"Price scaling factor","type":"decimal","index":116},"net":{"short":"Total item cost","type":"Money","index":117},"udi":{"short":"Unique device identifier","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Device"],"array":true,"index":118},"subDetail":{"short":"Product or service provided","type":"BackboneElement","array":true,"index":119,"elements":{"sequence":{"short":"Item instance identifier","type":"positiveInt","index":120},"revenue":{"short":"Revenue or cost center code","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/ex-revenue-center","bindingName":"RevenueCenter"},"index":121},"category":{"short":"Benefit classification","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/ex-benefitcategory","bindingName":"BenefitCategory"},"index":122},"productOrService":{"short":"Billing, service, product, or drug code","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/service-uscls","bindingName":"ServiceProduct"},"index":123},"modifier":{"short":"Service/Product billing modifiers","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/claim-modifiers","bindingName":"Modifiers"},"array":true,"index":124},"programCode":{"short":"Program the product or service is provided under","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/ex-program-code","bindingName":"ProgramCode"},"array":true,"index":125},"quantity":{"short":"Count of products or services","type":"Quantity","index":126},"unitPrice":{"short":"Fee, charge or cost per item","type":"Money","index":127},"factor":{"short":"Price scaling factor","type":"decimal","index":128},"net":{"short":"Total item cost","type":"Money","index":129},"udi":{"short":"Unique device identifier","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Device"],"array":true,"index":130}},"required":["productOrService","sequence"]}},"required":["productOrService","sequence"]}},"required":["productOrService","sequence"]},"total":{"short":"Total claim cost","type":"Money","index":131}},"required":["created","insurance","patient","priority","provider","status","type","use"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"ClaimResponse","type":"ClaimResponse","kind":"resource","class":"resource","url":"http://hl7.org/fhir/StructureDefinition/ClaimResponse","version":"4.0.1","description":"This resource provides the adjudication details from the processing of a Claim resource.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/DomainResource","elements":{"identifier":{"short":"Business Identifier for a claim response","type":"Identifier","array":true,"index":0},"status":{"short":"active | cancelled | draft | entered-in-error","type":"code","isModifier":true,"isModifierReason":"This element is labeled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/fm-status|4.0.1","bindingName":"ClaimResponseStatus"},"index":1},"type":{"short":"More granular claim type","type":"CodeableConcept","isSummary":true,"binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/ValueSet/claim-type","bindingName":"ClaimType"},"index":2},"subType":{"short":"More granular claim type","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/claim-subtype","bindingName":"ClaimSubType"},"index":3},"use":{"short":"claim | preauthorization | predetermination","type":"code","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/claim-use|4.0.1","bindingName":"Use"},"index":4},"patient":{"short":"The recipient of the products and services","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Patient"],"index":5},"created":{"short":"Response creation date","type":"dateTime","isSummary":true,"index":6},"insurer":{"short":"Party responsible for reimbursement","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Organization"],"index":7},"requestor":{"short":"Party responsible for the claim","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Organization","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole"],"index":8},"request":{"short":"Id of resource triggering adjudication","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Claim"],"index":9},"outcome":{"short":"queued | complete | error | partial","type":"code","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/remittance-outcome|4.0.1","bindingName":"RemittanceOutcome"},"index":10},"disposition":{"short":"Disposition Message","type":"string","index":11},"preAuthRef":{"short":"Preauthorization reference","type":"string","index":12},"preAuthPeriod":{"short":"Preauthorization reference effective period","type":"Period","index":13},"payeeType":{"short":"Party to be paid any benefits payable","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/payeetype","bindingName":"PayeeType"},"index":14},"item":{"short":"Adjudication for claim line items","type":"BackboneElement","array":true,"index":15,"elements":{"itemSequence":{"short":"Claim item instance identifier","type":"positiveInt","index":16},"noteNumber":{"short":"Applicable note numbers","type":"positiveInt","array":true,"index":17},"adjudication":{"short":"Adjudication details","type":"BackboneElement","array":true,"min":1,"index":18,"elements":{"category":{"short":"Type of adjudication information","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/adjudication","bindingName":"Adjudication"},"index":19},"reason":{"short":"Explanation of adjudication outcome","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/adjudication-reason","bindingName":"AdjudicationReason"},"index":20},"amount":{"short":"Monetary amount","type":"Money","index":21},"value":{"short":"Non-monetary value","type":"decimal","index":22}},"required":["category"]},"detail":{"short":"Adjudication for claim details","type":"BackboneElement","array":true,"index":23,"elements":{"detailSequence":{"short":"Claim detail instance identifier","type":"positiveInt","index":24},"noteNumber":{"short":"Applicable note numbers","type":"positiveInt","array":true,"index":25},"adjudication":{"short":"Detail level adjudication details","elementReference":["http://hl7.org/fhir/StructureDefinition/ClaimResponse","elements","item","elements","adjudication"],"array":true,"min":1,"index":26},"subDetail":{"short":"Adjudication for claim sub-details","type":"BackboneElement","array":true,"index":27,"elements":{"subDetailSequence":{"short":"Claim sub-detail instance identifier","type":"positiveInt","index":28},"noteNumber":{"short":"Applicable note numbers","type":"positiveInt","array":true,"index":29},"adjudication":{"short":"Subdetail level adjudication details","elementReference":["http://hl7.org/fhir/StructureDefinition/ClaimResponse","elements","item","elements","adjudication"],"array":true,"index":30}},"required":["subDetailSequence"]}},"required":["adjudication","detailSequence"]}},"required":["adjudication","itemSequence"]},"addItem":{"short":"Insurer added line items","type":"BackboneElement","array":true,"index":31,"elements":{"itemSequence":{"short":"Item sequence number","type":"positiveInt","array":true,"index":32},"detailSequence":{"short":"Detail sequence number","type":"positiveInt","array":true,"index":33},"subdetailSequence":{"short":"Subdetail sequence number","type":"positiveInt","array":true,"index":34},"provider":{"short":"Authorized providers","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Organization","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole"],"array":true,"index":35},"productOrService":{"short":"Billing, service, product, or drug code","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/service-uscls","bindingName":"ServiceProduct"},"index":36},"modifier":{"short":"Service/Product billing modifiers","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/claim-modifiers","bindingName":"Modifiers"},"array":true,"index":37},"programCode":{"short":"Program the product or service is provided under","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/ex-program-code","bindingName":"ProgramCode"},"array":true,"index":38},"serviced":{"short":"Date or dates of service or product delivery","choices":["servicedDate","servicedPeriod"],"index":40},"servicedDate":{"short":"Date or dates of service or product delivery","type":"date","choiceOf":"serviced","index":41},"servicedPeriod":{"short":"Date or dates of service or product delivery","type":"Period","choiceOf":"serviced","index":42},"location":{"short":"Place of service or where product was supplied","choices":["locationCodeableConcept","locationAddress","locationReference"],"index":44},"locationCodeableConcept":{"short":"Place of service or where product was supplied","type":"CodeableConcept","choiceOf":"location","index":45},"locationAddress":{"short":"Place of service or where product was supplied","type":"Address","choiceOf":"location","index":46},"locationReference":{"short":"Place of service or where product was supplied","type":"Reference","choiceOf":"location","refers":["http://hl7.org/fhir/StructureDefinition/Location"],"index":47},"quantity":{"short":"Count of products or services","type":"Quantity","index":48},"unitPrice":{"short":"Fee, charge or cost per item","type":"Money","index":49},"factor":{"short":"Price scaling factor","type":"decimal","index":50},"net":{"short":"Total item cost","type":"Money","index":51},"bodySite":{"short":"Anatomical location","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/tooth","bindingName":"OralSites"},"index":52},"subSite":{"short":"Anatomical sub-location","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/surface","bindingName":"Surface"},"array":true,"index":53},"noteNumber":{"short":"Applicable note numbers","type":"positiveInt","array":true,"index":54},"adjudication":{"short":"Added items adjudication","elementReference":["http://hl7.org/fhir/StructureDefinition/ClaimResponse","elements","item","elements","adjudication"],"array":true,"min":1,"index":55},"detail":{"short":"Insurer added line details","type":"BackboneElement","array":true,"index":56,"elements":{"productOrService":{"short":"Billing, service, product, or drug code","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/service-uscls","bindingName":"ServiceProduct"},"index":57},"modifier":{"short":"Service/Product billing modifiers","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/claim-modifiers","bindingName":"Modifiers"},"array":true,"index":58},"quantity":{"short":"Count of products or services","type":"Quantity","index":59},"unitPrice":{"short":"Fee, charge or cost per item","type":"Money","index":60},"factor":{"short":"Price scaling factor","type":"decimal","index":61},"net":{"short":"Total item cost","type":"Money","index":62},"noteNumber":{"short":"Applicable note numbers","type":"positiveInt","array":true,"index":63},"adjudication":{"short":"Added items detail adjudication","elementReference":["http://hl7.org/fhir/StructureDefinition/ClaimResponse","elements","item","elements","adjudication"],"array":true,"min":1,"index":64},"subDetail":{"short":"Insurer added line items","type":"BackboneElement","array":true,"index":65,"elements":{"productOrService":{"short":"Billing, service, product, or drug code","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/service-uscls","bindingName":"ServiceProduct"},"index":66},"modifier":{"short":"Service/Product billing modifiers","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/claim-modifiers","bindingName":"Modifiers"},"array":true,"index":67},"quantity":{"short":"Count of products or services","type":"Quantity","index":68},"unitPrice":{"short":"Fee, charge or cost per item","type":"Money","index":69},"factor":{"short":"Price scaling factor","type":"decimal","index":70},"net":{"short":"Total item cost","type":"Money","index":71},"noteNumber":{"short":"Applicable note numbers","type":"positiveInt","array":true,"index":72},"adjudication":{"short":"Added items detail adjudication","elementReference":["http://hl7.org/fhir/StructureDefinition/ClaimResponse","elements","item","elements","adjudication"],"array":true,"min":1,"index":73}},"required":["adjudication","productOrService"]}},"required":["adjudication","productOrService"]}},"required":["adjudication","productOrService"]},"adjudication":{"short":"Header-level adjudication","elementReference":["http://hl7.org/fhir/StructureDefinition/ClaimResponse","elements","item","elements","adjudication"],"array":true,"index":74},"total":{"short":"Adjudication totals","type":"BackboneElement","isSummary":true,"array":true,"index":75,"elements":{"category":{"short":"Type of adjudication information","type":"CodeableConcept","isSummary":true,"binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/adjudication","bindingName":"Adjudication"},"index":76},"amount":{"short":"Financial total for the category","type":"Money","isSummary":true,"index":77}},"required":["amount","category"]},"payment":{"short":"Payment Details","type":"BackboneElement","index":78,"elements":{"type":{"short":"Partial or complete payment","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/ex-paymenttype","bindingName":"PaymentType"},"index":79},"adjustment":{"short":"Payment adjustment for non-claim issues","type":"Money","index":80},"adjustmentReason":{"short":"Explanation for the adjustment","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/payment-adjustment-reason","bindingName":"PaymentAdjustmentReason"},"index":81},"date":{"short":"Expected date of payment","type":"date","index":82},"amount":{"short":"Payable amount after adjustment","type":"Money","index":83},"identifier":{"short":"Business identifier for the payment","type":"Identifier","index":84}},"required":["amount","type"]},"fundsReserve":{"short":"Funds reserved status","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/fundsreserve","bindingName":"FundsReserve"},"index":85},"formCode":{"short":"Printed form identifier","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/forms","bindingName":"Forms"},"index":86},"form":{"short":"Printed reference or actual form","type":"Attachment","index":87},"processNote":{"short":"Note concerning adjudication","type":"BackboneElement","array":true,"index":88,"elements":{"number":{"short":"Note instance identifier","type":"positiveInt","index":89},"type":{"short":"display | print | printoper","type":"code","binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/note-type|4.0.1","bindingName":"NoteType"},"index":90},"text":{"short":"Note explanatory text","type":"string","index":91},"language":{"short":"Language of the text","type":"CodeableConcept","binding":{"strength":"preferred","valueSet":"http://hl7.org/fhir/ValueSet/languages","bindingName":"Language"},"index":92}},"required":["text"]},"communicationRequest":{"short":"Request for additional information","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/CommunicationRequest"],"array":true,"index":93},"insurance":{"short":"Patient insurance information","type":"BackboneElement","array":true,"index":94,"elements":{"sequence":{"short":"Insurance instance identifier","type":"positiveInt","index":95},"focal":{"short":"Coverage to be used for adjudication","type":"boolean","index":96},"coverage":{"short":"Insurance information","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Coverage"],"index":97},"businessArrangement":{"short":"Additional provider contract number","type":"string","index":98},"claimResponse":{"short":"Adjudication results","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/ClaimResponse"],"index":99}},"required":["coverage","focal","sequence"]},"error":{"short":"Processing errors","type":"BackboneElement","array":true,"index":100,"elements":{"itemSequence":{"short":"Item sequence number","type":"positiveInt","index":101},"detailSequence":{"short":"Detail sequence number","type":"positiveInt","index":102},"subDetailSequence":{"short":"Subdetail sequence number","type":"positiveInt","index":103},"code":{"short":"Error code detailing processing issues","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/adjudication-error","bindingName":"AdjudicationError"},"index":104}},"required":["code"]}},"required":["created","insurer","outcome","patient","status","type","use"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"Clinical Document","type":"Composition","kind":"resource","class":"profile","url":"http://hl7.org/fhir/StructureDefinition/clinicaldocument","version":"4.0.1","description":"The Clinical Document profile constrains Composition to specify a clinical document (matching CDA). \\n\\nThe base Composition is a general resource for compositions or documents about any kind of subject that might be encountered in healthcare including such things as guidelines, medicines, etc. A clinical document is focused on documents related to the provision of care process, where the subject is a patient, a group of patients, or a closely related concept. A clinical document has additional requirements around confidentiality that do not apply in the same way to other kinds of documents.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Composition","extensions":{"versionNumber":{"short":"Version-specific identifier for composition","url":"http://hl7.org/fhir/StructureDefinition/composition-clinicaldocument-versionNumber","index":0}},"elements":{"extension":{"short":"Version-specific identifier for composition","type":"Extension","url":"http://hl7.org/fhir/StructureDefinition/composition-clinicaldocument-versionNumber","index":0,"slicing":{"slices":{"versionNumber":{"match":{},"schema":{"short":"Version-specific identifier for composition","type":"Extension","url":"http://hl7.org/fhir/StructureDefinition/composition-clinicaldocument-versionNumber","index":0}}}}},"subject":{"type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Device","http://hl7.org/fhir/StructureDefinition/Group","http://hl7.org/fhir/StructureDefinition/Location","http://hl7.org/fhir/StructureDefinition/Patient","http://hl7.org/fhir/StructureDefinition/Practitioner"],"index":1}},"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"ClinicalImpression","type":"ClinicalImpression","kind":"resource","class":"resource","url":"http://hl7.org/fhir/StructureDefinition/ClinicalImpression","version":"4.0.1","description":"A record of a clinical assessment performed to determine what problem(s) may affect the patient and before planning the treatments or management strategies that are best to manage a patient's condition. Assessments are often 1:1 with a clinical consultation / encounter, but this varies greatly depending on the clinical workflow. This resource is called \\"ClinicalImpression\\" rather than \\"ClinicalAssessment\\" to avoid confusion with the recording of assessment tools such as Apgar score.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/DomainResource","elements":{"identifier":{"short":"Business identifier","type":"Identifier","isSummary":true,"array":true,"index":0},"status":{"short":"in-progress | completed | entered-in-error","type":"code","isModifier":true,"isModifierReason":"This element is labelled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/clinicalimpression-status|4.0.1","bindingName":"ClinicalImpressionStatus"},"index":1},"statusReason":{"short":"Reason for current status","type":"CodeableConcept","index":2},"code":{"short":"Kind of assessment performed","type":"CodeableConcept","isSummary":true,"index":3},"description":{"short":"Why/how the assessment was performed","type":"string","isSummary":true,"index":4},"subject":{"short":"Patient or group assessed","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Group","http://hl7.org/fhir/StructureDefinition/Patient"],"index":5},"encounter":{"short":"Encounter created as part of","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Encounter"],"index":6},"effective":{"short":"Time of assessment","isSummary":true,"choices":["effectiveDateTime","effectivePeriod"],"index":8},"effectiveDateTime":{"short":"Time of assessment","type":"dateTime","isSummary":true,"choiceOf":"effective","index":9},"effectivePeriod":{"short":"Time of assessment","type":"Period","isSummary":true,"choiceOf":"effective","index":10},"date":{"short":"When the assessment was documented","type":"dateTime","isSummary":true,"index":11},"assessor":{"short":"The clinician performing the assessment","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole"],"index":12},"previous":{"short":"Reference to last assessment","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/ClinicalImpression"],"index":13},"problem":{"short":"Relevant impressions of patient state","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/AllergyIntolerance","http://hl7.org/fhir/StructureDefinition/Condition"],"array":true,"index":14},"investigation":{"short":"One or more sets of investigations (signs, symptoms, etc.)","type":"BackboneElement","array":true,"index":15,"elements":{"code":{"short":"A name/code for the set","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/investigation-sets","bindingName":"InvestigationGroupType"},"index":16},"item":{"short":"Record of a specific investigation","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/DiagnosticReport","http://hl7.org/fhir/StructureDefinition/FamilyMemberHistory","http://hl7.org/fhir/StructureDefinition/ImagingStudy","http://hl7.org/fhir/StructureDefinition/Media","http://hl7.org/fhir/StructureDefinition/Observation","http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse","http://hl7.org/fhir/StructureDefinition/RiskAssessment"],"array":true,"index":17}},"required":["code"]},"protocol":{"short":"Clinical Protocol followed","type":"uri","array":true,"index":18},"summary":{"short":"Summary of the assessment","type":"string","index":19},"finding":{"short":"Possible or likely findings and diagnoses","type":"BackboneElement","array":true,"index":20,"elements":{"itemCodeableConcept":{"short":"What was found","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/condition-code","bindingName":"ConditionKind"},"index":21},"itemReference":{"short":"What was found","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Condition","http://hl7.org/fhir/StructureDefinition/Media","http://hl7.org/fhir/StructureDefinition/Observation"],"index":22},"basis":{"short":"Which investigations support finding","type":"string","index":23}}},"prognosisCodeableConcept":{"short":"Estimate of likely outcome","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/clinicalimpression-prognosis","bindingName":"ClinicalImpressionPrognosis"},"array":true,"index":24},"prognosisReference":{"short":"RiskAssessment expressing likely outcome","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/RiskAssessment"],"array":true,"index":25},"supportingInfo":{"short":"Information supporting the clinical impression","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Resource"],"array":true,"index":26},"note":{"short":"Comments made about the ClinicalImpression","type":"Annotation","array":true,"index":27}},"required":["status","subject"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"code","type":"code","kind":"primitive-type","class":"primitive-type","url":"http://hl7.org/fhir/StructureDefinition/code","version":"4.0.1","description":"Base StructureDefinition for code type: A string which has at least one character and no leading or trailing whitespace and where there is no whitespace other than single spaces in the contents","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/string","package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"CodeableConcept","type":"CodeableConcept","kind":"complex-type","class":"complex-type","url":"http://hl7.org/fhir/StructureDefinition/CodeableConcept","version":"4.0.1","description":"Base StructureDefinition for CodeableConcept Type: A concept that may be defined by a formal reference to a terminology or ontology or may be provided by text.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/Element","elements":{"coding":{"short":"Code defined by a terminology system","type":"Coding","isSummary":true,"array":true,"index":0},"text":{"short":"Plain text representation of the concept","type":"string","isSummary":true,"index":1}},"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"alternate","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/codesystem-alternate","version":"4.0.1","description":"An additional code that may be used to represent the concept.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{"code":{"min":1,"max":1,"short":"Code that represents the concept","_required":true,"index":0,"extensions":{},"required":["value"]},"use":{"min":1,"max":1,"short":"Expected use of the code","_required":true,"index":6,"extensions":{},"required":["value"]}},"elements":{"extension":{"short":"Code that represents the concept","type":"Extension","index":0,"slicing":{"slices":{"code":{"match":{},"schema":{"short":"Code that represents the concept","type":"Extension","_required":true,"index":0,"extensions":"[Circular Reference]","elements":{"extension":{"index":1},"url":{"type":"uri","pattern":{"type":"uri","value":"code"},"index":2},"value":{"choices":["valueCode"],"index":4},"valueCode":{"type":"code","choiceOf":"value","index":5}},"required":["value"]},"min":1,"max":1},"use":{"match":{},"schema":{"short":"Expected use of the code","type":"Extension","_required":true,"index":6,"extensions":"[Circular Reference]","elements":{"extension":{"index":7},"url":{"type":"uri","pattern":{"type":"uri","value":"use"},"index":8},"value":{"choices":["valueCoding"],"index":10},"valueCoding":{"type":"Coding","choiceOf":"value","index":11}},"required":["value"]},"min":1,"max":1}}}},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/codesystem-alternate"},"type":"uri","index":12}},"required":["extension"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"author","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/codesystem-author","version":"4.0.1","description":"User or Org actually involved in creating the value set content.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/codesystem-author"},"type":"uri","index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"concept-comments","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/codesystem-concept-comments","version":"4.0.1","description":"A comment that explains how this code is used in this context (where the value set is expected to be used).","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/codesystem-concept-comments"},"type":"uri","index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"conceptOrder","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/codesystem-conceptOrder","version":"4.0.1","description":"Identifies the relative order in which concepts within the value set should be presented to a user.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/codesystem-conceptOrder"},"type":"uri","index":1},"value":{"choices":["valueInteger"],"index":3},"valueInteger":{"type":"integer","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"effectiveDate","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/codesystem-effectiveDate","version":"4.0.1","description":"This is the first date-time when the value set version becomes active, so this value is present on Inactive value set versions as well. The start Date_time is expected to be as of 0001 UTC of the Effective Date.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/codesystem-effectiveDate"},"type":"uri","index":1},"value":{"choices":["valueDate"],"index":3},"valueDate":{"type":"date","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"expirationDate","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/codesystem-expirationDate","version":"4.0.1","description":"The date when the value set version is no longer expected to be used to create new content. This is the first date-time when the value set version becomes Inactive, so this value MUST present on all Inactive value set versions. The start Date_time is expected to be as of 0001 UTC of the Expiration Date.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/codesystem-expirationDate"},"type":"uri","index":1},"value":{"choices":["valueDate"],"index":3},"valueDate":{"type":"date","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"history","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/codesystem-history","version":"4.0.1","description":"Information on changes made to the Value Set Definition over time, and also has a contained audit trail of all such changes.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{"name":{"max":1,"short":"The name of this set of history entries","isModifier":false,"index":0,"extensions":{},"required":["value"]},"revision":{"short":"Audit of all changes for a history entry","isModifier":false,"array":true,"index":6,"extensions":{"date":{"min":1,"max":1,"short":"Date the change was made","isModifier":false,"_required":true,"index":8,"extensions":{},"required":["value"]},"id":{"min":1,"max":1,"short":"Version marker after the change was made","isModifier":false,"_required":true,"index":14,"extensions":{},"required":["value"]},"author":{"min":1,"max":1,"short":"Who made the change","isModifier":false,"_required":true,"index":20,"extensions":{},"required":["value"]},"notes":{"max":1,"short":"Information about the change","isModifier":false,"index":26,"extensions":{},"required":["value"]}}}},"elements":{"extension":{"short":"The name of this set of history entries","type":"Extension","isModifier":false,"index":0,"slicing":{"slices":{"name":{"match":{},"schema":{"short":"The name of this set of history entries","type":"Extension","isModifier":false,"index":0,"extensions":"[Circular Reference]","elements":{"extension":{"index":1},"url":{"type":"uri","pattern":{"type":"uri","value":"name"},"index":2},"value":{"choices":["valueString"],"index":4},"valueString":{"type":"string","choiceOf":"value","index":5}},"required":["value"]},"max":1},"revision":{"match":{},"schema":{"short":"Audit of all changes for a history entry","type":"Extension","isModifier":false,"array":true,"index":6,"extensions":"[Circular Reference]","elements":{"extension":{"index":7,"slicing":{"slices":{"date":{"match":{},"schema":{"short":"Date the change was made","type":"Extension","isModifier":false,"_required":true,"index":8,"extensions":"[Circular Reference]","elements":{"extension":{"index":9},"url":{"type":"uri","pattern":{"type":"uri","value":"date"},"index":10},"value":{"choices":["valueDateTime"],"index":12},"valueDateTime":{"type":"dateTime","choiceOf":"value","index":13}},"required":["value"]},"min":1,"max":1},"id":{"match":{},"schema":{"short":"Version marker after the change was made","type":"Extension","isModifier":false,"_required":true,"index":14,"extensions":"[Circular Reference]","elements":{"extension":{"index":15},"url":{"type":"uri","pattern":{"type":"uri","value":"id"},"index":16},"value":{"choices":["valueString"],"index":18},"valueString":{"type":"string","choiceOf":"value","index":19}},"required":["value"]},"min":1,"max":1},"author":{"match":{},"schema":{"short":"Who made the change","type":"Extension","isModifier":false,"_required":true,"index":20,"extensions":"[Circular Reference]","elements":{"extension":{"index":21},"url":{"type":"uri","pattern":{"type":"uri","value":"author"},"index":22},"value":{"choices":["valueString"],"index":24},"valueString":{"type":"string","choiceOf":"value","index":25}},"required":["value"]},"min":1,"max":1},"notes":{"match":{},"schema":{"short":"Information about the change","type":"Extension","isModifier":false,"index":26,"extensions":"[Circular Reference]","elements":{"extension":{"index":27},"url":{"type":"uri","pattern":{"type":"uri","value":"notes"},"index":28},"value":{"choices":["valueString"],"index":30},"valueString":{"type":"string","choiceOf":"value","index":31}},"required":["value"]},"max":1}}}},"url":{"type":"uri","pattern":{"type":"uri","value":"revision"},"index":32}}}}}}},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/codesystem-history"},"type":"uri","index":34}},"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"keyWord","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/codesystem-keyWord","version":"4.0.1","description":"Word or words used in an information retrieval system to indicate the content of the value set.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/codesystem-keyWord"},"type":"uri","index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"label","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/codesystem-label","version":"4.0.1","description":"The label to list in front of a code when presenting a list of possible values in a questionnaire-like fashion.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/codesystem-label"},"type":"uri","index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"map","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/codesystem-map","version":"4.0.1","description":"A reference to a concept map that is relevant for the interpretation of this value set.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/codesystem-map"},"type":"uri","index":1},"value":{"choices":["valueCanonical"],"index":3},"valueCanonical":{"type":"canonical","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"otherName","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/codesystem-otherName","version":"4.0.1","description":"Human readable names for the codesystem.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{"name":{"min":1,"max":1,"short":"Human readable, short and specific","isModifier":false,"_required":true,"index":0,"extensions":{},"required":["value"]},"preferred":{"max":1,"short":"Which name is preferred for this language","isModifier":false,"index":6,"extensions":{},"required":["value"]}},"elements":{"extension":{"short":"Human readable, short and specific","type":"Extension","isModifier":false,"index":0,"slicing":{"slices":{"name":{"match":{},"schema":{"short":"Human readable, short and specific","type":"Extension","isModifier":false,"_required":true,"index":0,"extensions":"[Circular Reference]","elements":{"extension":{"index":1},"url":{"type":"uri","pattern":{"type":"uri","value":"name"},"index":2},"value":{"choices":["valueString"],"index":4},"valueString":{"type":"string","choiceOf":"value","index":5}},"required":["value"]},"min":1,"max":1},"preferred":{"match":{},"schema":{"short":"Which name is preferred for this language","type":"Extension","isModifier":false,"index":6,"extensions":"[Circular Reference]","elements":{"extension":{"index":7},"url":{"type":"uri","pattern":{"type":"uri","value":"preferred"},"index":8},"value":{"choices":["valueBoolean"],"index":10},"valueBoolean":{"type":"boolean","choiceOf":"value","index":11}},"required":["value"]},"max":1}}}},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/codesystem-otherName"},"type":"uri","index":12}},"required":["extension"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"replacedby","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/codesystem-replacedby","version":"4.0.1","description":"A code that replaces this - use this code instead.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/codesystem-replacedby"},"type":"uri","index":1},"value":{"choices":["valueCoding"],"index":3},"valueCoding":{"type":"Coding","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"sourceReference","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/codesystem-sourceReference","version":"4.0.1","description":"This text is intended to act as a citation to work done elsewhere that is not part of the current stewarding process where the referenced source is in some way a basis of the current value set definition.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/codesystem-sourceReference"},"type":"uri","index":1},"value":{"choices":["valueUri"],"index":3},"valueUri":{"type":"uri","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"trusted-expansion","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/codesystem-trusted-expansion","version":"4.0.1","description":"Indicates an authoritative source for performing value set expansions.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/codesystem-trusted-expansion"},"type":"uri","index":1},"value":{"choices":["valueUri"],"index":3},"valueUri":{"type":"uri","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"usage","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/codesystem-usage","version":"4.0.1","description":"Consumers of the value set and the implementations, projects or standards that the author has utilized the value set in.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{"user":{"min":1,"max":1,"short":"A consumer of or client for the value set","isModifier":false,"_required":true,"index":0,"extensions":{},"required":["value"]},"use":{"min":1,"max":1,"short":"Implementation/project/standard that uses value set","isModifier":false,"_required":true,"index":6,"extensions":{},"required":["value"]}},"elements":{"extension":{"short":"A consumer of or client for the value set","type":"Extension","isModifier":false,"index":0,"slicing":{"slices":{"user":{"match":{},"schema":{"short":"A consumer of or client for the value set","type":"Extension","isModifier":false,"_required":true,"index":0,"extensions":"[Circular Reference]","elements":{"extension":{"index":1},"url":{"type":"uri","pattern":{"type":"uri","value":"user"},"index":2},"value":{"choices":["valueString"],"index":4},"valueString":{"type":"string","choiceOf":"value","index":5}},"required":["value"]},"min":1,"max":1},"use":{"match":{},"schema":{"short":"Implementation/project/standard that uses value set","type":"Extension","isModifier":false,"_required":true,"index":6,"extensions":"[Circular Reference]","elements":{"extension":{"index":7},"url":{"type":"uri","pattern":{"type":"uri","value":"use"},"index":8},"value":{"choices":["valueString"],"index":10},"valueString":{"type":"string","choiceOf":"value","index":11}},"required":["value"]},"min":1,"max":1}}}},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/codesystem-usage"},"type":"uri","index":12}},"required":["extension"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"warning","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/codesystem-warning","version":"4.0.1","description":"An extra warning about the correct use of the value set.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/codesystem-warning"},"type":"uri","index":1},"value":{"choices":["valueMarkdown"],"index":3},"valueMarkdown":{"type":"markdown","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"workflowStatus","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/codesystem-workflowStatus","version":"4.0.1","description":"Workflow Status is used to represent details of the value set development process while the value set has an Activity Status of Preliminary. The development of a value set often follows a formal workflow process from initiation to completion, and this element carries the state variable for this state machine. The assumption is that when first created a value set would have a workflow state of Draft. Additional workflow states may be used.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/codesystem-workflowStatus"},"type":"uri","index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"alternate","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/codesystem-alternate","version":"4.0.1","description":"An additional code that may be used to represent the concept.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{"code":{"min":1,"max":1,"short":"Code that represents the concept","_required":true,"index":0,"extensions":{},"required":["value"]},"use":{"min":1,"max":1,"short":"Expected use of the code","_required":true,"index":6,"extensions":{},"required":["value"]}},"elements":{"extension":{"short":"Code that represents the concept","type":"Extension","index":0,"slicing":{"slices":{"code":{"match":{},"schema":{"short":"Code that represents the concept","type":"Extension","_required":true,"index":0,"extensions":"[Circular Reference]","elements":{"extension":{"index":1},"url":{"type":"uri","fixed":{"type":"uri","value":"code"},"index":2},"value":{"choices":["valueCode"],"index":4},"valueCode":{"type":"code","choiceOf":"value","index":5}},"required":["value"]},"min":1,"max":1},"use":{"match":{},"schema":{"short":"Expected use of the code","type":"Extension","_required":true,"index":6,"extensions":"[Circular Reference]","elements":{"extension":{"index":7},"url":{"type":"uri","fixed":{"type":"uri","value":"use"},"index":8},"value":{"choices":["valueCoding"],"index":10},"valueCoding":{"type":"Coding","choiceOf":"value","index":11}},"required":["value"]},"min":1,"max":1}}}},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/codesystem-alternate"},"index":12}},"required":["extension"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"author","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/codesystem-author","version":"4.0.1","description":"User or Org actually involved in creating the value set content.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/codesystem-author"},"index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"concept-comments","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/codesystem-concept-comments","version":"4.0.1","description":"A comment that explains how this code is used in this context (where the value set is expected to be used).","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/codesystem-concept-comments"},"index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"conceptOrder","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/codesystem-conceptOrder","version":"4.0.1","description":"Identifies the relative order in which concepts within the value set should be presented to a user.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/codesystem-conceptOrder"},"index":1},"value":{"choices":["valueInteger"],"index":3},"valueInteger":{"type":"integer","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"effectiveDate","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/codesystem-effectiveDate","version":"4.0.1","description":"This is the first date-time when the value set version becomes active, so this value is present on Inactive value set versions as well. The start Date_time is expected to be as of 0001 UTC of the Effective Date.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/codesystem-effectiveDate"},"index":1},"value":{"choices":["valueDate"],"index":3},"valueDate":{"type":"date","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"expirationDate","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/codesystem-expirationDate","version":"4.0.1","description":"The date when the value set version is no longer expected to be used to create new content. This is the first date-time when the value set version becomes Inactive, so this value MUST present on all Inactive value set versions. The start Date_time is expected to be as of 0001 UTC of the Expiration Date.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/codesystem-expirationDate"},"index":1},"value":{"choices":["valueDate"],"index":3},"valueDate":{"type":"date","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"history","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/codesystem-history","version":"4.0.1","description":"Information on changes made to the Value Set Definition over time, and also has a contained audit trail of all such changes.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{"name":{"max":1,"short":"The name of this set of history entries","isModifier":false,"index":0,"extensions":{},"required":["value"]},"revision":{"short":"Audit of all changes for a history entry","isModifier":false,"array":true,"index":6,"extensions":{"date":{"min":1,"max":1,"short":"Date the change was made","isModifier":false,"_required":true,"index":8,"extensions":{},"required":["value"]},"id":{"min":1,"max":1,"short":"Version marker after the change was made","isModifier":false,"_required":true,"index":14,"extensions":{},"required":["value"]},"author":{"min":1,"max":1,"short":"Who made the change","isModifier":false,"_required":true,"index":20,"extensions":{},"required":["value"]},"notes":{"max":1,"short":"Information about the change","isModifier":false,"index":26,"extensions":{},"required":["value"]}}}},"elements":{"extension":{"short":"The name of this set of history entries","type":"Extension","isModifier":false,"index":0,"slicing":{"slices":{"name":{"match":{},"schema":{"short":"The name of this set of history entries","type":"Extension","isModifier":false,"index":0,"extensions":"[Circular Reference]","elements":{"extension":{"index":1},"url":{"type":"uri","fixed":{"type":"uri","value":"name"},"index":2},"value":{"choices":["valueString"],"index":4},"valueString":{"type":"string","choiceOf":"value","index":5}},"required":["value"]},"max":1},"revision":{"match":{},"schema":{"short":"Audit of all changes for a history entry","type":"Extension","isModifier":false,"array":true,"index":6,"extensions":"[Circular Reference]","elements":{"extension":{"index":7,"slicing":{"slices":{"date":{"match":{},"schema":{"short":"Date the change was made","type":"Extension","isModifier":false,"_required":true,"index":8,"extensions":"[Circular Reference]","elements":{"extension":{"index":9},"url":{"type":"uri","fixed":{"type":"uri","value":"date"},"index":10},"value":{"choices":["valueDateTime"],"index":12},"valueDateTime":{"type":"dateTime","choiceOf":"value","index":13}},"required":["value"]},"min":1,"max":1},"id":{"match":{},"schema":{"short":"Version marker after the change was made","type":"Extension","isModifier":false,"_required":true,"index":14,"extensions":"[Circular Reference]","elements":{"extension":{"index":15},"url":{"type":"uri","fixed":{"type":"uri","value":"id"},"index":16},"value":{"choices":["valueString"],"index":18},"valueString":{"type":"string","choiceOf":"value","index":19}},"required":["value"]},"min":1,"max":1},"author":{"match":{},"schema":{"short":"Who made the change","type":"Extension","isModifier":false,"_required":true,"index":20,"extensions":"[Circular Reference]","elements":{"extension":{"index":21},"url":{"type":"uri","fixed":{"type":"uri","value":"author"},"index":22},"value":{"choices":["valueString"],"index":24},"valueString":{"type":"string","choiceOf":"value","index":25}},"required":["value"]},"min":1,"max":1},"notes":{"match":{},"schema":{"short":"Information about the change","type":"Extension","isModifier":false,"index":26,"extensions":"[Circular Reference]","elements":{"extension":{"index":27},"url":{"type":"uri","fixed":{"type":"uri","value":"notes"},"index":28},"value":{"choices":["valueString"],"index":30},"valueString":{"type":"string","choiceOf":"value","index":31}},"required":["value"]},"max":1}}}},"url":{"type":"uri","fixed":{"type":"uri","value":"revision"},"index":32}}}}}}},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/codesystem-history"},"index":34}},"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"keyWord","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/codesystem-keyWord","version":"4.0.1","description":"Word or words used in an information retrieval system to indicate the content of the value set.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/codesystem-keyWord"},"index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"label","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/codesystem-label","version":"4.0.1","description":"The label to list in front of a code when presenting a list of possible values in a questionnaire-like fashion.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/codesystem-label"},"index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"map","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/codesystem-map","version":"4.0.1","description":"A reference to a concept map that is relevant for the interpretation of this value set.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/codesystem-map"},"index":1},"value":{"choices":["valueCanonical"],"index":3},"valueCanonical":{"type":"canonical","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"otherName","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/codesystem-otherName","version":"4.0.1","description":"Human readable names for the codesystem.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{"name":{"min":1,"max":1,"short":"Human readable, short and specific","isModifier":false,"_required":true,"index":0,"extensions":{},"required":["value"]},"preferred":{"max":1,"short":"Which name is preferred for this language","isModifier":false,"index":6,"extensions":{},"required":["value"]}},"elements":{"extension":{"short":"Human readable, short and specific","type":"Extension","isModifier":false,"index":0,"slicing":{"slices":{"name":{"match":{},"schema":{"short":"Human readable, short and specific","type":"Extension","isModifier":false,"_required":true,"index":0,"extensions":"[Circular Reference]","elements":{"extension":{"index":1},"url":{"type":"uri","fixed":{"type":"uri","value":"name"},"index":2},"value":{"choices":["valueString"],"index":4},"valueString":{"type":"string","choiceOf":"value","index":5}},"required":["value"]},"min":1,"max":1},"preferred":{"match":{},"schema":{"short":"Which name is preferred for this language","type":"Extension","isModifier":false,"index":6,"extensions":"[Circular Reference]","elements":{"extension":{"index":7},"url":{"type":"uri","fixed":{"type":"uri","value":"preferred"},"index":8},"value":{"choices":["valueBoolean"],"index":10},"valueBoolean":{"type":"boolean","choiceOf":"value","index":11}},"required":["value"]},"max":1}}}},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/codesystem-otherName"},"index":12}},"required":["extension"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"replacedby","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/codesystem-replacedby","version":"4.0.1","description":"A code that replaces this - use this code instead.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/codesystem-replacedby"},"index":1},"value":{"choices":["valueCoding"],"index":3},"valueCoding":{"type":"Coding","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"sourceReference","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/codesystem-sourceReference","version":"4.0.1","description":"This text is intended to act as a citation to work done elsewhere that is not part of the current stewarding process where the referenced source is in some way a basis of the current value set definition.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/codesystem-sourceReference"},"index":1},"value":{"choices":["valueUri"],"index":3},"valueUri":{"type":"uri","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"trusted-expansion","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/codesystem-trusted-expansion","version":"4.0.1","description":"Indicates an authoritative source for performing value set expansions.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/codesystem-trusted-expansion"},"index":1},"value":{"choices":["valueUri"],"index":3},"valueUri":{"type":"uri","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"usage","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/codesystem-usage","version":"4.0.1","description":"Consumers of the value set and the implementations, projects or standards that the author has utilized the value set in.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{"user":{"min":1,"max":1,"short":"A consumer of or client for the value set","isModifier":false,"_required":true,"index":0,"extensions":{},"required":["value"]},"use":{"min":1,"max":1,"short":"Implementation/project/standard that uses value set","isModifier":false,"_required":true,"index":6,"extensions":{},"required":["value"]}},"elements":{"extension":{"short":"A consumer of or client for the value set","type":"Extension","isModifier":false,"index":0,"slicing":{"slices":{"user":{"match":{},"schema":{"short":"A consumer of or client for the value set","type":"Extension","isModifier":false,"_required":true,"index":0,"extensions":"[Circular Reference]","elements":{"extension":{"index":1},"url":{"type":"uri","fixed":{"type":"uri","value":"user"},"index":2},"value":{"choices":["valueString"],"index":4},"valueString":{"type":"string","choiceOf":"value","index":5}},"required":["value"]},"min":1,"max":1},"use":{"match":{},"schema":{"short":"Implementation/project/standard that uses value set","type":"Extension","isModifier":false,"_required":true,"index":6,"extensions":"[Circular Reference]","elements":{"extension":{"index":7},"url":{"type":"uri","fixed":{"type":"uri","value":"use"},"index":8},"value":{"choices":["valueString"],"index":10},"valueString":{"type":"string","choiceOf":"value","index":11}},"required":["value"]},"min":1,"max":1}}}},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/codesystem-usage"},"index":12}},"required":["extension"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"warning","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/codesystem-warning","version":"4.0.1","description":"An extra warning about the correct use of the value set.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/codesystem-warning"},"index":1},"value":{"choices":["valueMarkdown"],"index":3},"valueMarkdown":{"type":"markdown","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"workflowStatus","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/codesystem-workflowStatus","version":"4.0.1","description":"Workflow Status is used to represent details of the value set development process while the value set has an Activity Status of Preliminary. The development of a value set often follows a formal workflow process from initiation to completion, and this element carries the state variable for this state machine. The assumption is that when first created a value set would have a workflow state of Draft. Additional workflow states may be used.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/codesystem-workflowStatus"},"index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"CodeSystem","type":"CodeSystem","kind":"resource","class":"resource","url":"http://hl7.org/fhir/StructureDefinition/CodeSystem","version":"4.0.1","description":"The CodeSystem resource is used to declare the existence of and describe a code system or code system supplement and its key properties, and optionally define a part or all of its content.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/DomainResource","elements":{"url":{"short":"Canonical identifier for this code system, represented as a URI (globally unique) (Coding.system)","type":"uri","isSummary":true,"index":0},"identifier":{"short":"Additional identifier for the code system (business identifier)","type":"Identifier","isSummary":true,"array":true,"index":1},"version":{"short":"Business version of the code system (Coding.version)","type":"string","isSummary":true,"index":2},"name":{"short":"Name for this code system (computer friendly)","type":"string","isSummary":true,"index":3},"title":{"short":"Name for this code system (human friendly)","type":"string","isSummary":true,"index":4},"status":{"short":"draft | active | retired | unknown","type":"code","isModifier":true,"isModifierReason":"This is labeled as \\"Is Modifier\\" because applications should not use a retired {{title}} without due consideration","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/publication-status|4.0.1","bindingName":"PublicationStatus"},"index":5},"experimental":{"short":"For testing purposes, not real usage","type":"boolean","isSummary":true,"index":6},"date":{"short":"Date last changed","type":"dateTime","isSummary":true,"index":7},"publisher":{"short":"Name of the publisher (organization or individual)","type":"string","isSummary":true,"index":8},"contact":{"short":"Contact details for the publisher","type":"ContactDetail","isSummary":true,"array":true,"index":9},"description":{"short":"Natural language description of the code system","type":"markdown","index":10},"useContext":{"short":"The context that the content is intended to support","type":"UsageContext","isSummary":true,"array":true,"index":11},"jurisdiction":{"short":"Intended jurisdiction for code system (if applicable)","type":"CodeableConcept","isSummary":true,"binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/ValueSet/jurisdiction","bindingName":"Jurisdiction"},"array":true,"index":12},"purpose":{"short":"Why this code system is defined","type":"markdown","index":13},"copyright":{"short":"Use and/or publishing restrictions","type":"markdown","index":14},"caseSensitive":{"short":"If code comparison is case sensitive","type":"boolean","isSummary":true,"index":15},"valueSet":{"short":"Canonical reference to the value set with entire code system","type":"canonical","isSummary":true,"index":16},"hierarchyMeaning":{"short":"grouped-by | is-a | part-of | classified-with","type":"code","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/codesystem-hierarchy-meaning|4.0.1","bindingName":"CodeSystemHierarchyMeaning"},"index":17},"compositional":{"short":"If code system defines a compositional grammar","type":"boolean","isSummary":true,"index":18},"versionNeeded":{"short":"If definitions are not stable","type":"boolean","isSummary":true,"index":19},"content":{"short":"not-present | example | fragment | complete | supplement","type":"code","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/codesystem-content-mode|4.0.1","bindingName":"CodeSystemContentMode"},"index":20},"supplements":{"short":"Canonical URL of Code System this adds designations and properties to","type":"canonical","isSummary":true,"index":21},"count":{"short":"Total concepts in the code system","type":"unsignedInt","isSummary":true,"index":22},"filter":{"short":"Filter that can be used in a value set","type":"BackboneElement","isSummary":true,"array":true,"index":23,"elements":{"code":{"short":"Code that identifies the filter","type":"code","isSummary":true,"index":24},"description":{"short":"How or why the filter is used","type":"string","isSummary":true,"index":25},"operator":{"short":"= | is-a | descendent-of | is-not-a | regex | in | not-in | generalizes | exists","type":"code","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/filter-operator|4.0.1","bindingName":"FilterOperator"},"array":true,"min":1,"index":26},"value":{"short":"What to use for the value","type":"string","isSummary":true,"index":27}},"required":["code","operator","value"]},"property":{"short":"Additional information supplied about each concept","type":"BackboneElement","isSummary":true,"array":true,"index":28,"elements":{"code":{"short":"Identifies the property on the concepts, and when referred to in operations","type":"code","isSummary":true,"index":29},"uri":{"short":"Formal identifier for the property","type":"uri","isSummary":true,"index":30},"description":{"short":"Why the property is defined, and/or what it conveys","type":"string","isSummary":true,"index":31},"type":{"short":"code | Coding | string | integer | boolean | dateTime | decimal","type":"code","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/concept-property-type|4.0.1","bindingName":"PropertyType"},"index":32}},"required":["code","type"]},"concept":{"short":"Concepts in the code system","type":"BackboneElement","array":true,"index":33,"elements":{"code":{"short":"Code that identifies concept","type":"code","index":34},"display":{"short":"Text to display to the user","type":"string","index":35},"definition":{"short":"Formal definition","type":"string","index":36},"designation":{"short":"Additional representations for the concept","type":"BackboneElement","array":true,"index":37,"elements":{"language":{"short":"Human language of the designation","type":"code","binding":{"strength":"preferred","valueSet":"http://hl7.org/fhir/ValueSet/languages","bindingName":"Language"},"index":38},"use":{"short":"Details how this designation would be used","type":"Coding","binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/ValueSet/designation-use","bindingName":"ConceptDesignationUse"},"index":39},"value":{"short":"The text value for this designation","type":"string","index":40}},"required":["value"]},"property":{"short":"Property value for the concept","type":"BackboneElement","array":true,"index":41,"elements":{"code":{"short":"Reference to CodeSystem.property.code","type":"code","index":42},"value":{"short":"Value of the property for this concept","choices":["valueCode","valueCoding","valueString","valueInteger","valueBoolean","valueDateTime","valueDecimal"],"index":44},"valueCode":{"short":"Value of the property for this concept","type":"code","choiceOf":"value","index":45},"valueCoding":{"short":"Value of the property for this concept","type":"Coding","choiceOf":"value","index":46},"valueString":{"short":"Value of the property for this concept","type":"string","choiceOf":"value","index":47},"valueInteger":{"short":"Value of the property for this concept","type":"integer","choiceOf":"value","index":48},"valueBoolean":{"short":"Value of the property for this concept","type":"boolean","choiceOf":"value","index":49},"valueDateTime":{"short":"Value of the property for this concept","type":"dateTime","choiceOf":"value","index":50},"valueDecimal":{"short":"Value of the property for this concept","type":"decimal","choiceOf":"value","index":51}},"required":["code","value"]},"concept":{"short":"Child Concepts (is-a/contains/categorizes)","elementReference":["http://hl7.org/fhir/StructureDefinition/CodeSystem","elements","concept"],"array":true,"index":52}},"required":["code"]}},"required":["content","status"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"sctdescid","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/coding-sctdescid","version":"4.0.1","description":"The SNOMED CT Description ID for the display.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/coding-sctdescid"},"type":"uri","index":1},"value":{"choices":["valueId"],"index":3},"valueId":{"type":"id","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"sctdescid","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/coding-sctdescid","version":"4.0.1","description":"The SNOMED CT Description ID for the display.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/coding-sctdescid"},"index":1},"value":{"choices":["valueId"],"index":3},"valueId":{"type":"id","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"Coding","type":"Coding","kind":"complex-type","class":"complex-type","url":"http://hl7.org/fhir/StructureDefinition/Coding","version":"4.0.1","description":"Base StructureDefinition for Coding Type: A reference to a code defined by a terminology system.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/Element","elements":{"system":{"short":"Identity of the terminology system","type":"uri","isSummary":true,"index":0},"version":{"short":"Version of the system - if relevant","type":"string","isSummary":true,"index":1},"code":{"short":"Symbol in syntax defined by the system","type":"code","isSummary":true,"index":2},"display":{"short":"Representation defined by the system","type":"string","isSummary":true,"index":3},"userSelected":{"short":"If this coding was chosen directly by the user","type":"boolean","isSummary":true,"index":4}},"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"media","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/communication-media","version":"4.0.1","description":"It contains enriched media representation of the alert message, such as a voice recording. This may be used, for example for compliance with jurisdictional accessibility requirements, literacy issues, or translations of the unstructured text content in other languages.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/communication-media"},"type":"uri","index":1},"value":{"choices":["valueAttachment"],"index":3},"valueAttachment":{"type":"Attachment","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"media","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/communication-media","version":"4.0.1","description":"It contains enriched media representation of the alert message, such as a voice recording. This may be used, for example for compliance with jurisdictional accessibility requirements, literacy issues, or translations of the unstructured text content in other languages.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/communication-media"},"index":1},"value":{"choices":["valueAttachment"],"index":3},"valueAttachment":{"type":"Attachment","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"Communication","type":"Communication","kind":"resource","class":"resource","url":"http://hl7.org/fhir/StructureDefinition/Communication","version":"4.0.1","description":"An occurrence of information being transmitted; e.g. an alert that was sent to a responsible provider, a public health agency that was notified about a reportable condition.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/DomainResource","elements":{"identifier":{"short":"Unique identifier","type":"Identifier","isSummary":true,"array":true,"index":0},"instantiatesCanonical":{"short":"Instantiates FHIR protocol or definition","type":"canonical","isSummary":true,"array":true,"index":1},"instantiatesUri":{"short":"Instantiates external protocol or definition","type":"uri","isSummary":true,"array":true,"index":2},"basedOn":{"short":"Request fulfilled by this communication","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Resource"],"array":true,"index":3},"partOf":{"short":"Part of this action","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Resource"],"array":true,"index":4},"inResponseTo":{"short":"Reply to","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Communication"],"array":true,"index":5},"status":{"short":"preparation | in-progress | not-done | on-hold | stopped | completed | entered-in-error | unknown","type":"code","isModifier":true,"isModifierReason":"This element is labelled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/event-status|4.0.1","bindingName":"CommunicationStatus"},"index":6},"statusReason":{"short":"Reason for current status","type":"CodeableConcept","isSummary":true,"binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/communication-not-done-reason","bindingName":"CommunicationNotDoneReason"},"index":7},"category":{"short":"Message category","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/communication-category","bindingName":"CommunicationCategory"},"array":true,"index":8},"priority":{"short":"routine | urgent | asap | stat","type":"code","meaningWhenMissing":"If missing, this communication should be treated with normal priority","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/request-priority|4.0.1","bindingName":"CommunicationPriority"},"index":9},"medium":{"short":"A channel of communication","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://terminology.hl7.org/ValueSet/v3-ParticipationMode","bindingName":"CommunicationMedium"},"array":true,"index":10},"subject":{"short":"Focus of message","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Group","http://hl7.org/fhir/StructureDefinition/Patient"],"index":11},"topic":{"short":"Description of the purpose/content","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/communication-topic","bindingName":"CommunicationTopic"},"index":12},"about":{"short":"Resources that pertain to this communication","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Resource"],"array":true,"index":13},"encounter":{"short":"Encounter created as part of","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Encounter"],"index":14},"sent":{"short":"When sent","type":"dateTime","index":15},"received":{"short":"When received","type":"dateTime","index":16},"recipient":{"short":"Message recipient","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/CareTeam","http://hl7.org/fhir/StructureDefinition/Device","http://hl7.org/fhir/StructureDefinition/Group","http://hl7.org/fhir/StructureDefinition/HealthcareService","http://hl7.org/fhir/StructureDefinition/Organization","http://hl7.org/fhir/StructureDefinition/Patient","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole","http://hl7.org/fhir/StructureDefinition/RelatedPerson"],"array":true,"index":17},"sender":{"short":"Message sender","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Device","http://hl7.org/fhir/StructureDefinition/HealthcareService","http://hl7.org/fhir/StructureDefinition/Organization","http://hl7.org/fhir/StructureDefinition/Patient","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole","http://hl7.org/fhir/StructureDefinition/RelatedPerson"],"index":18},"reasonCode":{"short":"Indication for message","type":"CodeableConcept","isSummary":true,"binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/clinical-findings","bindingName":"CommunicationReason"},"array":true,"index":19},"reasonReference":{"short":"Why was communication done?","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Condition","http://hl7.org/fhir/StructureDefinition/DiagnosticReport","http://hl7.org/fhir/StructureDefinition/DocumentReference","http://hl7.org/fhir/StructureDefinition/Observation"],"array":true,"index":20},"payload":{"short":"Message payload","type":"BackboneElement","array":true,"index":21,"elements":{"content":{"short":"Message part content","choices":["contentString","contentAttachment","contentReference"],"index":23},"contentString":{"short":"Message part content","type":"string","choiceOf":"content","index":24},"contentAttachment":{"short":"Message part content","type":"Attachment","choiceOf":"content","index":25},"contentReference":{"short":"Message part content","type":"Reference","choiceOf":"content","refers":["http://hl7.org/fhir/StructureDefinition/Resource"],"index":26}},"required":["content"]},"note":{"short":"Comments made about the communication","type":"Annotation","array":true,"index":27}},"required":["status"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"initiatingLocation","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/communicationrequest-initiatingLocation","version":"4.0.1","description":"Location where the information being requested to be communicated happened.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/communicationrequest-initiatingLocation"},"type":"uri","index":1},"value":{"choices":["valueReference"],"index":3},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/Location"],"index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"initiatingLocation","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/communicationrequest-initiatingLocation","version":"4.0.1","description":"Location where the information being requested to be communicated happened.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/communicationrequest-initiatingLocation"},"index":1},"value":{"choices":["valueReference"],"index":3},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/Location"],"index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"CommunicationRequest","type":"CommunicationRequest","kind":"resource","class":"resource","url":"http://hl7.org/fhir/StructureDefinition/CommunicationRequest","version":"4.0.1","description":"A request to convey information; e.g. the CDS system proposes that an alert be sent to a responsible provider, the CDS system proposes that the public health agency be notified about a reportable condition.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/DomainResource","elements":{"identifier":{"short":"Unique identifier","type":"Identifier","isSummary":true,"array":true,"index":0},"basedOn":{"short":"Fulfills plan or proposal","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Resource"],"array":true,"index":1},"replaces":{"short":"Request(s) replaced by this request","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/CommunicationRequest"],"array":true,"index":2},"groupIdentifier":{"short":"Composite request this is part of","type":"Identifier","isSummary":true,"index":3},"status":{"short":"draft | active | on-hold | revoked | completed | entered-in-error | unknown","type":"code","isModifier":true,"isModifierReason":"This element is labelled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid.","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/request-status|4.0.1","bindingName":"CommunicationRequestStatus"},"index":4},"statusReason":{"short":"Reason for current status","type":"CodeableConcept","index":5},"category":{"short":"Message category","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/communication-category","bindingName":"CommunicationCategory"},"array":true,"index":6},"priority":{"short":"routine | urgent | asap | stat","type":"code","meaningWhenMissing":"If missing, this task should be performed with normal priority","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/request-priority|4.0.1","bindingName":"CommunicationPriority"},"index":7},"doNotPerform":{"short":"True if request is prohibiting action","type":"boolean","meaningWhenMissing":"If do not perform is not specified, the request is a positive request e.g. \\"do perform\\"","isModifier":true,"isModifierReason":"If true this element negates the specified action. For Example, instead of a request for a communication, it is a request for the communication to not occur.","isSummary":true,"index":8},"medium":{"short":"A channel of communication","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://terminology.hl7.org/ValueSet/v3-ParticipationMode","bindingName":"CommunicationMedium"},"array":true,"index":9},"subject":{"short":"Focus of message","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Group","http://hl7.org/fhir/StructureDefinition/Patient"],"index":10},"about":{"short":"Resources that pertain to this communication request","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Resource"],"array":true,"index":11},"encounter":{"short":"Encounter created as part of","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Encounter"],"index":12},"payload":{"short":"Message payload","type":"BackboneElement","array":true,"index":13,"elements":{"content":{"short":"Message part content","choices":["contentString","contentAttachment","contentReference"],"index":15},"contentString":{"short":"Message part content","type":"string","choiceOf":"content","index":16},"contentAttachment":{"short":"Message part content","type":"Attachment","choiceOf":"content","index":17},"contentReference":{"short":"Message part content","type":"Reference","choiceOf":"content","refers":["http://hl7.org/fhir/StructureDefinition/Resource"],"index":18}},"required":["content"]},"occurrence":{"short":"When scheduled","isSummary":true,"choices":["occurrenceDateTime","occurrencePeriod"],"index":20},"occurrenceDateTime":{"short":"When scheduled","type":"dateTime","isSummary":true,"choiceOf":"occurrence","index":21},"occurrencePeriod":{"short":"When scheduled","type":"Period","isSummary":true,"choiceOf":"occurrence","index":22},"authoredOn":{"short":"When request transitioned to being actionable","type":"dateTime","isSummary":true,"index":23},"requester":{"short":"Who/what is requesting service","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Device","http://hl7.org/fhir/StructureDefinition/Organization","http://hl7.org/fhir/StructureDefinition/Patient","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole","http://hl7.org/fhir/StructureDefinition/RelatedPerson"],"index":24},"recipient":{"short":"Message recipient","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/CareTeam","http://hl7.org/fhir/StructureDefinition/Device","http://hl7.org/fhir/StructureDefinition/Group","http://hl7.org/fhir/StructureDefinition/HealthcareService","http://hl7.org/fhir/StructureDefinition/Organization","http://hl7.org/fhir/StructureDefinition/Patient","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole","http://hl7.org/fhir/StructureDefinition/RelatedPerson"],"array":true,"index":25},"sender":{"short":"Message sender","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Device","http://hl7.org/fhir/StructureDefinition/HealthcareService","http://hl7.org/fhir/StructureDefinition/Organization","http://hl7.org/fhir/StructureDefinition/Patient","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole","http://hl7.org/fhir/StructureDefinition/RelatedPerson"],"index":26},"reasonCode":{"short":"Why is communication needed?","type":"CodeableConcept","isSummary":true,"binding":{"strength":"example","valueSet":"http://terminology.hl7.org/ValueSet/v3-ActReason","bindingName":"CommunicationReason"},"array":true,"index":27},"reasonReference":{"short":"Why is communication needed?","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Condition","http://hl7.org/fhir/StructureDefinition/DiagnosticReport","http://hl7.org/fhir/StructureDefinition/DocumentReference","http://hl7.org/fhir/StructureDefinition/Observation"],"array":true,"index":28},"note":{"short":"Comments made about communication request","type":"Annotation","array":true,"index":29}},"required":["status"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"CompartmentDefinition","type":"CompartmentDefinition","kind":"resource","class":"resource","url":"http://hl7.org/fhir/StructureDefinition/CompartmentDefinition","version":"4.0.1","description":"A compartment definition that defines how resources are accessed on a server.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/DomainResource","elements":{"url":{"short":"Canonical identifier for this compartment definition, represented as a URI (globally unique)","type":"uri","isSummary":true,"index":0},"version":{"short":"Business version of the compartment definition","type":"string","isSummary":true,"index":1},"name":{"short":"Name for this compartment definition (computer friendly)","type":"string","isSummary":true,"index":2},"status":{"short":"draft | active | retired | unknown","type":"code","isModifier":true,"isModifierReason":"This is labeled as \\"Is Modifier\\" because applications should not use a retired {{title}} without due consideration","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/publication-status|4.0.1","bindingName":"PublicationStatus"},"index":3},"experimental":{"short":"For testing purposes, not real usage","type":"boolean","isSummary":true,"index":4},"date":{"short":"Date last changed","type":"dateTime","isSummary":true,"index":5},"publisher":{"short":"Name of the publisher (organization or individual)","type":"string","isSummary":true,"index":6},"contact":{"short":"Contact details for the publisher","type":"ContactDetail","isSummary":true,"array":true,"index":7},"description":{"short":"Natural language description of the compartment definition","type":"markdown","index":8},"useContext":{"short":"The context that the content is intended to support","type":"UsageContext","isSummary":true,"array":true,"index":9},"purpose":{"short":"Why this compartment definition is defined","type":"markdown","index":10},"code":{"short":"Patient | Encounter | RelatedPerson | Practitioner | Device","type":"code","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/compartment-type|4.0.1","bindingName":"CompartmentType"},"index":11},"search":{"short":"Whether the search syntax is supported","type":"boolean","isSummary":true,"index":12},"resource":{"short":"How a resource is related to the compartment","type":"BackboneElement","isSummary":true,"array":true,"index":13,"elements":{"code":{"short":"Name of resource type","type":"code","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/resource-types|4.0.1","bindingName":"ResourceType"},"index":14},"param":{"short":"Search Parameter Name, or chained parameters","type":"string","isSummary":true,"array":true,"index":15},"documentation":{"short":"Additional documentation about the resource and compartment","type":"string","index":16}},"required":["code"]}},"required":["code","name","search","status","url"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"otherConfidentiality","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/composition-clinicaldocument-otherConfidentiality","version":"4.0.1","description":"Carries additional confidentiality codes beyond the base fixed code specified in the CDA document.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/composition-clinicaldocument-otherConfidentiality"},"type":"uri","index":1},"value":{"choices":["valueCoding"],"index":3},"valueCoding":{"type":"Coding","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"versionNumber","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/composition-clinicaldocument-versionNumber","version":"4.0.1","description":"Version specific identifier for the composition, assigned when each version is created/updated.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/composition-clinicaldocument-versionNumber"},"type":"uri","index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"section-subject","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/composition-section-subject","version":"4.0.1","description":"Specifies that the section has a different subject that the Composition, or it's container section.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/composition-section-subject"},"type":"uri","index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"otherConfidentiality","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/composition-clinicaldocument-otherConfidentiality","version":"4.0.1","description":"Carries additional confidentiality codes beyond the base fixed code specified in the CDA document.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/composition-clinicaldocument-otherConfidentiality"},"index":1},"value":{"choices":["valueCoding"],"index":3},"valueCoding":{"type":"Coding","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"versionNumber","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/composition-clinicaldocument-versionNumber","version":"4.0.1","description":"Version specific identifier for the composition, assigned when each version is created/updated.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/composition-clinicaldocument-versionNumber"},"index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"section-subject","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/composition-section-subject","version":"4.0.1","description":"Specifies that the section has a different subject that the Composition, or it's container section.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/composition-section-subject"},"index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"Composition","type":"Composition","kind":"resource","class":"resource","url":"http://hl7.org/fhir/StructureDefinition/Composition","version":"4.0.1","description":"A set of healthcare-related information that is assembled together into a single logical package that provides a single coherent statement of meaning, establishes its own context and that has clinical attestation with regard to who is making the statement. A Composition defines the structure and narrative content necessary for a document. However, a Composition alone does not constitute a document. Rather, the Composition must be the first entry in a Bundle where Bundle.type=document, and any other resources referenced from Composition must be included as subsequent entries in the Bundle (for example Patient, Practitioner, Encounter, etc.).","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/DomainResource","elements":{"identifier":{"short":"Version-independent identifier for the Composition","type":"Identifier","isSummary":true,"index":0},"status":{"short":"preliminary | final | amended | entered-in-error","type":"code","isModifier":true,"isModifierReason":"This element is labelled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/composition-status|4.0.1","bindingName":"CompositionStatus"},"index":1},"type":{"short":"Kind of composition (LOINC if possible)","type":"CodeableConcept","isSummary":true,"binding":{"strength":"preferred","valueSet":"http://hl7.org/fhir/ValueSet/doc-typecodes","bindingName":"DocumentType"},"index":2},"category":{"short":"Categorization of Composition","type":"CodeableConcept","isSummary":true,"binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/document-classcodes","bindingName":"DocumentCategory"},"array":true,"index":3},"subject":{"short":"Who and/or what the composition is about","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Resource"],"index":4},"encounter":{"short":"Context of the Composition","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Encounter"],"index":5},"date":{"short":"Composition editing time","type":"dateTime","isSummary":true,"index":6},"author":{"short":"Who and/or what authored the composition","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Device","http://hl7.org/fhir/StructureDefinition/Organization","http://hl7.org/fhir/StructureDefinition/Patient","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole","http://hl7.org/fhir/StructureDefinition/RelatedPerson"],"array":true,"min":1,"index":7},"title":{"short":"Human Readable name/title","type":"string","isSummary":true,"index":8},"confidentiality":{"short":"As defined by affinity domain","type":"code","isSummary":true,"binding":{"strength":"required","valueSet":"http://terminology.hl7.org/ValueSet/v3-ConfidentialityClassification|2014-03-26","bindingName":"DocumentConfidentiality"},"index":9},"attester":{"short":"Attests to accuracy of composition","type":"BackboneElement","array":true,"index":10,"elements":{"mode":{"short":"personal | professional | legal | official","type":"code","binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/composition-attestation-mode|4.0.1","bindingName":"CompositionAttestationMode"},"index":11},"time":{"short":"When the composition was attested","type":"dateTime","index":12},"party":{"short":"Who attested the composition","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Organization","http://hl7.org/fhir/StructureDefinition/Patient","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole","http://hl7.org/fhir/StructureDefinition/RelatedPerson"],"index":13}},"required":["mode"]},"custodian":{"short":"Organization which maintains the composition","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Organization"],"index":14},"relatesTo":{"short":"Relationships to other compositions/documents","type":"BackboneElement","array":true,"index":15,"elements":{"code":{"short":"replaces | transforms | signs | appends","type":"code","binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/document-relationship-type|4.0.1","bindingName":"DocumentRelationshipType"},"index":16},"target":{"short":"Target of the relationship","choices":["targetIdentifier","targetReference"],"index":18},"targetIdentifier":{"short":"Target of the relationship","type":"Identifier","choiceOf":"target","index":19},"targetReference":{"short":"Target of the relationship","type":"Reference","choiceOf":"target","refers":["http://hl7.org/fhir/StructureDefinition/Composition"],"index":20}},"required":["code","target"]},"event":{"short":"The clinical service(s) being documented","type":"BackboneElement","isSummary":true,"array":true,"index":21,"elements":{"code":{"short":"Code(s) that apply to the event being documented","type":"CodeableConcept","isSummary":true,"binding":{"strength":"example","valueSet":"http://terminology.hl7.org/ValueSet/v3-ActCode","bindingName":"DocumentEventType"},"array":true,"index":22},"period":{"short":"The period covered by the documentation","type":"Period","isSummary":true,"index":23},"detail":{"short":"The event(s) being documented","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Resource"],"array":true,"index":24}}},"section":{"short":"Composition is broken into sections","type":"BackboneElement","constraint":{"cmp-1":{"expression":"text.exists() or entry.exists() or section.exists()","human":"A section must contain at least one of text, entries, or sub-sections","severity":"error"},"cmp-2":{"expression":"emptyReason.empty() or entry.empty()","human":"A section can only have an emptyReason if it is empty","severity":"error"}},"array":true,"index":25,"elements":{"title":{"short":"Label for section (e.g. for ToC)","type":"string","index":26},"code":{"short":"Classification of section (recommended)","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/doc-section-codes","bindingName":"CompositionSectionType"},"index":27},"author":{"short":"Who and/or what authored the section","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Device","http://hl7.org/fhir/StructureDefinition/Organization","http://hl7.org/fhir/StructureDefinition/Patient","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole","http://hl7.org/fhir/StructureDefinition/RelatedPerson"],"array":true,"index":28},"focus":{"short":"Who/what the section is about, when it is not about the subject of composition","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Resource"],"index":29},"text":{"short":"Text summary of the section, for human interpretation","type":"Narrative","index":30},"mode":{"short":"working | snapshot | changes","type":"code","binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/list-mode|4.0.1","bindingName":"SectionMode"},"index":31},"orderedBy":{"short":"Order of section entries","type":"CodeableConcept","binding":{"strength":"preferred","valueSet":"http://hl7.org/fhir/ValueSet/list-order","bindingName":"SectionEntryOrder"},"index":32},"entry":{"short":"A reference to data that supports this section","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Resource"],"array":true,"index":33},"emptyReason":{"short":"Why the section is empty","type":"CodeableConcept","binding":{"strength":"preferred","valueSet":"http://hl7.org/fhir/ValueSet/list-empty-reason","bindingName":"SectionEmptyReason"},"index":34},"section":{"short":"Nested Section","elementReference":["http://hl7.org/fhir/StructureDefinition/Composition","elements","section"],"array":true,"index":35}}}},"required":["author","date","status","title","type"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"Computable PlanDefinition","type":"PlanDefinition","kind":"resource","class":"profile","url":"http://hl7.org/fhir/StructureDefinition/computableplandefinition","version":"4.0.1","description":"Defines a computable PlanDefinition that specifies a single library and requires all expressions referenced from the PlanDefinition to be definitions in that single library","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/PlanDefinition","elements":{"library":{"type":"canonical","index":0}},"required":["library"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"bidirectional","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/concept-bidirectional","version":"4.0.1","description":"Set to true if the concept map can be safely intepreted in reversse.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/concept-bidirectional"},"type":"uri","index":1},"value":{"choices":["valueBoolean"],"index":3},"valueBoolean":{"type":"boolean","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"bidirectional","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/concept-bidirectional","version":"4.0.1","description":"Set to true if the concept map can be safely intepreted in reversse.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/concept-bidirectional"},"index":1},"value":{"choices":["valueBoolean"],"index":3},"valueBoolean":{"type":"boolean","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"ConceptMap","type":"ConceptMap","kind":"resource","class":"resource","url":"http://hl7.org/fhir/StructureDefinition/ConceptMap","version":"4.0.1","description":"A statement of relationships from one set of concepts to one or more other concepts - either concepts in code systems, or data element/data element concepts, or classes in class models.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/DomainResource","elements":{"url":{"short":"Canonical identifier for this concept map, represented as a URI (globally unique)","type":"uri","isSummary":true,"index":0},"identifier":{"short":"Additional identifier for the concept map","type":"Identifier","isSummary":true,"index":1},"version":{"short":"Business version of the concept map","type":"string","isSummary":true,"index":2},"name":{"short":"Name for this concept map (computer friendly)","type":"string","isSummary":true,"index":3},"title":{"short":"Name for this concept map (human friendly)","type":"string","isSummary":true,"index":4},"status":{"short":"draft | active | retired | unknown","type":"code","isModifier":true,"isModifierReason":"This is labeled as \\"Is Modifier\\" because applications should not use a retired {{title}} without due consideration","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/publication-status|4.0.1","bindingName":"PublicationStatus"},"index":5},"experimental":{"short":"For testing purposes, not real usage","type":"boolean","isSummary":true,"index":6},"date":{"short":"Date last changed","type":"dateTime","isSummary":true,"index":7},"publisher":{"short":"Name of the publisher (organization or individual)","type":"string","isSummary":true,"index":8},"contact":{"short":"Contact details for the publisher","type":"ContactDetail","isSummary":true,"array":true,"index":9},"description":{"short":"Natural language description of the concept map","type":"markdown","index":10},"useContext":{"short":"The context that the content is intended to support","type":"UsageContext","isSummary":true,"array":true,"index":11},"jurisdiction":{"short":"Intended jurisdiction for concept map (if applicable)","type":"CodeableConcept","isSummary":true,"binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/ValueSet/jurisdiction","bindingName":"Jurisdiction"},"array":true,"index":12},"purpose":{"short":"Why this concept map is defined","type":"markdown","index":13},"copyright":{"short":"Use and/or publishing restrictions","type":"markdown","index":14},"source":{"short":"The source value set that contains the concepts that are being mapped","isSummary":true,"choices":["sourceUri","sourceCanonical"],"index":16},"sourceUri":{"short":"The source value set that contains the concepts that are being mapped","type":"uri","isSummary":true,"choiceOf":"source","index":17},"sourceCanonical":{"short":"The source value set that contains the concepts that are being mapped","type":"canonical","isSummary":true,"choiceOf":"source","index":18},"target":{"short":"The target value set which provides context for the mappings","isSummary":true,"choices":["targetUri","targetCanonical"],"index":20},"targetUri":{"short":"The target value set which provides context for the mappings","type":"uri","isSummary":true,"choiceOf":"target","index":21},"targetCanonical":{"short":"The target value set which provides context for the mappings","type":"canonical","isSummary":true,"choiceOf":"target","index":22},"group":{"short":"Same source and target systems","type":"BackboneElement","array":true,"index":23,"elements":{"source":{"short":"Source system where concepts to be mapped are defined","type":"uri","index":24},"sourceVersion":{"short":"Specific version of the code system","type":"string","index":25},"target":{"short":"Target system that the concepts are to be mapped to","type":"uri","index":26},"targetVersion":{"short":"Specific version of the code system","type":"string","index":27},"element":{"short":"Mappings for a concept from the source set","type":"BackboneElement","array":true,"min":1,"index":28,"elements":{"code":{"short":"Identifies element being mapped","type":"code","index":29},"display":{"short":"Display for the code","type":"string","index":30},"target":{"short":"Concept in target system for element","type":"BackboneElement","constraint":{"cmd-1":{"expression":"comment.exists() or equivalence.empty() or ((equivalence != 'narrower') and (equivalence != 'inexact'))","human":"If the map is narrower or inexact, there SHALL be some comments","severity":"error"}},"array":true,"index":31,"elements":{"code":{"short":"Code that identifies the target element","type":"code","index":32},"display":{"short":"Display for the code","type":"string","index":33},"equivalence":{"short":"relatedto | equivalent | equal | wider | subsumes | narrower | specializes | inexact | unmatched | disjoint","type":"code","isModifier":true,"isModifierReason":"Some of the values mean that there is no mapping from the source to the target, particularly 'disjoint', and the mapping cannot be interpreted without knowing this value as it could mean the elements are equivalent, totally mismatched or anything in between","binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/concept-map-equivalence|4.0.1","bindingName":"ConceptMapEquivalence"},"index":34},"comment":{"short":"Description of status/issues in mapping","type":"string","index":35},"dependsOn":{"short":"Other elements required for this mapping (from context)","type":"BackboneElement","array":true,"index":36,"elements":{"property":{"short":"Reference to property mapping depends on","type":"uri","index":37},"system":{"short":"Code System (if necessary)","type":"canonical","meaningWhenMissing":"The code is in the source (dependsOn) or target (product) system","index":38},"value":{"short":"Value of the referenced element","type":"string","index":39},"display":{"short":"Display for the code (if value is a code)","type":"string","index":40}},"required":["property","value"]},"product":{"short":"Other concepts that this mapping also produces","elementReference":["http://hl7.org/fhir/StructureDefinition/ConceptMap","elements","group","elements","element","elements","target","elements","dependsOn"],"array":true,"index":41}},"required":["equivalence"]}}},"unmapped":{"short":"What to do when there is no mapping for the source concept","type":"BackboneElement","constraint":{"cmd-3":{"expression":"(mode = 'other-map') implies url.exists()","human":"If the mode is 'other-map', a url must be provided","severity":"error"},"cmd-2":{"expression":"(mode = 'fixed') implies code.exists()","human":"If the mode is 'fixed', a code must be provided","severity":"error"}},"index":42,"elements":{"mode":{"short":"provided | fixed | other-map","type":"code","binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/conceptmap-unmapped-mode|4.0.1","bindingName":"ConceptMapGroupUnmappedMode"},"index":43},"code":{"short":"Fixed code when mode = fixed","type":"code","index":44},"display":{"short":"Display for the code","type":"string","index":45},"url":{"short":"canonical reference to an additional ConceptMap to use for mapping if the source concept is unmapped","type":"canonical","index":46}},"required":["mode"]}},"required":["element"]}},"required":["status"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"assertedDate","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/condition-assertedDate","version":"4.0.1","description":"The date on which the existence of the Condition was first asserted or acknowledged.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/condition-assertedDate"},"type":"uri","index":1},"value":{"choices":["valueDateTime"],"index":3},"valueDateTime":{"type":"dateTime","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"dueTo","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/condition-dueTo","version":"4.0.1","description":"Further conditions, problems, diagnoses, procedures or events or the substance that caused/triggered this Condition.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/condition-dueTo"},"type":"uri","index":1},"value":{"choices":["valueCodeableConcept","valueReference"],"index":3},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":4},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/Condition","http://hl7.org/fhir/StructureDefinition/Immunization","http://hl7.org/fhir/StructureDefinition/MedicationAdministration","http://hl7.org/fhir/StructureDefinition/MedicationStatement","http://hl7.org/fhir/StructureDefinition/Procedure"],"index":5}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"occurredFollowing","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/condition-occurredFollowing","version":"4.0.1","description":"Further conditions, problems, diagnoses, procedures or events or the substance that preceded this Condition.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/condition-occurredFollowing"},"type":"uri","index":1},"value":{"choices":["valueCodeableConcept","valueReference"],"index":3},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":4},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/Condition","http://hl7.org/fhir/StructureDefinition/Immunization","http://hl7.org/fhir/StructureDefinition/MedicationAdministration","http://hl7.org/fhir/StructureDefinition/MedicationStatement","http://hl7.org/fhir/StructureDefinition/Procedure"],"index":5}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"outcome","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/condition-outcome","version":"4.0.1","description":"A result of the condition. The \\"Cause of death\\" for a patient is typically captured as an Observation. The \\"outcome\\" doesn't imply causality. Some outcomes might not be assessable until the condition.clinicalStatus is no longer active.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/condition-outcome"},"type":"uri","index":1},"value":{"choices":["valueCodeableConcept"],"index":3},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"related","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/condition-related","version":"4.0.1","description":"This condition has an unspecified relationship with another condition.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/condition-related"},"type":"uri","index":1},"value":{"choices":["valueReference"],"index":3},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/Condition"],"index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"ruledOut","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/condition-ruledOut","version":"4.0.1","description":"Identifies what potential diagnoses have been ruled out for this condition.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/condition-ruledOut"},"type":"uri","index":1},"value":{"choices":["valueReference"],"index":3},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/Condition"],"index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"assertedDate","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/condition-assertedDate","version":"4.0.1","description":"The date on which the existence of the Condition was first asserted or acknowledged.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/condition-assertedDate"},"index":1},"value":{"choices":["valueDateTime"],"index":3},"valueDateTime":{"type":"dateTime","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"dueTo","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/condition-dueTo","version":"4.0.1","description":"Further conditions, problems, diagnoses, procedures or events or the substance that caused/triggered this Condition.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/condition-dueTo"},"index":1},"value":{"choices":["valueCodeableConcept","valueReference"],"index":3},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":4},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/Condition","http://hl7.org/fhir/StructureDefinition/Immunization","http://hl7.org/fhir/StructureDefinition/MedicationAdministration","http://hl7.org/fhir/StructureDefinition/MedicationStatement","http://hl7.org/fhir/StructureDefinition/Procedure"],"index":5}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"occurredFollowing","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/condition-occurredFollowing","version":"4.0.1","description":"Further conditions, problems, diagnoses, procedures or events or the substance that preceded this Condition.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/condition-occurredFollowing"},"index":1},"value":{"choices":["valueCodeableConcept","valueReference"],"index":3},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":4},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/Condition","http://hl7.org/fhir/StructureDefinition/Immunization","http://hl7.org/fhir/StructureDefinition/MedicationAdministration","http://hl7.org/fhir/StructureDefinition/MedicationStatement","http://hl7.org/fhir/StructureDefinition/Procedure"],"index":5}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"outcome","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/condition-outcome","version":"4.0.1","description":"A result of the condition. The \\"Cause of death\\" for a patient is typically captured as an Observation. The \\"outcome\\" doesn't imply causality. Some outcomes might not be assessable until the condition.clinicalStatus is no longer active.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/condition-outcome"},"index":1},"value":{"choices":["valueCodeableConcept"],"index":3},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"related","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/condition-related","version":"4.0.1","description":"This condition has an unspecified relationship with another condition.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/condition-related"},"index":1},"value":{"choices":["valueReference"],"index":3},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/Condition"],"index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"ruledOut","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/condition-ruledOut","version":"4.0.1","description":"Identifies what potential diagnoses have been ruled out for this condition.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/condition-ruledOut"},"index":1},"value":{"choices":["valueReference"],"index":3},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/Condition"],"index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"Condition","type":"Condition","kind":"resource","class":"resource","url":"http://hl7.org/fhir/StructureDefinition/Condition","version":"4.0.1","description":"A clinical condition, problem, diagnosis, or other event, situation, issue, or clinical concept that has risen to a level of concern.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/DomainResource","elements":{"identifier":{"short":"External Ids for this condition","type":"Identifier","isSummary":true,"array":true,"index":0},"clinicalStatus":{"short":"active | recurrence | relapse | inactive | remission | resolved","type":"CodeableConcept","isModifier":true,"isModifierReason":"This element is labeled as a modifier because the status contains codes that mark the condition as no longer active.","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/condition-clinical|4.0.1","bindingName":"ConditionClinicalStatus"},"index":1},"verificationStatus":{"short":"unconfirmed | provisional | differential | confirmed | refuted | entered-in-error","type":"CodeableConcept","isModifier":true,"isModifierReason":"This element is labeled as a modifier because the status contains the code refuted and entered-in-error that mark the Condition as not currently valid.","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/condition-ver-status|4.0.1","bindingName":"ConditionVerificationStatus"},"index":2},"category":{"short":"problem-list-item | encounter-diagnosis","type":"CodeableConcept","binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/ValueSet/condition-category","bindingName":"ConditionCategory"},"array":true,"index":3},"severity":{"short":"Subjective severity of condition","type":"CodeableConcept","binding":{"strength":"preferred","valueSet":"http://hl7.org/fhir/ValueSet/condition-severity","bindingName":"ConditionSeverity"},"index":4},"code":{"short":"Identification of the condition, problem or diagnosis","type":"CodeableConcept","isSummary":true,"binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/condition-code","bindingName":"ConditionKind"},"index":5},"bodySite":{"short":"Anatomical location, if relevant","type":"CodeableConcept","isSummary":true,"binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/body-site","bindingName":"BodySite"},"array":true,"index":6},"subject":{"short":"Who has the condition?","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Group","http://hl7.org/fhir/StructureDefinition/Patient"],"index":7},"encounter":{"short":"Encounter created as part of","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Encounter"],"index":8},"onset":{"short":"Estimated or actual date, date-time, or age","isSummary":true,"choices":["onsetDateTime","onsetAge","onsetPeriod","onsetRange","onsetString"],"index":10},"onsetDateTime":{"short":"Estimated or actual date, date-time, or age","type":"dateTime","isSummary":true,"choiceOf":"onset","index":11},"onsetAge":{"short":"Estimated or actual date, date-time, or age","type":"Age","isSummary":true,"choiceOf":"onset","index":12},"onsetPeriod":{"short":"Estimated or actual date, date-time, or age","type":"Period","isSummary":true,"choiceOf":"onset","index":13},"onsetRange":{"short":"Estimated or actual date, date-time, or age","type":"Range","isSummary":true,"choiceOf":"onset","index":14},"onsetString":{"short":"Estimated or actual date, date-time, or age","type":"string","isSummary":true,"choiceOf":"onset","index":15},"abatement":{"short":"When in resolution/remission","choices":["abatementDateTime","abatementAge","abatementPeriod","abatementRange","abatementString"],"index":17},"abatementDateTime":{"short":"When in resolution/remission","type":"dateTime","choiceOf":"abatement","index":18},"abatementAge":{"short":"When in resolution/remission","type":"Age","choiceOf":"abatement","index":19},"abatementPeriod":{"short":"When in resolution/remission","type":"Period","choiceOf":"abatement","index":20},"abatementRange":{"short":"When in resolution/remission","type":"Range","choiceOf":"abatement","index":21},"abatementString":{"short":"When in resolution/remission","type":"string","choiceOf":"abatement","index":22},"recordedDate":{"short":"Date record was first recorded","type":"dateTime","isSummary":true,"index":23},"recorder":{"short":"Who recorded the condition","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Patient","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole","http://hl7.org/fhir/StructureDefinition/RelatedPerson"],"index":24},"asserter":{"short":"Person who asserts this condition","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Patient","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole","http://hl7.org/fhir/StructureDefinition/RelatedPerson"],"index":25},"stage":{"short":"Stage/grade, usually assessed formally","type":"BackboneElement","constraint":{"con-1":{"expression":"summary.exists() or assessment.exists()","human":"Stage SHALL have summary or assessment","severity":"error"}},"array":true,"index":26,"elements":{"summary":{"short":"Simple summary (disease specific)","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/condition-stage","bindingName":"ConditionStage"},"index":27},"assessment":{"short":"Formal record of assessment","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/ClinicalImpression","http://hl7.org/fhir/StructureDefinition/DiagnosticReport","http://hl7.org/fhir/StructureDefinition/Observation"],"array":true,"index":28},"type":{"short":"Kind of staging","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/condition-stage-type","bindingName":"ConditionStageType"},"index":29}}},"evidence":{"short":"Supporting evidence","type":"BackboneElement","constraint":{"con-2":{"expression":"code.exists() or detail.exists()","human":"evidence SHALL have code or details","severity":"error"}},"array":true,"index":30,"elements":{"code":{"short":"Manifestation/symptom","type":"CodeableConcept","isSummary":true,"binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/manifestation-or-symptom","bindingName":"ManifestationOrSymptom"},"array":true,"index":31},"detail":{"short":"Supporting information found elsewhere","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Resource"],"array":true,"index":32}}},"note":{"short":"Additional information about the Condition","type":"Annotation","array":true,"index":33}},"required":["subject"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"location","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/consent-location","version":"4.0.1","description":"Restricts this exception to only apply a specific location as defined.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/consent-location"},"type":"uri","index":1},"value":{"choices":["valueReference"],"index":3},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/Location"],"index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"NotificationEndpoint","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/consent-NotificationEndpoint","version":"4.0.1","description":"Endpoint for sending Disclosure notifications in the form of FHIR AuditEvent records.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/consent-NotificationEndpoint"},"type":"uri","index":1},"value":{"choices":["valueUri"],"index":3},"valueUri":{"type":"uri","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"Transcriber","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/consent-Transcriber","version":"4.0.1","description":"Any person/thing who transcribed the consent into the system.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/consent-Transcriber"},"type":"uri","index":1},"value":{"choices":["valueReference"],"index":3},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/Organization","http://hl7.org/fhir/StructureDefinition/Patient","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/RelatedPerson"],"index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"Witness","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/consent-Witness","version":"4.0.1","description":"Any witness to the consent.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/consent-Witness"},"type":"uri","index":1},"value":{"choices":["valueReference"],"index":3},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/Organization","http://hl7.org/fhir/StructureDefinition/Patient","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/RelatedPerson"],"index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"location","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/consent-location","version":"4.0.1","description":"Restricts this exception to only apply a specific location as defined.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/consent-location"},"index":1},"value":{"choices":["valueReference"],"index":3},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/Location"],"index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"NotificationEndpoint","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/consent-NotificationEndpoint","version":"4.0.1","description":"Endpoint for sending Disclosure notifications in the form of FHIR AuditEvent records.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/consent-NotificationEndpoint"},"index":1},"value":{"choices":["valueUri"],"index":3},"valueUri":{"type":"uri","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"Transcriber","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/consent-Transcriber","version":"4.0.1","description":"Any person/thing who transcribed the consent into the system.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/consent-Transcriber"},"index":1},"value":{"choices":["valueReference"],"index":3},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/Organization","http://hl7.org/fhir/StructureDefinition/Patient","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/RelatedPerson"],"index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"Witness","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/consent-Witness","version":"4.0.1","description":"Any witness to the consent.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/consent-Witness"},"index":1},"value":{"choices":["valueReference"],"index":3},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/Organization","http://hl7.org/fhir/StructureDefinition/Patient","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/RelatedPerson"],"index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"Consent","type":"Consent","kind":"resource","class":"resource","url":"http://hl7.org/fhir/StructureDefinition/Consent","version":"4.0.1","description":"A record of a healthcare consumer’s choices, which permits or denies identified recipient(s) or recipient role(s) to perform one or more actions within a given policy context, for specific purposes and periods of time.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/DomainResource","elements":{"identifier":{"short":"Identifier for this record (external references)","type":"Identifier","isSummary":true,"array":true,"index":0},"status":{"short":"draft | proposed | active | rejected | inactive | entered-in-error","type":"code","isModifier":true,"isModifierReason":"This element is labelled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/consent-state-codes|4.0.1","bindingName":"ConsentState"},"index":1},"scope":{"short":"Which of the four areas this resource covers (extensible)","type":"CodeableConcept","isModifier":true,"isModifierReason":"Allows changes to codes based on scope selection","isSummary":true,"binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/ValueSet/consent-scope","bindingName":"ConsentScope"},"index":2},"category":{"short":"Classification of the consent statement - for indexing/retrieval","type":"CodeableConcept","isSummary":true,"binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/ValueSet/consent-category","bindingName":"ConsentCategory"},"array":true,"min":1,"index":3},"patient":{"short":"Who the consent applies to","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Patient"],"index":4},"dateTime":{"short":"When this Consent was created or indexed","type":"dateTime","isSummary":true,"index":5},"performer":{"short":"Who is agreeing to the policy and rules","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Organization","http://hl7.org/fhir/StructureDefinition/Patient","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole","http://hl7.org/fhir/StructureDefinition/RelatedPerson"],"array":true,"index":6},"organization":{"short":"Custodian of the consent","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Organization"],"array":true,"index":7},"source":{"short":"Source from which this consent is taken","isSummary":true,"choices":["sourceAttachment","sourceReference"],"index":9},"sourceAttachment":{"short":"Source from which this consent is taken","type":"Attachment","isSummary":true,"choiceOf":"source","index":10},"sourceReference":{"short":"Source from which this consent is taken","type":"Reference","isSummary":true,"choiceOf":"source","refers":["http://hl7.org/fhir/StructureDefinition/Consent","http://hl7.org/fhir/StructureDefinition/Contract","http://hl7.org/fhir/StructureDefinition/DocumentReference","http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse"],"index":11},"policy":{"short":"Policies covered by this consent","type":"BackboneElement","array":true,"index":12,"elements":{"authority":{"short":"Enforcement source for policy","type":"uri","index":13},"uri":{"short":"Specific policy covered by this consent","type":"uri","index":14}}},"policyRule":{"short":"Regulation that this consents to","type":"CodeableConcept","isSummary":true,"binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/ValueSet/consent-policy","bindingName":"ConsentPolicyRule"},"index":15},"verification":{"short":"Consent Verified by patient or family","type":"BackboneElement","isSummary":true,"array":true,"index":16,"elements":{"verified":{"short":"Has been verified","type":"boolean","isSummary":true,"index":17},"verifiedWith":{"short":"Person who verified","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Patient","http://hl7.org/fhir/StructureDefinition/RelatedPerson"],"index":18},"verificationDate":{"short":"When consent verified","type":"dateTime","index":19}},"required":["verified"]},"provision":{"short":"Constraints to the base Consent.policyRule","type":"BackboneElement","isSummary":true,"index":20,"elements":{"type":{"short":"deny | permit","type":"code","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/consent-provision-type|4.0.1","bindingName":"ConsentProvisionType"},"index":21},"period":{"short":"Timeframe for this rule","type":"Period","isSummary":true,"index":22},"actor":{"short":"Who|what controlled by this rule (or group, by role)","type":"BackboneElement","meaningWhenMissing":"There is no specific actor associated with the exception","array":true,"index":23,"elements":{"role":{"short":"How the actor is involved","type":"CodeableConcept","binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/ValueSet/security-role-type","bindingName":"ConsentActorRole"},"index":24},"reference":{"short":"Resource for the actor (or group, by role)","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/CareTeam","http://hl7.org/fhir/StructureDefinition/Device","http://hl7.org/fhir/StructureDefinition/Group","http://hl7.org/fhir/StructureDefinition/Organization","http://hl7.org/fhir/StructureDefinition/Patient","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole","http://hl7.org/fhir/StructureDefinition/RelatedPerson"],"index":25}},"required":["reference","role"]},"action":{"short":"Actions controlled by this rule","type":"CodeableConcept","meaningWhenMissing":"all actions","isSummary":true,"binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/consent-action","bindingName":"ConsentAction"},"array":true,"index":26},"securityLabel":{"short":"Security Labels that define affected resources","type":"Coding","isSummary":true,"binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/ValueSet/security-labels","bindingName":"SecurityLabels"},"array":true,"index":27},"purpose":{"short":"Context of activities covered by this rule","type":"Coding","isSummary":true,"binding":{"strength":"extensible","valueSet":"http://terminology.hl7.org/ValueSet/v3-PurposeOfUse","bindingName":"PurposeOfUse"},"array":true,"index":28},"class":{"short":"e.g. Resource Type, Profile, CDA, etc.","type":"Coding","isSummary":true,"binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/ValueSet/consent-content-class","bindingName":"ConsentContentClass"},"array":true,"index":29},"code":{"short":"e.g. LOINC or SNOMED CT code, etc. in the content","type":"CodeableConcept","isSummary":true,"binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/consent-content-code","bindingName":"ConsentContentCode"},"array":true,"index":30},"dataPeriod":{"short":"Timeframe for data controlled by this rule","type":"Period","isSummary":true,"index":31},"data":{"short":"Data controlled by this rule","type":"BackboneElement","meaningWhenMissing":"all data","isSummary":true,"array":true,"index":32,"elements":{"meaning":{"short":"instance | related | dependents | authoredby","type":"code","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/consent-data-meaning|4.0.1","bindingName":"ConsentDataMeaning"},"index":33},"reference":{"short":"The actual data reference","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Resource"],"index":34}},"required":["meaning","reference"]},"provision":{"short":"Nested Exception Rules","elementReference":["http://hl7.org/fhir/StructureDefinition/Consent","elements","provision"],"array":true,"index":35}}}},"required":["category","scope","status"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"ContactDetail","type":"ContactDetail","kind":"complex-type","class":"complex-type","url":"http://hl7.org/fhir/StructureDefinition/ContactDetail","version":"4.0.1","description":"Base StructureDefinition for ContactDetail Type: Specifies contact information for a person or organization.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/Element","elements":{"name":{"short":"Name of an individual to contact","type":"string","isSummary":true,"index":0},"telecom":{"short":"Contact details for individual or organization","type":"ContactPoint","isSummary":true,"array":true,"index":1}},"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"area","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/contactpoint-area","version":"4.0.1","description":"The area/zone/city code that, in some areas, may be omitted when dialing locally within the zone. This extension is used when a system wishes to designate specific parts of a phone number (and potentially place constraints on which components must be present and how they're filled in).","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/contactpoint-area"},"type":"uri","index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"country","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/contactpoint-country","version":"4.0.1","description":"The country code as defined by the ITU. This extension is used when a system wishes to designate specific parts of a phone number (and potentially place constraints on which components must be present and how they're filled in).","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/contactpoint-country"},"type":"uri","index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"extension","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/contactpoint-extension","version":"4.0.1","description":"The number that may be dialed within a private phone network or after successfully connecting to a private phone network. This extension is used when a system wishes to designate specific parts of a phone number (and potentially place constraints on which components must be present and how they're filled in).","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/contactpoint-extension"},"type":"uri","index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"local","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/contactpoint-local","version":"4.0.1","description":"The local number that must be dialed to connect within the area/city/zone. This extension is used when a system wishes to designate specific parts of a phone number (and potentially place constraints on which components must be present and how they're filled in).","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/contactpoint-local"},"type":"uri","index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"area","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/contactpoint-area","version":"4.0.1","description":"The area/zone/city code that, in some areas, may be omitted when dialing locally within the zone. This extension is used when a system wishes to designate specific parts of a phone number (and potentially place constraints on which components must be present and how they're filled in).","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/contactpoint-area"},"index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"country","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/contactpoint-country","version":"4.0.1","description":"The country code as defined by the ITU. This extension is used when a system wishes to designate specific parts of a phone number (and potentially place constraints on which components must be present and how they're filled in).","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/contactpoint-country"},"index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"extension","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/contactpoint-extension","version":"4.0.1","description":"The number that may be dialed within a private phone network or after successfully connecting to a private phone network. This extension is used when a system wishes to designate specific parts of a phone number (and potentially place constraints on which components must be present and how they're filled in).","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/contactpoint-extension"},"index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"local","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/contactpoint-local","version":"4.0.1","description":"The local number that must be dialed to connect within the area/city/zone. This extension is used when a system wishes to designate specific parts of a phone number (and potentially place constraints on which components must be present and how they're filled in).","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/contactpoint-local"},"index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"ContactPoint","type":"ContactPoint","kind":"complex-type","class":"complex-type","url":"http://hl7.org/fhir/StructureDefinition/ContactPoint","version":"4.0.1","description":"Base StructureDefinition for ContactPoint Type: Details for all kinds of technology mediated contact points for a person or organization, including telephone, email, etc.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/Element","elements":{"system":{"short":"phone | fax | email | pager | url | sms | other","type":"code","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/contact-point-system|4.0.1","bindingName":"ContactPointSystem"},"index":0},"value":{"short":"The actual contact point details","type":"string","isSummary":true,"index":1},"use":{"short":"home | work | temp | old | mobile - purpose of this contact point","type":"code","isModifier":true,"isModifierReason":"This is labeled as \\"Is Modifier\\" because applications should not mistake a temporary or old contact etc.for a current/permanent one","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/contact-point-use|4.0.1","bindingName":"ContactPointUse"},"index":2},"rank":{"short":"Specify preferred order of use (1 = highest)","type":"positiveInt","isSummary":true,"index":3},"period":{"short":"Time period when the contact point was/is in use","type":"Period","isSummary":true,"index":4}},"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"Contract","type":"Contract","kind":"resource","class":"resource","url":"http://hl7.org/fhir/StructureDefinition/Contract","version":"4.0.1","description":"Legally enforceable, formally recorded unilateral or bilateral directive i.e., a policy or agreement.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/DomainResource","elements":{"identifier":{"short":"Contract number","type":"Identifier","isSummary":true,"array":true,"index":0},"url":{"short":"Basal definition","type":"uri","index":1},"version":{"short":"Business edition","type":"string","isSummary":true,"index":2},"status":{"short":"amended | appended | cancelled | disputed | entered-in-error | executable | executed | negotiable | offered | policy | rejected | renewed | revoked | resolved | terminated","type":"code","isModifier":true,"isModifierReason":"This element is labeled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/contract-status|4.0.1","bindingName":"ContractStatus"},"index":3},"legalState":{"short":"Negotiation status","type":"CodeableConcept","binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/ValueSet/contract-legalstate","bindingName":"ContractLegalState"},"index":4},"instantiatesCanonical":{"short":"Source Contract Definition","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Contract"],"index":5},"instantiatesUri":{"short":"External Contract Definition","type":"uri","index":6},"contentDerivative":{"short":"Content derived from the basal information","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/contract-content-derivative","bindingName":"ContractContentDerivative"},"index":7},"issued":{"short":"When this Contract was issued","type":"dateTime","isSummary":true,"index":8},"applies":{"short":"Effective time","type":"Period","isSummary":true,"index":9},"expirationType":{"short":"Contract cessation cause","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/contract-expiration-type","bindingName":"ContractExpiration"},"index":10},"subject":{"short":"Contract Target Entity","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Resource"],"array":true,"index":11},"authority":{"short":"Authority under which this Contract has standing","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Organization"],"array":true,"index":12},"domain":{"short":"A sphere of control governed by an authoritative jurisdiction, organization, or person","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Location"],"array":true,"index":13},"site":{"short":"Specific Location","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Location"],"array":true,"index":14},"name":{"short":"Computer friendly designation","type":"string","isSummary":true,"index":15},"title":{"short":"Human Friendly name","type":"string","isSummary":true,"index":16},"subtitle":{"short":"Subordinate Friendly name","type":"string","index":17},"alias":{"short":"Acronym or short name","type":"string","array":true,"index":18},"author":{"short":"Source of Contract","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Organization","http://hl7.org/fhir/StructureDefinition/Patient","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole"],"index":19},"scope":{"short":"Range of Legal Concerns","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/contract-scope","bindingName":"ContractScope"},"index":20},"topic":{"short":"Focus of contract interest","choices":["topicCodeableConcept","topicReference"],"index":22},"topicCodeableConcept":{"short":"Focus of contract interest","type":"CodeableConcept","choiceOf":"topic","index":23},"topicReference":{"short":"Focus of contract interest","type":"Reference","choiceOf":"topic","refers":["http://hl7.org/fhir/StructureDefinition/Resource"],"index":24},"type":{"short":"Legal instrument category","type":"CodeableConcept","isSummary":true,"binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/contract-type","bindingName":"ContractType"},"index":25},"subType":{"short":"Subtype within the context of type","type":"CodeableConcept","isSummary":true,"binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/contract-subtype","bindingName":"ContractSubtype"},"array":true,"index":26},"contentDefinition":{"short":"Contract precursor content","type":"BackboneElement","index":27,"elements":{"type":{"short":"Content structure and use","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/contract-definition-type","bindingName":"ContractDefinitionType"},"index":28},"subType":{"short":"Detailed Content Type Definition","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/contract-definition-subtype","bindingName":"ContractDefinitionSubtype"},"index":29},"publisher":{"short":"Publisher Entity","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Organization","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole"],"index":30},"publicationDate":{"short":"When published","type":"dateTime","index":31},"publicationStatus":{"short":"amended | appended | cancelled | disputed | entered-in-error | executable | executed | negotiable | offered | policy | rejected | renewed | revoked | resolved | terminated","type":"code","binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/contract-publicationstatus|4.0.1","bindingName":"ContractPublicationStatus"},"index":32},"copyright":{"short":"Publication Ownership","type":"markdown","index":33}},"required":["publicationStatus","type"]},"term":{"short":"Contract Term List","type":"BackboneElement","array":true,"index":34,"elements":{"identifier":{"short":"Contract Term Number","type":"Identifier","isSummary":true,"index":35},"issued":{"short":"Contract Term Issue Date Time","type":"dateTime","isSummary":true,"index":36},"applies":{"short":"Contract Term Effective Time","type":"Period","isSummary":true,"index":37},"topic":{"short":"Term Concern","choices":["topicCodeableConcept","topicReference"],"index":39},"topicCodeableConcept":{"short":"Term Concern","type":"CodeableConcept","choiceOf":"topic","index":40},"topicReference":{"short":"Term Concern","type":"Reference","choiceOf":"topic","refers":["http://hl7.org/fhir/StructureDefinition/Resource"],"index":41},"type":{"short":"Contract Term Type or Form","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/contract-term-type","bindingName":"ContractTermType"},"index":42},"subType":{"short":"Contract Term Type specific classification","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/contract-term-subtype","bindingName":"ContractTermSubType"},"index":43},"text":{"short":"Term Statement","type":"string","isSummary":true,"index":44},"securityLabel":{"short":"Protection for the Term","type":"BackboneElement","array":true,"index":45,"elements":{"number":{"short":"Link to Security Labels","type":"unsignedInt","array":true,"index":46},"classification":{"short":"Confidentiality Protection","type":"Coding","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/contract-security-classification","bindingName":"ContractSecurityClassification"},"index":47},"category":{"short":"Applicable Policy","type":"Coding","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/contract-security-category","bindingName":"ContractSecurityCategory"},"array":true,"index":48},"control":{"short":"Handling Instructions","type":"Coding","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/contract-security-control","bindingName":"ContractSecurityControl"},"array":true,"index":49}},"required":["classification"]},"offer":{"short":"Context of the Contract term","type":"BackboneElement","index":50,"elements":{"identifier":{"short":"Offer business ID","type":"Identifier","array":true,"index":51},"party":{"short":"Offer Recipient","type":"BackboneElement","array":true,"index":52,"elements":{"reference":{"short":"Referenced entity","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Device","http://hl7.org/fhir/StructureDefinition/Group","http://hl7.org/fhir/StructureDefinition/Organization","http://hl7.org/fhir/StructureDefinition/Patient","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole","http://hl7.org/fhir/StructureDefinition/RelatedPerson"],"array":true,"min":1,"index":53},"role":{"short":"Participant engagement type","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/contract-party-role","bindingName":"ContractPartyRole"},"index":54}},"required":["reference","role"]},"topic":{"short":"Negotiable offer asset","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Resource"],"index":55},"type":{"short":"Contract Offer Type or Form","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/contract-term-type","bindingName":"ContractTermType"},"index":56},"decision":{"short":"Accepting party choice","type":"CodeableConcept","binding":{"strength":"extensible","valueSet":"http://terminology.hl7.org/ValueSet/v3-ActConsentDirective","bindingName":"ContractDecisionType"},"index":57},"decisionMode":{"short":"How decision is conveyed","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/contract-decision-mode","bindingName":"ContractDecisionMode"},"array":true,"index":58},"answer":{"short":"Response to offer text","type":"BackboneElement","array":true,"index":59,"elements":{"value":{"short":"The actual answer response","choices":["valueBoolean","valueDecimal","valueInteger","valueDate","valueDateTime","valueTime","valueString","valueUri","valueAttachment","valueCoding","valueQuantity","valueReference"],"index":61},"valueBoolean":{"short":"The actual answer response","type":"boolean","choiceOf":"value","index":62},"valueDecimal":{"short":"The actual answer response","type":"decimal","choiceOf":"value","index":63},"valueInteger":{"short":"The actual answer response","type":"integer","choiceOf":"value","index":64},"valueDate":{"short":"The actual answer response","type":"date","choiceOf":"value","index":65},"valueDateTime":{"short":"The actual answer response","type":"dateTime","choiceOf":"value","index":66},"valueTime":{"short":"The actual answer response","type":"time","choiceOf":"value","index":67},"valueString":{"short":"The actual answer response","type":"string","choiceOf":"value","index":68},"valueUri":{"short":"The actual answer response","type":"uri","choiceOf":"value","index":69},"valueAttachment":{"short":"The actual answer response","type":"Attachment","choiceOf":"value","index":70},"valueCoding":{"short":"The actual answer response","type":"Coding","choiceOf":"value","index":71},"valueQuantity":{"short":"The actual answer response","type":"Quantity","choiceOf":"value","index":72},"valueReference":{"short":"The actual answer response","type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/Resource"],"index":73}},"required":["value"]},"text":{"short":"Human readable offer text","type":"string","index":74},"linkId":{"short":"Pointer to text","type":"string","array":true,"index":75},"securityLabelNumber":{"short":"Offer restriction numbers","type":"unsignedInt","array":true,"index":76}}},"asset":{"short":"Contract Term Asset List","type":"BackboneElement","array":true,"index":77,"elements":{"scope":{"short":"Range of asset","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/contract-assetscope","bindingName":"ContractAssetScope"},"index":78},"type":{"short":"Asset category","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/contract-assettype","bindingName":"ContractAssetType"},"array":true,"index":79},"typeReference":{"short":"Associated entities","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Resource"],"array":true,"index":80},"subtype":{"short":"Asset sub-category","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/contract-assetsubtype","bindingName":"ContractAssetSubtype"},"array":true,"index":81},"relationship":{"short":"Kinship of the asset","type":"Coding","binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/ValueSet/consent-content-class","bindingName":"ConsentContentClass"},"index":82},"context":{"short":"Circumstance of the asset","type":"BackboneElement","array":true,"index":83,"elements":{"reference":{"short":"Creator,custodian or owner","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Resource"],"index":84},"code":{"short":"Codeable asset context","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/contract-assetcontext","bindingName":"ContractAssetContext"},"array":true,"index":85},"text":{"short":"Context description","type":"string","index":86}}},"condition":{"short":"Quality desctiption of asset","type":"string","index":87},"periodType":{"short":"Asset availability types","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/asset-availability","bindingName":"AssetAvailabilityType"},"array":true,"index":88},"period":{"short":"Time period of the asset","type":"Period","array":true,"index":89},"usePeriod":{"short":"Time period","type":"Period","array":true,"index":90},"text":{"short":"Asset clause or question text","type":"string","index":91},"linkId":{"short":"Pointer to asset text","type":"string","array":true,"index":92},"answer":{"short":"Response to assets","elementReference":["http://hl7.org/fhir/StructureDefinition/Contract","elements","term","elements","offer","elements","answer"],"array":true,"index":93},"securityLabelNumber":{"short":"Asset restriction numbers","type":"unsignedInt","array":true,"index":94},"valuedItem":{"short":"Contract Valued Item List","type":"BackboneElement","array":true,"index":95,"elements":{"entity":{"short":"Contract Valued Item Type","choices":["entityCodeableConcept","entityReference"],"index":97},"entityCodeableConcept":{"short":"Contract Valued Item Type","type":"CodeableConcept","choiceOf":"entity","index":98},"entityReference":{"short":"Contract Valued Item Type","type":"Reference","choiceOf":"entity","refers":["http://hl7.org/fhir/StructureDefinition/Resource"],"index":99},"identifier":{"short":"Contract Valued Item Number","type":"Identifier","index":100},"effectiveTime":{"short":"Contract Valued Item Effective Tiem","type":"dateTime","index":101},"quantity":{"short":"Count of Contract Valued Items","type":"Quantity","index":102},"unitPrice":{"short":"Contract Valued Item fee, charge, or cost","type":"Money","index":103},"factor":{"short":"Contract Valued Item Price Scaling Factor","type":"decimal","index":104},"points":{"short":"Contract Valued Item Difficulty Scaling Factor","type":"decimal","index":105},"net":{"short":"Total Contract Valued Item Value","type":"Money","index":106},"payment":{"short":"Terms of valuation","type":"string","index":107},"paymentDate":{"short":"When payment is due","type":"dateTime","index":108},"responsible":{"short":"Who will make payment","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Organization","http://hl7.org/fhir/StructureDefinition/Patient","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole","http://hl7.org/fhir/StructureDefinition/RelatedPerson"],"index":109},"recipient":{"short":"Who will receive payment","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Organization","http://hl7.org/fhir/StructureDefinition/Patient","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole","http://hl7.org/fhir/StructureDefinition/RelatedPerson"],"index":110},"linkId":{"short":"Pointer to specific item","type":"string","array":true,"index":111},"securityLabelNumber":{"short":"Security Labels that define affected terms","type":"unsignedInt","array":true,"index":112}}}}},"action":{"short":"Entity being ascribed responsibility","type":"BackboneElement","array":true,"index":113,"elements":{"doNotPerform":{"short":"True if the term prohibits the action","type":"boolean","isModifier":true,"isModifierReason":"If true this element negates the specified action. For Example, instead of a dictate to perform an action, it is a dictate not to perform the action.","index":114},"type":{"short":"Type or form of the action","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/contract-action","bindingName":"ContractAction"},"index":115},"subject":{"short":"Entity of the action","type":"BackboneElement","array":true,"index":116,"elements":{"reference":{"short":"Entity of the action","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Device","http://hl7.org/fhir/StructureDefinition/Group","http://hl7.org/fhir/StructureDefinition/Organization","http://hl7.org/fhir/StructureDefinition/Patient","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole","http://hl7.org/fhir/StructureDefinition/RelatedPerson"],"array":true,"min":1,"index":117},"role":{"short":"Role type of the agent","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/contract-actorrole","bindingName":"ContractActorRole"},"index":118}},"required":["reference"]},"intent":{"short":"Purpose for the Contract Term Action","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://terminology.hl7.org/ValueSet/v3-PurposeOfUse","bindingName":"ContractActionReason"},"index":119},"linkId":{"short":"Pointer to specific item","type":"string","array":true,"index":120},"status":{"short":"State of the action","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/contract-actionstatus","bindingName":"ContractActionStatus"},"index":121},"context":{"short":"Episode associated with action","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Encounter","http://hl7.org/fhir/StructureDefinition/EpisodeOfCare"],"index":122},"contextLinkId":{"short":"Pointer to specific item","type":"string","array":true,"index":123},"occurrence":{"short":"When action happens","choices":["occurrenceDateTime","occurrencePeriod","occurrenceTiming"],"index":125},"occurrenceDateTime":{"short":"When action happens","type":"dateTime","choiceOf":"occurrence","index":126},"occurrencePeriod":{"short":"When action happens","type":"Period","choiceOf":"occurrence","index":127},"occurrenceTiming":{"short":"When action happens","type":"Timing","choiceOf":"occurrence","index":128},"requester":{"short":"Who asked for action","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Device","http://hl7.org/fhir/StructureDefinition/Group","http://hl7.org/fhir/StructureDefinition/Organization","http://hl7.org/fhir/StructureDefinition/Patient","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole","http://hl7.org/fhir/StructureDefinition/RelatedPerson"],"array":true,"index":129},"requesterLinkId":{"short":"Pointer to specific item","type":"string","array":true,"index":130},"performerType":{"short":"Kind of service performer","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/provenance-agent-type","bindingName":"ContractActionPerformerType"},"array":true,"index":131},"performerRole":{"short":"Competency of the performer","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/provenance-agent-role","bindingName":"ContractActionPerformerRole"},"index":132},"performer":{"short":"Actor that wil execute (or not) the action","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/CareTeam","http://hl7.org/fhir/StructureDefinition/Device","http://hl7.org/fhir/StructureDefinition/Location","http://hl7.org/fhir/StructureDefinition/Organization","http://hl7.org/fhir/StructureDefinition/Patient","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole","http://hl7.org/fhir/StructureDefinition/RelatedPerson","http://hl7.org/fhir/StructureDefinition/Substance"],"index":133},"performerLinkId":{"short":"Pointer to specific item","type":"string","array":true,"index":134},"reasonCode":{"short":"Why is action (not) needed?","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://terminology.hl7.org/ValueSet/v3-PurposeOfUse","bindingName":"ContractActionReason"},"array":true,"index":135},"reasonReference":{"short":"Why is action (not) needed?","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Condition","http://hl7.org/fhir/StructureDefinition/DiagnosticReport","http://hl7.org/fhir/StructureDefinition/DocumentReference","http://hl7.org/fhir/StructureDefinition/Observation","http://hl7.org/fhir/StructureDefinition/Questionnaire","http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse"],"array":true,"index":136},"reason":{"short":"Why action is to be performed","type":"string","array":true,"index":137},"reasonLinkId":{"short":"Pointer to specific item","type":"string","array":true,"index":138},"note":{"short":"Comments about the action","type":"Annotation","array":true,"index":139},"securityLabelNumber":{"short":"Action restriction numbers","type":"unsignedInt","array":true,"index":140}},"required":["intent","status","type"]},"group":{"short":"Nested Contract Term Group","elementReference":["http://hl7.org/fhir/StructureDefinition/Contract","elements","term"],"array":true,"index":141}},"required":["offer"]},"supportingInfo":{"short":"Extra Information","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Resource"],"array":true,"index":142},"relevantHistory":{"short":"Key event in Contract History","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Provenance"],"array":true,"index":143},"signer":{"short":"Contract Signatory","type":"BackboneElement","array":true,"index":144,"elements":{"type":{"short":"Contract Signatory Role","type":"Coding","binding":{"strength":"preferred","valueSet":"http://hl7.org/fhir/ValueSet/contract-signer-type","bindingName":"ContractSignerType"},"index":145},"party":{"short":"Contract Signatory Party","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Organization","http://hl7.org/fhir/StructureDefinition/Patient","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole","http://hl7.org/fhir/StructureDefinition/RelatedPerson"],"index":146},"signature":{"short":"Contract Documentation Signature","type":"Signature","array":true,"min":1,"index":147}},"required":["party","signature","type"]},"friendly":{"short":"Contract Friendly Language","type":"BackboneElement","array":true,"index":148,"elements":{"content":{"short":"Easily comprehended representation of this Contract","choices":["contentAttachment","contentReference"],"index":150},"contentAttachment":{"short":"Easily comprehended representation of this Contract","type":"Attachment","choiceOf":"content","index":151},"contentReference":{"short":"Easily comprehended representation of this Contract","type":"Reference","choiceOf":"content","refers":["http://hl7.org/fhir/StructureDefinition/Composition","http://hl7.org/fhir/StructureDefinition/DocumentReference","http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse"],"index":152}},"required":["content"]},"legal":{"short":"Contract Legal Language","type":"BackboneElement","array":true,"index":153,"elements":{"content":{"short":"Contract Legal Text","choices":["contentAttachment","contentReference"],"index":155},"contentAttachment":{"short":"Contract Legal Text","type":"Attachment","choiceOf":"content","index":156},"contentReference":{"short":"Contract Legal Text","type":"Reference","choiceOf":"content","refers":["http://hl7.org/fhir/StructureDefinition/Composition","http://hl7.org/fhir/StructureDefinition/DocumentReference","http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse"],"index":157}},"required":["content"]},"rule":{"short":"Computable Contract Language","type":"BackboneElement","array":true,"index":158,"elements":{"content":{"short":"Computable Contract Rules","choices":["contentAttachment","contentReference"],"index":160},"contentAttachment":{"short":"Computable Contract Rules","type":"Attachment","choiceOf":"content","index":161},"contentReference":{"short":"Computable Contract Rules","type":"Reference","choiceOf":"content","refers":["http://hl7.org/fhir/StructureDefinition/DocumentReference"],"index":162}},"required":["content"]},"legallyBinding":{"short":"Binding Contract","choices":["legallyBindingAttachment","legallyBindingReference"],"index":164},"legallyBindingAttachment":{"short":"Binding Contract","type":"Attachment","choiceOf":"legallyBinding","index":165},"legallyBindingReference":{"short":"Binding Contract","type":"Reference","choiceOf":"legallyBinding","refers":["http://hl7.org/fhir/StructureDefinition/Composition","http://hl7.org/fhir/StructureDefinition/Contract","http://hl7.org/fhir/StructureDefinition/DocumentReference","http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse"],"index":166}},"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"Contributor","type":"Contributor","kind":"complex-type","class":"complex-type","url":"http://hl7.org/fhir/StructureDefinition/Contributor","version":"4.0.1","description":"Base StructureDefinition for Contributor Type: A contributor to the content of a knowledge asset, including authors, editors, reviewers, and endorsers.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/Element","elements":{"type":{"short":"author | editor | reviewer | endorser","type":"code","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/contributor-type|4.0.1","bindingName":"ContributorType"},"index":0},"name":{"short":"Who contributed the content","type":"string","isSummary":true,"index":1},"contact":{"short":"Contact details of the contributor","type":"ContactDetail","isSummary":true,"array":true,"index":2}},"required":["name","type"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} @@ -877,59 +877,59 @@ exports[`IntrospectionWriter - Fhir Schema Output Check all introspection data i {"name":"Coverage","type":"Coverage","kind":"resource","class":"resource","url":"http://hl7.org/fhir/StructureDefinition/Coverage","version":"4.0.1","description":"Financial instrument which may be used to reimburse or pay for health care products and services. Includes both insurance and self-payment.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/DomainResource","elements":{"identifier":{"short":"Business Identifier for the coverage","type":"Identifier","isSummary":true,"array":true,"index":0},"status":{"short":"active | cancelled | draft | entered-in-error","type":"code","isModifier":true,"isModifierReason":"This element is labelled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/fm-status|4.0.1","bindingName":"CoverageStatus"},"index":1},"type":{"short":"Coverage category such as medical or accident","type":"CodeableConcept","isSummary":true,"binding":{"strength":"preferred","valueSet":"http://hl7.org/fhir/ValueSet/coverage-type","bindingName":"CoverageType"},"index":2},"policyHolder":{"short":"Owner of the policy","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Organization","http://hl7.org/fhir/StructureDefinition/Patient","http://hl7.org/fhir/StructureDefinition/RelatedPerson"],"index":3},"subscriber":{"short":"Subscriber to the policy","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Patient","http://hl7.org/fhir/StructureDefinition/RelatedPerson"],"index":4},"subscriberId":{"short":"ID assigned to the subscriber","type":"string","isSummary":true,"index":5},"beneficiary":{"short":"Plan beneficiary","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Patient"],"index":6},"dependent":{"short":"Dependent number","type":"string","isSummary":true,"index":7},"relationship":{"short":"Beneficiary relationship to the subscriber","type":"CodeableConcept","binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/ValueSet/subscriber-relationship","bindingName":"Relationship"},"index":8},"period":{"short":"Coverage start and end dates","type":"Period","isSummary":true,"index":9},"payor":{"short":"Issuer of the policy","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Organization","http://hl7.org/fhir/StructureDefinition/Patient","http://hl7.org/fhir/StructureDefinition/RelatedPerson"],"array":true,"min":1,"index":10},"class":{"short":"Additional coverage classifications","type":"BackboneElement","array":true,"index":11,"elements":{"type":{"short":"Type of class such as 'group' or 'plan'","type":"CodeableConcept","isSummary":true,"binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/ValueSet/coverage-class","bindingName":"CoverageClass"},"index":12},"value":{"short":"Value associated with the type","type":"string","isSummary":true,"index":13},"name":{"short":"Human readable description of the type and value","type":"string","isSummary":true,"index":14}},"required":["type","value"]},"order":{"short":"Relative order of the coverage","type":"positiveInt","isSummary":true,"index":15},"network":{"short":"Insurer network","type":"string","isSummary":true,"index":16},"costToBeneficiary":{"short":"Patient payments for services/products","type":"BackboneElement","array":true,"index":17,"elements":{"type":{"short":"Cost category","type":"CodeableConcept","isSummary":true,"binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/ValueSet/coverage-copay-type","bindingName":"CopayTypes"},"index":18},"value":{"short":"The amount or percentage due from the beneficiary","isSummary":true,"choices":["valueQuantity","valueMoney"],"index":20},"valueQuantity":{"short":"The amount or percentage due from the beneficiary","type":"Quantity","isSummary":true,"choiceOf":"value","index":21},"valueMoney":{"short":"The amount or percentage due from the beneficiary","type":"Money","isSummary":true,"choiceOf":"value","index":22},"exception":{"short":"Exceptions for patient payments","type":"BackboneElement","array":true,"index":23,"elements":{"type":{"short":"Exception category","type":"CodeableConcept","isSummary":true,"binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/coverage-financial-exception","bindingName":"CoverageFinancialException"},"index":24},"period":{"short":"The effective period of the exception","type":"Period","isSummary":true,"index":25}},"required":["type"]}},"required":["value"]},"subrogation":{"short":"Reimbursement to insurer","type":"boolean","index":26},"contract":{"short":"Contract details","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Contract"],"array":true,"index":27}},"required":["beneficiary","payor","status"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"CoverageEligibilityRequest","type":"CoverageEligibilityRequest","kind":"resource","class":"resource","url":"http://hl7.org/fhir/StructureDefinition/CoverageEligibilityRequest","version":"4.0.1","description":"The CoverageEligibilityRequest provides patient and insurance coverage information to an insurer for them to respond, in the form of an CoverageEligibilityResponse, with information regarding whether the stated coverage is valid and in-force and optionally to provide the insurance details of the policy.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/DomainResource","elements":{"identifier":{"short":"Business Identifier for coverage eligiblity request","type":"Identifier","array":true,"index":0},"status":{"short":"active | cancelled | draft | entered-in-error","type":"code","isModifier":true,"isModifierReason":"This element is labeled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/fm-status|4.0.1","bindingName":"EligibilityRequestStatus"},"index":1},"priority":{"short":"Desired processing priority","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/process-priority","bindingName":"ProcessPriority"},"index":2},"purpose":{"short":"auth-requirements | benefits | discovery | validation","type":"code","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/eligibilityrequest-purpose|4.0.1","bindingName":"EligibilityRequestPurpose"},"array":true,"min":1,"index":3},"patient":{"short":"Intended recipient of products and services","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Patient"],"index":4},"serviced":{"short":"Estimated date or dates of service","choices":["servicedDate","servicedPeriod"],"index":6},"servicedDate":{"short":"Estimated date or dates of service","type":"date","choiceOf":"serviced","index":7},"servicedPeriod":{"short":"Estimated date or dates of service","type":"Period","choiceOf":"serviced","index":8},"created":{"short":"Creation date","type":"dateTime","isSummary":true,"index":9},"enterer":{"short":"Author","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole"],"index":10},"provider":{"short":"Party responsible for the request","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Organization","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole"],"index":11},"insurer":{"short":"Coverage issuer","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Organization"],"index":12},"facility":{"short":"Servicing facility","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Location"],"index":13},"supportingInfo":{"short":"Supporting information","type":"BackboneElement","array":true,"index":14,"elements":{"sequence":{"short":"Information instance identifier","type":"positiveInt","index":15},"information":{"short":"Data to be provided","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Resource"],"index":16},"appliesToAll":{"short":"Applies to all items","type":"boolean","index":17}},"required":["information","sequence"]},"insurance":{"short":"Patient insurance information","type":"BackboneElement","array":true,"index":18,"elements":{"focal":{"short":"Applicable coverage","type":"boolean","index":19},"coverage":{"short":"Insurance information","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Coverage"],"index":20},"businessArrangement":{"short":"Additional provider contract number","type":"string","index":21}},"required":["coverage"]},"item":{"short":"Item to be evaluated for eligibiity","type":"BackboneElement","array":true,"index":22,"elements":{"supportingInfoSequence":{"short":"Applicable exception or supporting information","type":"positiveInt","array":true,"index":23},"category":{"short":"Benefit classification","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/ex-benefitcategory","bindingName":"BenefitCategory"},"index":24},"productOrService":{"short":"Billing, service, product, or drug code","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/service-uscls","bindingName":"ServiceProduct"},"index":25},"modifier":{"short":"Product or service billing modifiers","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/claim-modifiers","bindingName":"Modifiers"},"array":true,"index":26},"provider":{"short":"Perfoming practitioner","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole"],"index":27},"quantity":{"short":"Count of products or services","type":"Quantity","index":28},"unitPrice":{"short":"Fee, charge or cost per item","type":"Money","index":29},"facility":{"short":"Servicing facility","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Location","http://hl7.org/fhir/StructureDefinition/Organization"],"index":30},"diagnosis":{"short":"Applicable diagnosis","type":"BackboneElement","array":true,"index":31,"elements":{"diagnosis":{"short":"Nature of illness or problem","choices":["diagnosisCodeableConcept","diagnosisReference"],"index":33},"diagnosisCodeableConcept":{"short":"Nature of illness or problem","type":"CodeableConcept","choiceOf":"diagnosis","index":34},"diagnosisReference":{"short":"Nature of illness or problem","type":"Reference","choiceOf":"diagnosis","refers":["http://hl7.org/fhir/StructureDefinition/Condition"],"index":35}}},"detail":{"short":"Product or service details","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Resource"],"array":true,"index":36}}}},"required":["created","insurer","patient","purpose","status"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"CoverageEligibilityResponse","type":"CoverageEligibilityResponse","kind":"resource","class":"resource","url":"http://hl7.org/fhir/StructureDefinition/CoverageEligibilityResponse","version":"4.0.1","description":"This resource provides eligibility and plan details from the processing of an CoverageEligibilityRequest resource.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/DomainResource","elements":{"identifier":{"short":"Business Identifier for coverage eligiblity request","type":"Identifier","array":true,"index":0},"status":{"short":"active | cancelled | draft | entered-in-error","type":"code","isModifier":true,"isModifierReason":"This element is labeled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/fm-status|4.0.1","bindingName":"EligibilityResponseStatus"},"index":1},"purpose":{"short":"auth-requirements | benefits | discovery | validation","type":"code","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/eligibilityresponse-purpose|4.0.1","bindingName":"EligibilityResponsePurpose"},"array":true,"min":1,"index":2},"patient":{"short":"Intended recipient of products and services","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Patient"],"index":3},"serviced":{"short":"Estimated date or dates of service","choices":["servicedDate","servicedPeriod"],"index":5},"servicedDate":{"short":"Estimated date or dates of service","type":"date","choiceOf":"serviced","index":6},"servicedPeriod":{"short":"Estimated date or dates of service","type":"Period","choiceOf":"serviced","index":7},"created":{"short":"Response creation date","type":"dateTime","isSummary":true,"index":8},"requestor":{"short":"Party responsible for the request","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Organization","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole"],"index":9},"request":{"short":"Eligibility request reference","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/CoverageEligibilityRequest"],"index":10},"outcome":{"short":"queued | complete | error | partial","type":"code","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/remittance-outcome|4.0.1","bindingName":"RemittanceOutcome"},"index":11},"disposition":{"short":"Disposition Message","type":"string","index":12},"insurer":{"short":"Coverage issuer","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Organization"],"index":13},"insurance":{"short":"Patient insurance information","type":"BackboneElement","array":true,"index":14,"elements":{"coverage":{"short":"Insurance information","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Coverage"],"index":15},"inforce":{"short":"Coverage inforce indicator","type":"boolean","index":16},"benefitPeriod":{"short":"When the benefits are applicable","type":"Period","index":17},"item":{"short":"Benefits and authorization details","type":"BackboneElement","constraint":{"ces-1":{"expression":"category.exists() xor productOrService.exists()","human":"SHALL contain a category or a billcode but not both.","severity":"error"}},"array":true,"index":18,"elements":{"category":{"short":"Benefit classification","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/ex-benefitcategory","bindingName":"BenefitCategory"},"index":19},"productOrService":{"short":"Billing, service, product, or drug code","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/service-uscls","bindingName":"ServiceProduct"},"index":20},"modifier":{"short":"Product or service billing modifiers","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/claim-modifiers","bindingName":"Modifiers"},"array":true,"index":21},"provider":{"short":"Performing practitioner","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole"],"index":22},"excluded":{"short":"Excluded from the plan","type":"boolean","index":23},"name":{"short":"Short name for the benefit","type":"string","index":24},"description":{"short":"Description of the benefit or services covered","type":"string","index":25},"network":{"short":"In or out of network","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/benefit-network","bindingName":"BenefitNetwork"},"index":26},"unit":{"short":"Individual or family","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/benefit-unit","bindingName":"BenefitUnit"},"index":27},"term":{"short":"Annual or lifetime","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/benefit-term","bindingName":"BenefitTerm"},"index":28},"benefit":{"short":"Benefit Summary","type":"BackboneElement","array":true,"index":29,"elements":{"type":{"short":"Benefit classification","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/benefit-type","bindingName":"BenefitType"},"index":30},"allowed":{"short":"Benefits allowed","choices":["allowedUnsignedInt","allowedString","allowedMoney"],"index":32},"allowedUnsignedInt":{"short":"Benefits allowed","type":"unsignedInt","choiceOf":"allowed","index":33},"allowedString":{"short":"Benefits allowed","type":"string","choiceOf":"allowed","index":34},"allowedMoney":{"short":"Benefits allowed","type":"Money","choiceOf":"allowed","index":35},"used":{"short":"Benefits used","choices":["usedUnsignedInt","usedString","usedMoney"],"index":37},"usedUnsignedInt":{"short":"Benefits used","type":"unsignedInt","choiceOf":"used","index":38},"usedString":{"short":"Benefits used","type":"string","choiceOf":"used","index":39},"usedMoney":{"short":"Benefits used","type":"Money","choiceOf":"used","index":40}},"required":["type"]},"authorizationRequired":{"short":"Authorization required flag","type":"boolean","index":41},"authorizationSupporting":{"short":"Type of required supporting materials","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/coverageeligibilityresponse-ex-auth-support","bindingName":"AuthSupporting"},"array":true,"index":42},"authorizationUrl":{"short":"Preauthorization requirements endpoint","type":"uri","index":43}}}},"required":["coverage"]},"preAuthRef":{"short":"Preauthorization reference","type":"string","index":44},"form":{"short":"Printed form identifier","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/forms","bindingName":"Forms"},"index":45},"error":{"short":"Processing errors","type":"BackboneElement","array":true,"index":46,"elements":{"code":{"short":"Error code detailing processing issues","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/adjudication-error","bindingName":"AdjudicationError"},"index":47}},"required":["code"]}},"required":["created","insurer","outcome","patient","purpose","request","status"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"calculatedValue","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/cqf-calculatedValue","version":"4.0.1","description":"The name of an expression in a referenced library that determines a calculated value.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/cqf-calculatedValue"},"type":"uri","index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"cdsHooksEndpoint","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/cqf-cdsHooksEndpoint","version":"4.0.1","description":"Specifies the URI of a CDS Hooks service that uses this PlanDefinition as its implementation.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/cqf-cdsHooksEndpoint"},"type":"uri","index":1},"value":{"choices":["valueUri"],"index":3},"valueUri":{"type":"uri","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"citation","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/cqf-citation","version":"4.0.1","description":"A bibliographic citation for the related resource. This text SHOULD be formatted according to an accepted citation format.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/cqf-citation"},"type":"uri","index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"encounterClass","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/cqf-encounterClass","version":"4.0.1","description":"The class of encounter (inpatient, outpatient, etc.).","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/cqf-encounterClass"},"type":"uri","index":1},"value":{"choices":["valueCodeableConcept"],"index":3},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"encounterType","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/cqf-encounterType","version":"4.0.1","description":"The type of the encounter.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/cqf-encounterType"},"type":"uri","index":1},"value":{"choices":["valueCodeableConcept"],"index":3},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"expression","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/cqf-expression","version":"4.0.1","description":"An expression that, when evaluated, provides the value for the element on which it appears.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/cqf-expression"},"type":"uri","index":1},"value":{"choices":["valueExpression"],"index":3},"valueExpression":{"type":"Expression","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"initialValue","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/cqf-initialValue","version":"4.0.1","description":"The name of an expression in a referenced library that determines an initial value.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/cqf-initialValue"},"type":"uri","index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"initiatingOrganization","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/cqf-initiatingOrganization","version":"4.0.1","description":"The organization initiating the request.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/cqf-initiatingOrganization"},"type":"uri","index":1},"value":{"choices":["valueReference"],"index":3},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/Organization"],"index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"initiatingPerson","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/cqf-initiatingPerson","version":"4.0.1","description":"The person initiating the request.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/cqf-initiatingPerson"},"type":"uri","index":1},"value":{"choices":["valueReference"],"index":3},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/Patient","http://hl7.org/fhir/StructureDefinition/Person","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/RelatedPerson"],"index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"library","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/cqf-library","version":"4.0.1","description":"A reference to a Library containing the formal logic used by the artifact.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/cqf-library"},"type":"uri","index":1},"value":{"choices":["valueCanonical"],"index":3},"valueCanonical":{"type":"canonical","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"measureInfo","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/cqf-measureInfo","version":"4.0.1","description":"The measure criteria that resulted in the resource being included in a particular evaluatedResources bundle.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{"measure":{"max":1,"short":"The measure being calculated","index":0,"extensions":{},"required":["value"]},"groupId":{"max":1,"short":"The group identifier","index":6,"extensions":{},"required":["value"]},"populationId":{"max":1,"short":"The population identifier","index":12,"extensions":{},"required":["value"]}},"elements":{"extension":{"short":"The measure being calculated","type":"Extension","index":0,"slicing":{"slices":{"measure":{"match":{},"schema":{"short":"The measure being calculated","type":"Extension","index":0,"extensions":"[Circular Reference]","elements":{"extension":{"index":1},"url":{"type":"uri","pattern":{"type":"uri","value":"measure"},"index":2},"value":{"choices":["valueCanonical"],"index":4},"valueCanonical":{"type":"canonical","choiceOf":"value","index":5}},"required":["value"]},"max":1},"groupId":{"match":{},"schema":{"short":"The group identifier","type":"Extension","index":6,"extensions":"[Circular Reference]","elements":{"extension":{"index":7},"url":{"type":"uri","pattern":{"type":"uri","value":"groupId"},"index":8},"value":{"choices":["valueString"],"index":10},"valueString":{"type":"string","choiceOf":"value","index":11}},"required":["value"]},"max":1},"populationId":{"match":{},"schema":{"short":"The population identifier","type":"Extension","index":12,"extensions":"[Circular Reference]","elements":{"extension":{"index":13},"url":{"type":"uri","pattern":{"type":"uri","value":"populationId"},"index":14},"value":{"choices":["valueString"],"index":16},"valueString":{"type":"string","choiceOf":"value","index":17}},"required":["value"]},"max":1}}}},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/cqf-measureInfo"},"type":"uri","index":18}},"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"qualityOfEvidence","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/cqf-qualityOfEvidence","version":"4.0.1","description":"The quality of the evidence described. The code system used specifies the quality scale used to grade this evidence source while the code specifies the actual quality score (represented as a coded value) associated with the evidence.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/cqf-qualityOfEvidence"},"type":"uri","index":1},"value":{"choices":["valueCodeableConcept"],"index":3},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"calculatedValue","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/cqf-calculatedValue","version":"4.0.1","description":"The name of an expression in a referenced library that determines a calculated value.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/cqf-calculatedValue"},"index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"cdsHooksEndpoint","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/cqf-cdsHooksEndpoint","version":"4.0.1","description":"Specifies the URI of a CDS Hooks service that uses this PlanDefinition as its implementation.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/cqf-cdsHooksEndpoint"},"index":1},"value":{"choices":["valueUri"],"index":3},"valueUri":{"type":"uri","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"citation","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/cqf-citation","version":"4.0.1","description":"A bibliographic citation for the related resource. This text SHOULD be formatted according to an accepted citation format.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/cqf-citation"},"index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"encounterClass","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/cqf-encounterClass","version":"4.0.1","description":"The class of encounter (inpatient, outpatient, etc.).","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/cqf-encounterClass"},"index":1},"value":{"choices":["valueCodeableConcept"],"index":3},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"encounterType","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/cqf-encounterType","version":"4.0.1","description":"The type of the encounter.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/cqf-encounterType"},"index":1},"value":{"choices":["valueCodeableConcept"],"index":3},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"expression","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/cqf-expression","version":"4.0.1","description":"An expression that, when evaluated, provides the value for the element on which it appears.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/cqf-expression"},"index":1},"value":{"choices":["valueExpression"],"index":3},"valueExpression":{"type":"Expression","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"initialValue","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/cqf-initialValue","version":"4.0.1","description":"The name of an expression in a referenced library that determines an initial value.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/cqf-initialValue"},"index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"initiatingOrganization","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/cqf-initiatingOrganization","version":"4.0.1","description":"The organization initiating the request.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/cqf-initiatingOrganization"},"index":1},"value":{"choices":["valueReference"],"index":3},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/Organization"],"index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"initiatingPerson","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/cqf-initiatingPerson","version":"4.0.1","description":"The person initiating the request.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/cqf-initiatingPerson"},"index":1},"value":{"choices":["valueReference"],"index":3},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/Patient","http://hl7.org/fhir/StructureDefinition/Person","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/RelatedPerson"],"index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"library","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/cqf-library","version":"4.0.1","description":"A reference to a Library containing the formal logic used by the artifact.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/cqf-library"},"index":1},"value":{"choices":["valueCanonical"],"index":3},"valueCanonical":{"type":"canonical","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"measureInfo","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/cqf-measureInfo","version":"4.0.1","description":"The measure criteria that resulted in the resource being included in a particular evaluatedResources bundle.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{"measure":{"max":1,"short":"The measure being calculated","index":0,"extensions":{},"required":["value"]},"groupId":{"max":1,"short":"The group identifier","index":6,"extensions":{},"required":["value"]},"populationId":{"max":1,"short":"The population identifier","index":12,"extensions":{},"required":["value"]}},"elements":{"extension":{"short":"The measure being calculated","type":"Extension","index":0,"slicing":{"slices":{"measure":{"match":{},"schema":{"short":"The measure being calculated","type":"Extension","index":0,"extensions":"[Circular Reference]","elements":{"extension":{"index":1},"url":{"type":"uri","fixed":{"type":"uri","value":"measure"},"index":2},"value":{"choices":["valueCanonical"],"index":4},"valueCanonical":{"type":"canonical","choiceOf":"value","index":5}},"required":["value"]},"max":1},"groupId":{"match":{},"schema":{"short":"The group identifier","type":"Extension","index":6,"extensions":"[Circular Reference]","elements":{"extension":{"index":7},"url":{"type":"uri","fixed":{"type":"uri","value":"groupId"},"index":8},"value":{"choices":["valueString"],"index":10},"valueString":{"type":"string","choiceOf":"value","index":11}},"required":["value"]},"max":1},"populationId":{"match":{},"schema":{"short":"The population identifier","type":"Extension","index":12,"extensions":"[Circular Reference]","elements":{"extension":{"index":13},"url":{"type":"uri","fixed":{"type":"uri","value":"populationId"},"index":14},"value":{"choices":["valueString"],"index":16},"valueString":{"type":"string","choiceOf":"value","index":17}},"required":["value"]},"max":1}}}},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/cqf-measureInfo"},"index":18}},"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"qualityOfEvidence","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/cqf-qualityOfEvidence","version":"4.0.1","description":"The quality of the evidence described. The code system used specifies the quality scale used to grade this evidence source while the code specifies the actual quality score (represented as a coded value) associated with the evidence.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/cqf-qualityOfEvidence"},"index":1},"value":{"choices":["valueCodeableConcept"],"index":3},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"CQF-Questionnaire","type":"Questionnaire","kind":"resource","class":"profile","url":"http://hl7.org/fhir/StructureDefinition/cqf-questionnaire","version":"4.0.1","description":"A questionnaire with the ability to specify behavior associated with questions or groups of questions","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Questionnaire","extensions":{"library":{"short":"A library containing logic referenced by the questionnaire","url":"http://hl7.org/fhir/StructureDefinition/cqf-library","index":0}},"elements":{"extension":{"short":"A library containing logic referenced by the questionnaire","type":"Extension","url":"http://hl7.org/fhir/StructureDefinition/cqf-library","index":0,"slicing":{"slices":{"library":{"match":{},"schema":{"short":"A library containing logic referenced by the questionnaire","type":"Extension","url":"http://hl7.org/fhir/StructureDefinition/cqf-library","index":0}}}}}},"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"receivingOrganization","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/cqf-receivingOrganization","version":"4.0.1","description":"The organization that will receive the response.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/cqf-receivingOrganization"},"type":"uri","index":1},"value":{"choices":["valueReference"],"index":3},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/Organization"],"index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"receivingPerson","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/cqf-receivingPerson","version":"4.0.1","description":"The person in the receiving organization that will receive the response.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/cqf-receivingPerson"},"type":"uri","index":1},"value":{"choices":["valueReference"],"index":3},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/Patient","http://hl7.org/fhir/StructureDefinition/Person","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/RelatedPerson"],"index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"recipientLanguage","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/cqf-recipientLanguage","version":"4.0.1","description":"Preferred language of the person that will consume the content.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/cqf-recipientLanguage"},"type":"uri","index":1},"value":{"choices":["valueCodeableConcept"],"index":3},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"recipientType","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/cqf-recipientType","version":"4.0.1","description":"The type of individual that will consume the response content. This may be different from the requesting user type (e.g. if a clinician is getting disease management guidance for provision to a patient). E.g. patient, healthcare provider or specific type of healthcare provider (physician, nurse, etc.).","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/cqf-recipientType"},"type":"uri","index":1},"value":{"choices":["valueCodeableConcept"],"index":3},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"relativeDateTime","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/cqf-relativeDateTime","version":"4.0.1","description":"A date/time value that is determined based on a duration offset from a target event.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{"target":{"min":1,"max":1,"short":"Relative to what event","_required":true,"index":0,"extensions":{},"required":["value"]},"targetPath":{"min":1,"max":1,"short":"Relative to which element on the event","_required":true,"index":6,"extensions":{},"required":["value"]},"relationship":{"min":1,"max":1,"short":"before-start | before | before-end | concurrent-with-start | concurrent | concurrent-with-end | after-start | after | after-end","_required":true,"index":12,"extensions":{},"required":["value"]},"offset":{"min":1,"max":1,"short":"How long","_required":true,"index":18,"extensions":{},"required":["value"]}},"elements":{"extension":{"short":"Relative to what event","type":"Extension","index":0,"slicing":{"slices":{"target":{"match":{},"schema":{"short":"Relative to what event","type":"Extension","_required":true,"index":0,"extensions":"[Circular Reference]","elements":{"extension":{"index":1},"url":{"type":"uri","pattern":{"type":"uri","value":"target"},"index":2},"value":{"choices":["valueReference"],"index":4},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/Resource"],"index":5}},"required":["value"]},"min":1,"max":1},"targetPath":{"match":{},"schema":{"short":"Relative to which element on the event","type":"Extension","_required":true,"index":6,"extensions":"[Circular Reference]","elements":{"extension":{"index":7},"url":{"type":"uri","pattern":{"type":"uri","value":"targetPath"},"index":8},"value":{"choices":["valueString"],"index":10},"valueString":{"type":"string","choiceOf":"value","index":11}},"required":["value"]},"min":1,"max":1},"relationship":{"match":{},"schema":{"short":"before-start | before | before-end | concurrent-with-start | concurrent | concurrent-with-end | after-start | after | after-end","type":"Extension","_required":true,"index":12,"extensions":"[Circular Reference]","elements":{"extension":{"index":13},"url":{"type":"uri","pattern":{"type":"uri","value":"relationship"},"index":14},"value":{"choices":["valueCode"],"index":16},"valueCode":{"type":"code","choiceOf":"value","index":17}},"required":["value"]},"min":1,"max":1},"offset":{"match":{},"schema":{"short":"How long","type":"Extension","_required":true,"index":18,"extensions":"[Circular Reference]","elements":{"extension":{"index":19},"url":{"type":"uri","pattern":{"type":"uri","value":"offset"},"index":20},"value":{"choices":["valueDuration","valueRange"],"index":22},"valueDuration":{"type":"Duration","choiceOf":"value","index":23},"valueRange":{"type":"Range","choiceOf":"value","index":24}},"required":["value"]},"min":1,"max":1}}}},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/cqf-relativeDateTime"},"type":"uri","index":25}},"required":["extension"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"strengthOfRecommendation","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/cqf-strengthOfRecommendation","version":"4.0.1","description":"The strength of the recommendation assigned to this reference. The code system used specifies the rating scale used to rate this recommendation while the code specifies the actual recommendation rating (represented as a coded value) associated with this recommendation.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/cqf-strengthOfRecommendation"},"type":"uri","index":1},"value":{"choices":["valueCodeableConcept"],"index":3},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"systemUserLanguage","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/cqf-systemUserLanguage","version":"4.0.1","description":"Preferred language of the person using the system.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/cqf-systemUserLanguage"},"type":"uri","index":1},"value":{"choices":["valueCodeableConcept"],"index":3},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"systemUserTaskContext","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/cqf-systemUserTaskContext","version":"4.0.1","description":"The task the system user is performing, e.g. laboratory results review, medication list review, etc. This information can be used to tailor decision support outputs, such as recommended information resources.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/cqf-systemUserTaskContext"},"type":"uri","index":1},"value":{"choices":["valueCodeableConcept"],"index":3},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"systemUserType","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/cqf-systemUserType","version":"4.0.1","description":"The type of user initiating the request, e.g. patient, healthcare provider, or specific type of healthcare provider (physician, nurse, etc.).","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/cqf-systemUserType"},"type":"uri","index":1},"value":{"choices":["valueCodeableConcept"],"index":3},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"CQL Library","type":"Library","kind":"resource","class":"profile","url":"http://hl7.org/fhir/StructureDefinition/cqllibrary","version":"4.0.1","description":"Represents a CQL logic library","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Library","elements":{"type":{"type":"CodeableConcept","pattern":{"type":"CodeableConcept","value":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/library-type","code":"logic-library","display":"Logic Library"}]}},"index":0},"parameter":{"type":"ParameterDefinition","mustSupport":true,"array":true,"index":1},"dataRequirement":{"type":"DataRequirement","mustSupport":true,"array":true,"index":2}},"required":["type"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"ValidityPeriod","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/cqm-ValidityPeriod","version":"4.0.1","description":"The period in which the catalog is valid.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/cqm-ValidityPeriod"},"type":"uri","index":1},"value":{"choices":["valueDateTime"],"index":3},"valueDateTime":{"type":"dateTime","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"Data Absent Reason","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/data-absent-reason","version":"4.0.1","description":"Provides a reason why the expected value or elements in the element that is extended are missing.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/data-absent-reason"},"type":"uri","index":1},"value":{"choices":["valueCode"],"index":3},"valueCode":{"type":"code","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"receivingOrganization","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/cqf-receivingOrganization","version":"4.0.1","description":"The organization that will receive the response.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/cqf-receivingOrganization"},"index":1},"value":{"choices":["valueReference"],"index":3},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/Organization"],"index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"receivingPerson","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/cqf-receivingPerson","version":"4.0.1","description":"The person in the receiving organization that will receive the response.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/cqf-receivingPerson"},"index":1},"value":{"choices":["valueReference"],"index":3},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/Patient","http://hl7.org/fhir/StructureDefinition/Person","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/RelatedPerson"],"index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"recipientLanguage","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/cqf-recipientLanguage","version":"4.0.1","description":"Preferred language of the person that will consume the content.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/cqf-recipientLanguage"},"index":1},"value":{"choices":["valueCodeableConcept"],"index":3},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"recipientType","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/cqf-recipientType","version":"4.0.1","description":"The type of individual that will consume the response content. This may be different from the requesting user type (e.g. if a clinician is getting disease management guidance for provision to a patient). E.g. patient, healthcare provider or specific type of healthcare provider (physician, nurse, etc.).","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/cqf-recipientType"},"index":1},"value":{"choices":["valueCodeableConcept"],"index":3},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"relativeDateTime","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/cqf-relativeDateTime","version":"4.0.1","description":"A date/time value that is determined based on a duration offset from a target event.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{"target":{"min":1,"max":1,"short":"Relative to what event","_required":true,"index":0,"extensions":{},"required":["value"]},"targetPath":{"min":1,"max":1,"short":"Relative to which element on the event","_required":true,"index":6,"extensions":{},"required":["value"]},"relationship":{"min":1,"max":1,"short":"before-start | before | before-end | concurrent-with-start | concurrent | concurrent-with-end | after-start | after | after-end","_required":true,"index":12,"extensions":{},"required":["value"]},"offset":{"min":1,"max":1,"short":"How long","_required":true,"index":18,"extensions":{},"required":["value"]}},"elements":{"extension":{"short":"Relative to what event","type":"Extension","index":0,"slicing":{"slices":{"target":{"match":{},"schema":{"short":"Relative to what event","type":"Extension","_required":true,"index":0,"extensions":"[Circular Reference]","elements":{"extension":{"index":1},"url":{"type":"uri","fixed":{"type":"uri","value":"target"},"index":2},"value":{"choices":["valueReference"],"index":4},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/Resource"],"index":5}},"required":["value"]},"min":1,"max":1},"targetPath":{"match":{},"schema":{"short":"Relative to which element on the event","type":"Extension","_required":true,"index":6,"extensions":"[Circular Reference]","elements":{"extension":{"index":7},"url":{"type":"uri","fixed":{"type":"uri","value":"targetPath"},"index":8},"value":{"choices":["valueString"],"index":10},"valueString":{"type":"string","choiceOf":"value","index":11}},"required":["value"]},"min":1,"max":1},"relationship":{"match":{},"schema":{"short":"before-start | before | before-end | concurrent-with-start | concurrent | concurrent-with-end | after-start | after | after-end","type":"Extension","_required":true,"index":12,"extensions":"[Circular Reference]","elements":{"extension":{"index":13},"url":{"type":"uri","fixed":{"type":"uri","value":"relationship"},"index":14},"value":{"choices":["valueCode"],"index":16},"valueCode":{"type":"code","choiceOf":"value","index":17}},"required":["value"]},"min":1,"max":1},"offset":{"match":{},"schema":{"short":"How long","type":"Extension","_required":true,"index":18,"extensions":"[Circular Reference]","elements":{"extension":{"index":19},"url":{"type":"uri","fixed":{"type":"uri","value":"offset"},"index":20},"value":{"choices":["valueDuration","valueRange"],"index":22},"valueDuration":{"type":"Duration","choiceOf":"value","index":23},"valueRange":{"type":"Range","choiceOf":"value","index":24}},"required":["value"]},"min":1,"max":1}}}},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/cqf-relativeDateTime"},"index":25}},"required":["extension"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"strengthOfRecommendation","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/cqf-strengthOfRecommendation","version":"4.0.1","description":"The strength of the recommendation assigned to this reference. The code system used specifies the rating scale used to rate this recommendation while the code specifies the actual recommendation rating (represented as a coded value) associated with this recommendation.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/cqf-strengthOfRecommendation"},"index":1},"value":{"choices":["valueCodeableConcept"],"index":3},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"systemUserLanguage","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/cqf-systemUserLanguage","version":"4.0.1","description":"Preferred language of the person using the system.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/cqf-systemUserLanguage"},"index":1},"value":{"choices":["valueCodeableConcept"],"index":3},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"systemUserTaskContext","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/cqf-systemUserTaskContext","version":"4.0.1","description":"The task the system user is performing, e.g. laboratory results review, medication list review, etc. This information can be used to tailor decision support outputs, such as recommended information resources.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/cqf-systemUserTaskContext"},"index":1},"value":{"choices":["valueCodeableConcept"],"index":3},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"systemUserType","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/cqf-systemUserType","version":"4.0.1","description":"The type of user initiating the request, e.g. patient, healthcare provider, or specific type of healthcare provider (physician, nurse, etc.).","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/cqf-systemUserType"},"index":1},"value":{"choices":["valueCodeableConcept"],"index":3},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"CQL Library","type":"Library","kind":"resource","class":"profile","url":"http://hl7.org/fhir/StructureDefinition/cqllibrary","version":"4.0.1","description":"Represents a CQL logic library","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Library","elements":{"type":{"type":"CodeableConcept","fixed":{"type":"CodeableConcept","value":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/library-type","code":"logic-library","display":"Logic Library"}]}},"index":0},"parameter":{"type":"ParameterDefinition","mustSupport":true,"array":true,"index":1},"dataRequirement":{"type":"DataRequirement","mustSupport":true,"array":true,"index":2}},"required":["type"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"ValidityPeriod","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/cqm-ValidityPeriod","version":"4.0.1","description":"The period in which the catalog is valid.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/cqm-ValidityPeriod"},"index":1},"value":{"choices":["valueDateTime"],"index":3},"valueDateTime":{"type":"dateTime","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"Data Absent Reason","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/data-absent-reason","version":"4.0.1","description":"Provides a reason why the expected value or elements in the element that is extended are missing.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/data-absent-reason"},"index":1},"value":{"choices":["valueCode"],"index":3},"valueCode":{"type":"code","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"DataRequirement","type":"DataRequirement","kind":"complex-type","class":"complex-type","url":"http://hl7.org/fhir/StructureDefinition/DataRequirement","version":"4.0.1","description":"Base StructureDefinition for DataRequirement Type: Describes a required data item for evaluation in terms of the type of data, and optional code or date-based filters of the data.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/Element","elements":{"type":{"short":"The type of the required data","type":"code","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/all-types|4.0.1","bindingName":"FHIRAllTypes"},"index":0},"profile":{"short":"The profile of the required data","type":"canonical","isSummary":true,"array":true,"index":1},"subject":{"short":"E.g. Patient, Practitioner, RelatedPerson, Organization, Location, Device","meaningWhenMissing":"Patient","isSummary":true,"choices":["subjectCodeableConcept","subjectReference"],"index":3},"subjectCodeableConcept":{"short":"E.g. Patient, Practitioner, RelatedPerson, Organization, Location, Device","type":"CodeableConcept","meaningWhenMissing":"Patient","isSummary":true,"choiceOf":"subject","index":4},"subjectReference":{"short":"E.g. Patient, Practitioner, RelatedPerson, Organization, Location, Device","type":"Reference","meaningWhenMissing":"Patient","isSummary":true,"choiceOf":"subject","refers":["http://hl7.org/fhir/StructureDefinition/Group"],"index":5},"mustSupport":{"short":"Indicates specific structure elements that are referenced by the knowledge module","type":"string","isSummary":true,"array":true,"index":6},"codeFilter":{"short":"What codes are expected","type":"Element","constraint":{"drq-1":{"expression":"path.exists() xor searchParam.exists()","human":"Either a path or a searchParam must be provided, but not both","severity":"error"}},"isSummary":true,"array":true,"index":7,"elements":{"path":{"short":"A code-valued attribute to filter on","type":"string","isSummary":true,"index":8},"searchParam":{"short":"A coded (token) parameter to search on","type":"string","isSummary":true,"index":9},"valueSet":{"short":"Valueset for the filter","type":"canonical","isSummary":true,"index":10},"code":{"short":"What code is expected","type":"Coding","isSummary":true,"array":true,"index":11}}},"dateFilter":{"short":"What dates/date ranges are expected","type":"Element","constraint":{"drq-2":{"expression":"path.exists() xor searchParam.exists()","human":"Either a path or a searchParam must be provided, but not both","severity":"error"}},"isSummary":true,"array":true,"index":12,"elements":{"path":{"short":"A date-valued attribute to filter on","type":"string","isSummary":true,"index":13},"searchParam":{"short":"A date valued parameter to search on","type":"string","isSummary":true,"index":14},"value":{"short":"The value of the filter, as a Period, DateTime, or Duration value","isSummary":true,"choices":["valueDateTime","valuePeriod","valueDuration"],"index":16},"valueDateTime":{"short":"The value of the filter, as a Period, DateTime, or Duration value","type":"dateTime","isSummary":true,"choiceOf":"value","index":17},"valuePeriod":{"short":"The value of the filter, as a Period, DateTime, or Duration value","type":"Period","isSummary":true,"choiceOf":"value","index":18},"valueDuration":{"short":"The value of the filter, as a Period, DateTime, or Duration value","type":"Duration","isSummary":true,"choiceOf":"value","index":19}}},"limit":{"short":"Number of results","type":"positiveInt","isSummary":true,"index":20},"sort":{"short":"Order of the results","type":"Element","isSummary":true,"array":true,"index":21,"elements":{"path":{"short":"The name of the attribute to perform the sort","type":"string","isSummary":true,"index":22},"direction":{"short":"ascending | descending","type":"code","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/sort-direction|4.0.1","bindingName":"SortDirection"},"index":23}},"required":["direction","path"]}},"required":["type"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"date","type":"date","kind":"primitive-type","class":"primitive-type","url":"http://hl7.org/fhir/StructureDefinition/date","version":"4.0.1","description":"Base StructureDefinition for date Type: A date or partial date (e.g. just year or year + month). There is no time zone. The format is a union of the schema types gYear, gYearMonth and date. Dates SHALL be valid dates.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/Element","package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"dateTime","type":"dateTime","kind":"primitive-type","class":"primitive-type","url":"http://hl7.org/fhir/StructureDefinition/dateTime","version":"4.0.1","description":"Base StructureDefinition for dateTime Type: A date, date-time or partial date (e.g. just year or year + month). If hours and minutes are specified, a time zone SHALL be populated. The format is a union of the schema types gYear, gYearMonth, date and dateTime. Seconds must be provided due to schema type constraints but may be zero-filled and may be ignored. Dates SHALL be valid dates.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/Element","package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"decimal","type":"decimal","kind":"primitive-type","class":"primitive-type","url":"http://hl7.org/fhir/StructureDefinition/decimal","version":"4.0.1","description":"Base StructureDefinition for decimal Type: A rational number with implicit precision","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/Element","package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"Definition","type":"Definition","kind":"logical","class":"logical","url":"http://hl7.org/fhir/StructureDefinition/Definition","version":"4.0.1","description":"Logical Model: A pattern to be followed by resources that represent a specific proposal, plan and/or order for some sort of action or service.","package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"Design Note","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/designNote","version":"4.0.1","description":"Information captured by the author/maintainer of the questionnaire for development purposes, not intended to be seen by users.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/designNote"},"type":"uri","index":1},"value":{"choices":["valueMarkdown"],"index":3},"valueMarkdown":{"type":"markdown","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"Design Note","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/designNote","version":"4.0.1","description":"Information captured by the author/maintainer of the questionnaire for development purposes, not intended to be seen by users.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/designNote"},"index":1},"value":{"choices":["valueMarkdown"],"index":3},"valueMarkdown":{"type":"markdown","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"DetectedIssue","type":"DetectedIssue","kind":"resource","class":"resource","url":"http://hl7.org/fhir/StructureDefinition/DetectedIssue","version":"4.0.1","description":"Indicates an actual or potential clinical issue with or between one or more active or proposed clinical actions for a patient; e.g. Drug-drug interaction, Ineffective treatment frequency, Procedure-condition conflict, etc.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/DomainResource","elements":{"identifier":{"short":"Unique id for the detected issue","type":"Identifier","isSummary":true,"array":true,"index":0},"status":{"short":"registered | preliminary | final | amended +","type":"code","isModifier":true,"isModifierReason":"This element is labeled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/observation-status|4.0.1","bindingName":"DetectedIssueStatus"},"index":1},"code":{"short":"Issue Category, e.g. drug-drug, duplicate therapy, etc.","type":"CodeableConcept","isSummary":true,"binding":{"strength":"preferred","valueSet":"http://hl7.org/fhir/ValueSet/detectedissue-category","bindingName":"DetectedIssueCategory"},"index":2},"severity":{"short":"high | moderate | low","type":"code","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/detectedissue-severity|4.0.1","bindingName":"DetectedIssueSeverity"},"index":3},"patient":{"short":"Associated patient","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Patient"],"index":4},"identified":{"short":"When identified","isSummary":true,"choices":["identifiedDateTime","identifiedPeriod"],"index":6},"identifiedDateTime":{"short":"When identified","type":"dateTime","isSummary":true,"choiceOf":"identified","index":7},"identifiedPeriod":{"short":"When identified","type":"Period","isSummary":true,"choiceOf":"identified","index":8},"author":{"short":"The provider or device that identified the issue","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Device","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole"],"index":9},"implicated":{"short":"Problem resource","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Resource"],"array":true,"index":10},"evidence":{"short":"Supporting evidence","type":"BackboneElement","array":true,"index":11,"elements":{"code":{"short":"Manifestation","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/manifestation-or-symptom","bindingName":"DetectedIssueEvidenceCode"},"array":true,"index":12},"detail":{"short":"Supporting information","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Resource"],"array":true,"index":13}}},"detail":{"short":"Description and context","type":"string","index":14},"reference":{"short":"Authority for issue","type":"uri","index":15},"mitigation":{"short":"Step taken to address","type":"BackboneElement","array":true,"index":16,"elements":{"action":{"short":"What mitigation?","type":"CodeableConcept","binding":{"strength":"preferred","valueSet":"http://hl7.org/fhir/ValueSet/detectedissue-mitigation-action","bindingName":"DetectedIssueMitigationAction"},"index":17},"date":{"short":"Date committed","type":"dateTime","index":18},"author":{"short":"Who is committing?","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole"],"index":19}},"required":["action"]}},"required":["status"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"implantStatus","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/device-implantStatus","version":"4.0.1","description":"Codes to represent the functional status of a device implanted in a patient. Both overall device status and an implant status need to be considered. The implant status should only be used when the [device status](device-definitions.html#Device.status) is \`active \`.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/device-implantStatus"},"type":"uri","index":1},"value":{"choices":["valueCode"],"index":3},"valueCode":{"type":"code","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"implantStatus","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/device-implantStatus","version":"4.0.1","description":"Codes to represent the functional status of a device implanted in a patient. Both overall device status and an implant status need to be considered. The implant status should only be used when the [device status](device-definitions.html#Device.status) is \`active \`.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/device-implantStatus"},"index":1},"value":{"choices":["valueCode"],"index":3},"valueCode":{"type":"code","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"Device","type":"Device","kind":"resource","class":"resource","url":"http://hl7.org/fhir/StructureDefinition/Device","version":"4.0.1","description":"A type of a manufactured item that is used in the provision of healthcare without being substantially changed through that activity. The device may be a medical or non-medical device.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/DomainResource","elements":{"identifier":{"short":"Instance identifier","type":"Identifier","array":true,"index":0},"definition":{"short":"The reference to the definition for the device","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/DeviceDefinition"],"index":1},"udiCarrier":{"short":"Unique Device Identifier (UDI) Barcode string","type":"BackboneElement","isSummary":true,"array":true,"index":2,"elements":{"deviceIdentifier":{"short":"Mandatory fixed portion of UDI","type":"string","isSummary":true,"index":3},"issuer":{"short":"UDI Issuing Organization","type":"uri","index":4},"jurisdiction":{"short":"Regional UDI authority","type":"uri","index":5},"carrierAIDC":{"short":"UDI Machine Readable Barcode String","type":"base64Binary","isSummary":true,"index":6},"carrierHRF":{"short":"UDI Human Readable Barcode String","type":"string","isSummary":true,"index":7},"entryType":{"short":"barcode | rfid | manual +","type":"code","binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/udi-entry-type|4.0.1","bindingName":"UDIEntryType"},"index":8}}},"status":{"short":"active | inactive | entered-in-error | unknown","type":"code","isModifier":true,"isModifierReason":"This element is labelled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/device-status|4.0.1","bindingName":"FHIRDeviceStatus"},"index":9},"statusReason":{"short":"online | paused | standby | offline | not-ready | transduc-discon | hw-discon | off","type":"CodeableConcept","binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/ValueSet/device-status-reason","bindingName":"FHIRDeviceStatusReason"},"array":true,"index":10},"distinctIdentifier":{"short":"The distinct identification string","type":"string","index":11},"manufacturer":{"short":"Name of device manufacturer","type":"string","index":12},"manufactureDate":{"short":"Date when the device was made","type":"dateTime","index":13},"expirationDate":{"short":"Date and time of expiry of this device (if applicable)","type":"dateTime","index":14},"lotNumber":{"short":"Lot number of manufacture","type":"string","index":15},"serialNumber":{"short":"Serial number assigned by the manufacturer","type":"string","index":16},"deviceName":{"short":"The name of the device as given by the manufacturer","type":"BackboneElement","array":true,"index":17,"elements":{"name":{"short":"The name of the device","type":"string","index":18},"type":{"short":"udi-label-name | user-friendly-name | patient-reported-name | manufacturer-name | model-name | other","type":"code","binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/device-nametype|4.0.1","bindingName":"DeviceNameType"},"index":19}},"required":["name","type"]},"modelNumber":{"short":"The model number for the device","type":"string","index":20},"partNumber":{"short":"The part number of the device","type":"string","index":21},"type":{"short":"The kind or type of device","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/device-type","bindingName":"DeviceType"},"index":22},"specialization":{"short":"The capabilities supported on a device, the standards to which the device conforms for a particular purpose, and used for the communication","type":"BackboneElement","array":true,"index":23,"elements":{"systemType":{"short":"The standard that is used to operate and communicate","type":"CodeableConcept","index":24},"version":{"short":"The version of the standard that is used to operate and communicate","type":"string","index":25}},"required":["systemType"]},"version":{"short":"The actual design of the device or software version running on the device","type":"BackboneElement","array":true,"index":26,"elements":{"type":{"short":"The type of the device version","type":"CodeableConcept","index":27},"component":{"short":"A single component of the device version","type":"Identifier","index":28},"value":{"short":"The version text","type":"string","index":29}},"required":["value"]},"property":{"short":"The actual configuration settings of a device as it actually operates, e.g., regulation status, time properties","type":"BackboneElement","array":true,"index":30,"elements":{"type":{"short":"Code that specifies the property DeviceDefinitionPropetyCode (Extensible)","type":"CodeableConcept","index":31},"valueQuantity":{"short":"Property value as a quantity","type":"Quantity","array":true,"index":32},"valueCode":{"short":"Property value as a code, e.g., NTP4 (synced to NTP)","type":"CodeableConcept","array":true,"index":33}},"required":["type"]},"patient":{"short":"Patient to whom Device is affixed","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Patient"],"index":34},"owner":{"short":"Organization responsible for device","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Organization"],"index":35},"contact":{"short":"Details for human/organization for support","type":"ContactPoint","array":true,"index":36},"location":{"short":"Where the device is found","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Location"],"index":37},"url":{"short":"Network address to contact device","type":"uri","index":38},"note":{"short":"Device notes and comments","type":"Annotation","array":true,"index":39},"safety":{"short":"Safety Characteristics of Device","type":"CodeableConcept","isSummary":true,"array":true,"index":40},"parent":{"short":"The parent device","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Device"],"index":41}},"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"DeviceDefinition","type":"DeviceDefinition","kind":"resource","class":"resource","url":"http://hl7.org/fhir/StructureDefinition/DeviceDefinition","version":"4.0.1","description":"The characteristics, operational status and capabilities of a medical-related component of a medical device.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/DomainResource","elements":{"identifier":{"short":"Instance identifier","type":"Identifier","array":true,"index":0},"udiDeviceIdentifier":{"short":"Unique Device Identifier (UDI) Barcode string","type":"BackboneElement","array":true,"index":1,"elements":{"deviceIdentifier":{"short":"The identifier that is to be associated with every Device that references this DeviceDefintiion for the issuer and jurisdication porvided in the DeviceDefinition.udiDeviceIdentifier","type":"string","index":2},"issuer":{"short":"The organization that assigns the identifier algorithm","type":"uri","index":3},"jurisdiction":{"short":"The jurisdiction to which the deviceIdentifier applies","type":"uri","index":4}},"required":["deviceIdentifier","issuer","jurisdiction"]},"manufacturer":{"short":"Name of device manufacturer","choices":["manufacturerString","manufacturerReference"],"index":6},"manufacturerString":{"short":"Name of device manufacturer","type":"string","choiceOf":"manufacturer","index":7},"manufacturerReference":{"short":"Name of device manufacturer","type":"Reference","choiceOf":"manufacturer","refers":["http://hl7.org/fhir/StructureDefinition/Organization"],"index":8},"deviceName":{"short":"A name given to the device to identify it","type":"BackboneElement","array":true,"index":9,"elements":{"name":{"short":"The name of the device","type":"string","index":10},"type":{"short":"udi-label-name | user-friendly-name | patient-reported-name | manufacturer-name | model-name | other","type":"code","binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/device-nametype|4.0.1","bindingName":"DeviceNameType"},"index":11}},"required":["name","type"]},"modelNumber":{"short":"The model number for the device","type":"string","index":12},"type":{"short":"What kind of device or device system this is","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/device-kind","bindingName":"DeviceKind"},"index":13},"specialization":{"short":"The capabilities supported on a device, the standards to which the device conforms for a particular purpose, and used for the communication","type":"BackboneElement","array":true,"index":14,"elements":{"systemType":{"short":"The standard that is used to operate and communicate","type":"string","index":15},"version":{"short":"The version of the standard that is used to operate and communicate","type":"string","index":16}},"required":["systemType"]},"version":{"short":"Available versions","type":"string","array":true,"index":17},"safety":{"short":"Safety characteristics of the device","type":"CodeableConcept","isSummary":true,"binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/device-safety","bindingName":"Safety"},"array":true,"index":18},"shelfLifeStorage":{"short":"Shelf Life and storage information","type":"ProductShelfLife","array":true,"index":19},"physicalCharacteristics":{"short":"Dimensions, color etc.","type":"ProdCharacteristic","index":20},"languageCode":{"short":"Language code for the human-readable text strings produced by the device (all supported)","type":"CodeableConcept","array":true,"index":21},"capability":{"short":"Device capabilities","type":"BackboneElement","array":true,"index":22,"elements":{"type":{"short":"Type of capability","type":"CodeableConcept","index":23},"description":{"short":"Description of capability","type":"CodeableConcept","array":true,"index":24}},"required":["type"]},"property":{"short":"The actual configuration settings of a device as it actually operates, e.g., regulation status, time properties","type":"BackboneElement","array":true,"index":25,"elements":{"type":{"short":"Code that specifies the property DeviceDefinitionPropetyCode (Extensible)","type":"CodeableConcept","index":26},"valueQuantity":{"short":"Property value as a quantity","type":"Quantity","array":true,"index":27},"valueCode":{"short":"Property value as a code, e.g., NTP4 (synced to NTP)","type":"CodeableConcept","array":true,"index":28}},"required":["type"]},"owner":{"short":"Organization responsible for device","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Organization"],"index":29},"contact":{"short":"Details for human/organization for support","type":"ContactPoint","array":true,"index":30},"url":{"short":"Network address to contact device","type":"uri","index":31},"onlineInformation":{"short":"Access to on-line information","type":"uri","index":32},"note":{"short":"Device notes and comments","type":"Annotation","array":true,"index":33},"quantity":{"short":"The quantity of the device present in the packaging (e.g. the number of devices present in a pack, or the number of devices in the same package of the medicinal product)","type":"Quantity","index":34},"parentDevice":{"short":"The parent device it can be part of","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/DeviceDefinition"],"index":35},"material":{"short":"A substance used to create the material(s) of which the device is made","type":"BackboneElement","array":true,"index":36,"elements":{"substance":{"short":"The substance","type":"CodeableConcept","index":37},"alternate":{"short":"Indicates an alternative material of the device","type":"boolean","index":38},"allergenicIndicator":{"short":"Whether the substance is a known or suspected allergen","type":"boolean","index":39}},"required":["substance"]}},"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"DeviceMetric","type":"DeviceMetric","kind":"resource","class":"resource","url":"http://hl7.org/fhir/StructureDefinition/DeviceMetric","version":"4.0.1","description":"Describes a measurement, calculation or setting capability of a medical device.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/DomainResource","elements":{"identifier":{"short":"Instance identifier","type":"Identifier","isSummary":true,"array":true,"index":0},"type":{"short":"Identity of metric, for example Heart Rate or PEEP Setting","type":"CodeableConcept","isSummary":true,"binding":{"strength":"preferred","valueSet":"http://hl7.org/fhir/ValueSet/devicemetric-type","bindingName":"MetricType"},"index":1},"unit":{"short":"Unit of Measure for the Metric","type":"CodeableConcept","isSummary":true,"binding":{"strength":"preferred","valueSet":"http://hl7.org/fhir/ValueSet/devicemetric-type","bindingName":"MetricUnit"},"index":2},"source":{"short":"Describes the link to the source Device","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Device"],"index":3},"parent":{"short":"Describes the link to the parent Device","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Device"],"index":4},"operationalStatus":{"short":"on | off | standby | entered-in-error","type":"code","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/metric-operational-status|4.0.1","bindingName":"DeviceMetricOperationalStatus"},"index":5},"color":{"short":"black | red | green | yellow | blue | magenta | cyan | white","type":"code","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/metric-color|4.0.1","bindingName":"DeviceMetricColor"},"index":6},"category":{"short":"measurement | setting | calculation | unspecified","type":"code","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/metric-category|4.0.1","bindingName":"DeviceMetricCategory"},"index":7},"measurementPeriod":{"short":"Describes the measurement repetition time","type":"Timing","isSummary":true,"index":8},"calibration":{"short":"Describes the calibrations that have been performed or that are required to be performed","type":"BackboneElement","isSummary":true,"array":true,"index":9,"elements":{"type":{"short":"unspecified | offset | gain | two-point","type":"code","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/metric-calibration-type|4.0.1","bindingName":"DeviceMetricCalibrationType"},"index":10},"state":{"short":"not-calibrated | calibration-required | calibrated | unspecified","type":"code","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/metric-calibration-state|4.0.1","bindingName":"DeviceMetricCalibrationState"},"index":11},"time":{"short":"Describes the time last calibration has been performed","type":"instant","isSummary":true,"index":12}}}},"required":["category","type"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"Device Metric Observation Profile","type":"Observation","kind":"resource","class":"profile","url":"http://hl7.org/fhir/StructureDefinition/devicemetricobservation","version":"4.0.1","description":"This profile describes the direct or derived, qualitative or quantitative physiological measurement, setting, or calculation data produced by a medical device or a device component.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Observation","elements":{"identifier":{"type":"Identifier","mustSupport":true,"array":true,"index":0},"status":{"type":"code","mustSupport":true,"index":1},"code":{"type":"CodeableConcept","mustSupport":true,"index":2},"subject":{"type":"Reference","mustSupport":true,"refers":["http://hl7.org/fhir/StructureDefinition/Device","http://hl7.org/fhir/StructureDefinition/Patient"],"index":3},"encounter":{"mustSupport":false,"index":4},"effectiveDateTime":{"type":"dateTime","mustSupport":true,"index":5},"issued":{"type":"instant","mustSupport":false,"index":6},"value":{"mustSupport":true,"choices":["valueQuantity","valueCodeableConcept","valueString","valueRange","valueRatio","valueSampledData","valueTime","valueDateTime","valuePeriod"],"index":8},"valueQuantity":{"type":"Quantity","mustSupport":true,"choiceOf":"value","index":9},"valueCodeableConcept":{"type":"CodeableConcept","mustSupport":true,"choiceOf":"value","index":10},"valueString":{"type":"string","mustSupport":true,"choiceOf":"value","index":11},"valueRange":{"type":"Range","mustSupport":true,"choiceOf":"value","index":12},"valueRatio":{"type":"Ratio","mustSupport":true,"choiceOf":"value","index":13},"valueSampledData":{"type":"SampledData","mustSupport":true,"choiceOf":"value","index":14},"valueTime":{"type":"time","mustSupport":true,"choiceOf":"value","index":15},"valueDateTime":{"type":"dateTime","mustSupport":true,"choiceOf":"value","index":16},"valuePeriod":{"type":"Period","mustSupport":true,"choiceOf":"value","index":17},"dataAbsentReason":{"type":"CodeableConcept","mustSupport":false,"index":18},"interpretation":{"type":"CodeableConcept","mustSupport":false,"index":19},"note":{"type":"Annotation","mustSupport":false,"array":true,"index":20},"bodySite":{"type":"CodeableConcept","mustSupport":true,"index":21},"method":{"type":"CodeableConcept","mustSupport":true,"index":22},"specimen":{"type":"Reference","mustSupport":false,"refers":["http://hl7.org/fhir/StructureDefinition/Specimen"],"index":23},"device":{"type":"Reference","mustSupport":true,"refers":["http://hl7.org/fhir/StructureDefinition/DeviceMetric"],"index":24},"referenceRange":{"mustSupport":true,"index":25},"hasMember":{"type":"Reference","mustSupport":true,"refers":["http://hl7.org/fhir/StructureDefinition/Observation"],"array":true,"index":26},"derivedFrom":{"type":"Reference","mustSupport":true,"refers":["http://hl7.org/fhir/StructureDefinition/Observation"],"array":true,"index":27}},"required":["code","device","effectiveDateTime","status","subject"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"patientInstruction","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/devicerequest-patientInstruction","version":"4.0.1","description":"Simple concise instructions to be read by the patient. For example “twice a day” rather than “BID.”.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{"lang":{"min":1,"max":1,"short":"Language","_required":true,"index":0,"extensions":{},"required":["value"]},"content":{"min":1,"max":1,"short":"Text","_required":true,"index":6,"extensions":{},"required":["value"]}},"elements":{"extension":{"short":"Language","type":"Extension","index":0,"slicing":{"slices":{"lang":{"match":{},"schema":{"short":"Language","type":"Extension","_required":true,"index":0,"extensions":"[Circular Reference]","elements":{"extension":{"index":1},"url":{"type":"uri","pattern":{"type":"uri","value":"lang"},"index":2},"value":{"choices":["valueCode"],"index":4},"valueCode":{"type":"code","choiceOf":"value","index":5}},"required":["value"]},"min":1,"max":1},"content":{"match":{},"schema":{"short":"Text","type":"Extension","_required":true,"index":6,"extensions":"[Circular Reference]","elements":{"extension":{"index":7},"url":{"type":"uri","pattern":{"type":"uri","value":"content"},"index":8},"value":{"choices":["valueString"],"index":10},"valueString":{"type":"string","choiceOf":"value","index":11}},"required":["value"]},"min":1,"max":1}}}},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/devicerequest-patientInstruction"},"type":"uri","index":12}},"required":["extension"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"patientInstruction","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/devicerequest-patientInstruction","version":"4.0.1","description":"Simple concise instructions to be read by the patient. For example “twice a day” rather than “BID.”.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{"lang":{"min":1,"max":1,"short":"Language","_required":true,"index":0,"extensions":{},"required":["value"]},"content":{"min":1,"max":1,"short":"Text","_required":true,"index":6,"extensions":{},"required":["value"]}},"elements":{"extension":{"short":"Language","type":"Extension","index":0,"slicing":{"slices":{"lang":{"match":{},"schema":{"short":"Language","type":"Extension","_required":true,"index":0,"extensions":"[Circular Reference]","elements":{"extension":{"index":1},"url":{"type":"uri","fixed":{"type":"uri","value":"lang"},"index":2},"value":{"choices":["valueCode"],"index":4},"valueCode":{"type":"code","choiceOf":"value","index":5}},"required":["value"]},"min":1,"max":1},"content":{"match":{},"schema":{"short":"Text","type":"Extension","_required":true,"index":6,"extensions":"[Circular Reference]","elements":{"extension":{"index":7},"url":{"type":"uri","fixed":{"type":"uri","value":"content"},"index":8},"value":{"choices":["valueString"],"index":10},"valueString":{"type":"string","choiceOf":"value","index":11}},"required":["value"]},"min":1,"max":1}}}},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/devicerequest-patientInstruction"},"index":12}},"required":["extension"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"DeviceRequest","type":"DeviceRequest","kind":"resource","class":"resource","url":"http://hl7.org/fhir/StructureDefinition/DeviceRequest","version":"4.0.1","description":"Represents a request for a patient to employ a medical device. The device may be an implantable device, or an external assistive device, such as a walker.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/DomainResource","elements":{"identifier":{"short":"External Request identifier","type":"Identifier","isSummary":true,"array":true,"index":0},"instantiatesCanonical":{"short":"Instantiates FHIR protocol or definition","type":"canonical","isSummary":true,"array":true,"index":1},"instantiatesUri":{"short":"Instantiates external protocol or definition","type":"uri","isSummary":true,"array":true,"index":2},"basedOn":{"short":"What request fulfills","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Resource"],"array":true,"index":3},"priorRequest":{"short":"What request replaces","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Resource"],"array":true,"index":4},"groupIdentifier":{"short":"Identifier of composite request","type":"Identifier","isSummary":true,"index":5},"status":{"short":"draft | active | on-hold | revoked | completed | entered-in-error | unknown","type":"code","isModifier":true,"isModifierReason":"This element is labeled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/request-status|4.0.1","bindingName":"DeviceRequestStatus"},"index":6},"intent":{"short":"proposal | plan | directive | order | original-order | reflex-order | filler-order | instance-order | option","type":"code","isModifier":true,"isModifierReason":"This element changes the interpretation of all descriptive attributes. For example \\"the time the request is recommended to occur\\" vs. \\"the time the request is authorized to occur\\" or \\"who is recommended to perform the request\\" vs. \\"who is authorized to perform the request","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/request-intent|4.0.1","bindingName":"RequestIntent"},"index":7},"priority":{"short":"routine | urgent | asap | stat","type":"code","meaningWhenMissing":"If missing, normal priority","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/request-priority|4.0.1","bindingName":"RequestPriority"},"index":8},"code":{"short":"Device requested","isSummary":true,"choices":["codeReference","codeCodeableConcept"],"index":10},"codeReference":{"short":"Device requested","type":"Reference","isSummary":true,"choiceOf":"code","refers":["http://hl7.org/fhir/StructureDefinition/Device"],"index":11},"codeCodeableConcept":{"short":"Device requested","type":"CodeableConcept","isSummary":true,"choiceOf":"code","index":12},"parameter":{"short":"Device details","type":"BackboneElement","array":true,"index":13,"elements":{"code":{"short":"Device detail","type":"CodeableConcept","index":14},"value":{"short":"Value of detail","choices":["valueCodeableConcept","valueQuantity","valueRange","valueBoolean"],"index":16},"valueCodeableConcept":{"short":"Value of detail","type":"CodeableConcept","choiceOf":"value","index":17},"valueQuantity":{"short":"Value of detail","type":"Quantity","choiceOf":"value","index":18},"valueRange":{"short":"Value of detail","type":"Range","choiceOf":"value","index":19},"valueBoolean":{"short":"Value of detail","type":"boolean","choiceOf":"value","index":20}}},"subject":{"short":"Focus of request","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Device","http://hl7.org/fhir/StructureDefinition/Group","http://hl7.org/fhir/StructureDefinition/Location","http://hl7.org/fhir/StructureDefinition/Patient"],"index":21},"encounter":{"short":"Encounter motivating request","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Encounter"],"index":22},"occurrence":{"short":"Desired time or schedule for use","isSummary":true,"choices":["occurrenceDateTime","occurrencePeriod","occurrenceTiming"],"index":24},"occurrenceDateTime":{"short":"Desired time or schedule for use","type":"dateTime","isSummary":true,"choiceOf":"occurrence","index":25},"occurrencePeriod":{"short":"Desired time or schedule for use","type":"Period","isSummary":true,"choiceOf":"occurrence","index":26},"occurrenceTiming":{"short":"Desired time or schedule for use","type":"Timing","isSummary":true,"choiceOf":"occurrence","index":27},"authoredOn":{"short":"When recorded","type":"dateTime","isSummary":true,"index":28},"requester":{"short":"Who/what is requesting diagnostics","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Device","http://hl7.org/fhir/StructureDefinition/Organization","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole"],"index":29},"performerType":{"short":"Filler role","type":"CodeableConcept","isSummary":true,"binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/participant-role","bindingName":"DeviceRequestParticipantRole"},"index":30},"performer":{"short":"Requested Filler","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/CareTeam","http://hl7.org/fhir/StructureDefinition/Device","http://hl7.org/fhir/StructureDefinition/HealthcareService","http://hl7.org/fhir/StructureDefinition/Organization","http://hl7.org/fhir/StructureDefinition/Patient","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole","http://hl7.org/fhir/StructureDefinition/RelatedPerson"],"index":31},"reasonCode":{"short":"Coded Reason for request","type":"CodeableConcept","isSummary":true,"binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/condition-code","bindingName":"DeviceRequestReason"},"array":true,"index":32},"reasonReference":{"short":"Linked Reason for request","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Condition","http://hl7.org/fhir/StructureDefinition/DiagnosticReport","http://hl7.org/fhir/StructureDefinition/DocumentReference","http://hl7.org/fhir/StructureDefinition/Observation"],"array":true,"index":33},"insurance":{"short":"Associated insurance coverage","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/ClaimResponse","http://hl7.org/fhir/StructureDefinition/Coverage"],"array":true,"index":34},"supportingInfo":{"short":"Additional clinical information","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Resource"],"array":true,"index":35},"note":{"short":"Notes or comments","type":"Annotation","array":true,"index":36},"relevantHistory":{"short":"Request provenance","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Provenance"],"array":true,"index":37}},"required":["code","intent","subject"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"DeviceUseStatement","type":"DeviceUseStatement","kind":"resource","class":"resource","url":"http://hl7.org/fhir/StructureDefinition/DeviceUseStatement","version":"4.0.1","description":"A record of a device being used by a patient where the record is the result of a report from the patient or another clinician.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/DomainResource","elements":{"identifier":{"short":"External identifier for this record","type":"Identifier","isSummary":true,"array":true,"index":0},"basedOn":{"short":"Fulfills plan, proposal or order","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/ServiceRequest"],"array":true,"index":1},"status":{"short":"active | completed | entered-in-error +","type":"code","isModifier":true,"isModifierReason":"This element is labelled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/device-statement-status|4.0.1","bindingName":"DeviceUseStatementStatus"},"index":2},"subject":{"short":"Patient using device","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Group","http://hl7.org/fhir/StructureDefinition/Patient"],"index":3},"derivedFrom":{"short":"Supporting information","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Claim","http://hl7.org/fhir/StructureDefinition/DocumentReference","http://hl7.org/fhir/StructureDefinition/Observation","http://hl7.org/fhir/StructureDefinition/Procedure","http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse","http://hl7.org/fhir/StructureDefinition/ServiceRequest"],"array":true,"index":4},"timing":{"short":"How often the device was used","isSummary":true,"choices":["timingTiming","timingPeriod","timingDateTime"],"index":6},"timingTiming":{"short":"How often the device was used","type":"Timing","isSummary":true,"choiceOf":"timing","index":7},"timingPeriod":{"short":"How often the device was used","type":"Period","isSummary":true,"choiceOf":"timing","index":8},"timingDateTime":{"short":"How often the device was used","type":"dateTime","isSummary":true,"choiceOf":"timing","index":9},"recordedOn":{"short":"When statement was recorded","type":"dateTime","isSummary":true,"index":10},"source":{"short":"Who made the statement","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Patient","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole","http://hl7.org/fhir/StructureDefinition/RelatedPerson"],"index":11},"device":{"short":"Reference to device used","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Device"],"index":12},"reasonCode":{"short":"Why device was used","type":"CodeableConcept","isSummary":true,"array":true,"index":13},"reasonReference":{"short":"Why was DeviceUseStatement performed?","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Condition","http://hl7.org/fhir/StructureDefinition/DiagnosticReport","http://hl7.org/fhir/StructureDefinition/DocumentReference","http://hl7.org/fhir/StructureDefinition/Media","http://hl7.org/fhir/StructureDefinition/Observation"],"array":true,"index":14},"bodySite":{"short":"Target body site","type":"CodeableConcept","isSummary":true,"binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/body-site","bindingName":"BodySite"},"index":15},"note":{"short":"Addition details (comments, instructions)","type":"Annotation","array":true,"index":16}},"required":["device","status","subject"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"addendumOf","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/diagnosticReport-addendumOf","version":"4.0.1","description":"The supplements or provides additional information for the target report.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/diagnosticReport-addendumOf"},"type":"uri","index":1},"value":{"choices":["valueReference"],"index":3},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/DiagnosticReport"],"index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"extends","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/diagnosticReport-extends","version":"4.0.1","description":"The report references related (\\"sibling\\") reports.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/diagnosticReport-extends"},"type":"uri","index":1},"value":{"choices":["valueReference"],"index":3},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/DiagnosticReport"],"index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"addendumOf","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/diagnosticReport-addendumOf","version":"4.0.1","description":"The supplements or provides additional information for the target report.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/diagnosticReport-addendumOf"},"index":1},"value":{"choices":["valueReference"],"index":3},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/DiagnosticReport"],"index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"extends","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/diagnosticReport-extends","version":"4.0.1","description":"The report references related (\\"sibling\\") reports.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/diagnosticReport-extends"},"index":1},"value":{"choices":["valueReference"],"index":3},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/DiagnosticReport"],"index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"DiagnosticReport-Genetics","type":"DiagnosticReport","kind":"resource","class":"profile","url":"http://hl7.org/fhir/StructureDefinition/diagnosticreport-genetics","version":"4.0.1","description":"Describes how the DiagnosticReport resource is used to report structured genetic test results","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/DiagnosticReport","extensions":{"AssessedCondition":{"short":"AssessedCondition","max":"*","url":"http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsAssessedCondition","index":0},"FamilyMemberHistory":{"short":"FamilyHistory","max":"*","url":"http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsFamilyMemberHistory","index":1},"Analysis":{"short":"Analysis","max":"*","url":"http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsAnalysis","index":2},"References":{"short":"References","max":"*","url":"http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsReferences","index":3}},"elements":{"extension":{"short":"AssessedCondition","min":0,"max":"*","type":"Extension","url":"http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsAssessedCondition","index":0,"slicing":{"slices":{"AssessedCondition":{"match":{},"schema":{"short":"AssessedCondition","min":0,"max":"*","type":"Extension","url":"http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsAssessedCondition","index":0}},"FamilyMemberHistory":{"match":{},"schema":{"short":"FamilyHistory","min":0,"max":"*","type":"Extension","url":"http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsFamilyMemberHistory","index":1}},"Analysis":{"match":{},"schema":{"short":"Analysis","min":0,"max":"*","type":"Extension","url":"http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsAnalysis","index":2}},"References":{"match":{},"schema":{"short":"References","min":0,"max":"*","type":"Extension","url":"http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsReferences","index":3}}}}},"conclusionCode":{"type":"CodeableConcept","index":4}},"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"Analysis","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsAnalysis","version":"4.0.1","description":"Knowledge-based comments on the effect of the sequence on patient's condition/medication reaction.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{"type":{"min":1,"max":1,"short":"Analysis type","_required":true,"index":0,"extensions":{},"required":["value"]},"interpretation":{"max":1,"short":"Analysis interpretation","index":6,"extensions":{},"required":["value"]}},"elements":{"extension":{"short":"Analysis type","type":"Extension","index":0,"slicing":{"slices":{"type":{"match":{},"schema":{"short":"Analysis type","type":"Extension","_required":true,"index":0,"extensions":"[Circular Reference]","elements":{"extension":{"index":1},"url":{"type":"uri","pattern":{"type":"uri","value":"type"},"index":2},"value":{"choices":["valueCodeableConcept"],"index":4},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":5}},"required":["value"]},"min":1,"max":1},"interpretation":{"match":{},"schema":{"short":"Analysis interpretation","type":"Extension","index":6,"extensions":"[Circular Reference]","elements":{"extension":{"index":7},"url":{"type":"uri","pattern":{"type":"uri","value":"interpretation"},"index":8},"value":{"choices":["valueCodeableConcept"],"index":10},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":11}},"required":["value"]},"max":1}}}},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsAnalysis"},"type":"uri","index":12}},"required":["extension"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"AssessedCondition","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsAssessedCondition","version":"4.0.1","description":"Used to denote condition context for genetic testing, which may influence reported variants and interpretation for large genomic testing panels e.g. lung cancer or familial breast cancer.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsAssessedCondition"},"type":"uri","index":1},"value":{"choices":["valueReference"],"index":3},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/Condition"],"index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"FamilyMemberHistory","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsFamilyMemberHistory","version":"4.0.1","description":"Significant health events and conditions for a person related to the patient relevant in the context of care for the patient.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsFamilyMemberHistory"},"type":"uri","index":1},"value":{"choices":["valueReference"],"index":3},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/FamilyMemberHistory"],"index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"References","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsReferences","version":"4.0.1","description":"Additional bibliographic reference information about genetics, medications, clinical trials, etc. associated with knowledge-based information on genetics/genetic condition.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{"description":{"max":1,"short":"Reference description","index":0,"extensions":{},"required":["value"]},"reference":{"short":"Reference URI","array":true,"index":6,"extensions":{},"required":["value"]},"type":{"max":1,"short":"Reference type","index":12,"extensions":{},"required":["value"]}},"elements":{"extension":{"short":"Reference description","type":"Extension","index":0,"slicing":{"slices":{"description":{"match":{},"schema":{"short":"Reference description","type":"Extension","index":0,"extensions":"[Circular Reference]","elements":{"extension":{"index":1},"url":{"type":"uri","pattern":{"type":"uri","value":"description"},"index":2},"value":{"choices":["valueString"],"index":4},"valueString":{"type":"string","choiceOf":"value","index":5}},"required":["value"]},"max":1},"reference":{"match":{},"schema":{"short":"Reference URI","type":"Extension","array":true,"index":6,"extensions":"[Circular Reference]","elements":{"extension":{"index":7},"url":{"type":"uri","pattern":{"type":"uri","value":"reference"},"index":8},"value":{"choices":["valueUri"],"index":10},"valueUri":{"type":"uri","choiceOf":"value","index":11}},"required":["value"]}},"type":{"match":{},"schema":{"short":"Reference type","type":"Extension","index":12,"extensions":"[Circular Reference]","elements":{"extension":{"index":13},"url":{"type":"uri","pattern":{"type":"uri","value":"type"},"index":14},"value":{"choices":["valueCodeableConcept"],"index":16},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":17}},"required":["value"]},"max":1}}}},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsReferences"},"type":"uri","index":18}},"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"locationPerformed","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/diagnosticReport-locationPerformed","version":"4.0.1","description":"Facility location where this report was prepared.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/diagnosticReport-locationPerformed"},"type":"uri","index":1},"value":{"choices":["valueReference"],"index":3},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/Location"],"index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"replaces","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/diagnosticReport-replaces","version":"4.0.1","description":"The report replaces the target resource. For example, when a final anatomic pathology report replaces a preliminary anatomic pathology report replaces where the subsequent observation of case and report may be on more or different material (specimen). Note that this is not same concept as\` DiagnosticReport.status\` = preliminary of final, but industry definition of preliminary and final.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/diagnosticReport-replaces"},"type":"uri","index":1},"value":{"choices":["valueReference"],"index":3},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/DiagnosticReport"],"index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"risk","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/diagnosticReport-risk","version":"4.0.1","description":"Provides a link to an assessment of prognosis or risk as informed by the diagnostic results (For example, genetic results and possibly by patient genetic family history information). This extension is used when need RiskAssessment as an alternate choice for \`Observation.hasMember\` or \`DiagnosticReport.result\`.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/diagnosticReport-risk"},"type":"uri","index":1},"value":{"choices":["valueReference"],"index":3},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/RiskAssessment"],"index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"summaryOf","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/diagnosticReport-summaryOf","version":"4.0.1","description":"A summary report that points to subordinate target reports.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/diagnosticReport-summaryOf"},"type":"uri","index":1},"value":{"choices":["valueReference"],"index":3},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/DiagnosticReport"],"index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"Analysis","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsAnalysis","version":"4.0.1","description":"Knowledge-based comments on the effect of the sequence on patient's condition/medication reaction.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{"type":{"min":1,"max":1,"short":"Analysis type","_required":true,"index":0,"extensions":{},"required":["value"]},"interpretation":{"max":1,"short":"Analysis interpretation","index":6,"extensions":{},"required":["value"]}},"elements":{"extension":{"short":"Analysis type","type":"Extension","index":0,"slicing":{"slices":{"type":{"match":{},"schema":{"short":"Analysis type","type":"Extension","_required":true,"index":0,"extensions":"[Circular Reference]","elements":{"extension":{"index":1},"url":{"type":"uri","fixed":{"type":"uri","value":"type"},"index":2},"value":{"choices":["valueCodeableConcept"],"index":4},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":5}},"required":["value"]},"min":1,"max":1},"interpretation":{"match":{},"schema":{"short":"Analysis interpretation","type":"Extension","index":6,"extensions":"[Circular Reference]","elements":{"extension":{"index":7},"url":{"type":"uri","fixed":{"type":"uri","value":"interpretation"},"index":8},"value":{"choices":["valueCodeableConcept"],"index":10},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":11}},"required":["value"]},"max":1}}}},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsAnalysis"},"index":12}},"required":["extension"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"AssessedCondition","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsAssessedCondition","version":"4.0.1","description":"Used to denote condition context for genetic testing, which may influence reported variants and interpretation for large genomic testing panels e.g. lung cancer or familial breast cancer.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsAssessedCondition"},"index":1},"value":{"choices":["valueReference"],"index":3},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/Condition"],"index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"FamilyMemberHistory","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsFamilyMemberHistory","version":"4.0.1","description":"Significant health events and conditions for a person related to the patient relevant in the context of care for the patient.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsFamilyMemberHistory"},"index":1},"value":{"choices":["valueReference"],"index":3},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/FamilyMemberHistory"],"index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"References","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsReferences","version":"4.0.1","description":"Additional bibliographic reference information about genetics, medications, clinical trials, etc. associated with knowledge-based information on genetics/genetic condition.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{"description":{"max":1,"short":"Reference description","index":0,"extensions":{},"required":["value"]},"reference":{"short":"Reference URI","array":true,"index":6,"extensions":{},"required":["value"]},"type":{"max":1,"short":"Reference type","index":12,"extensions":{},"required":["value"]}},"elements":{"extension":{"short":"Reference description","type":"Extension","index":0,"slicing":{"slices":{"description":{"match":{},"schema":{"short":"Reference description","type":"Extension","index":0,"extensions":"[Circular Reference]","elements":{"extension":{"index":1},"url":{"type":"uri","fixed":{"type":"uri","value":"description"},"index":2},"value":{"choices":["valueString"],"index":4},"valueString":{"type":"string","choiceOf":"value","index":5}},"required":["value"]},"max":1},"reference":{"match":{},"schema":{"short":"Reference URI","type":"Extension","array":true,"index":6,"extensions":"[Circular Reference]","elements":{"extension":{"index":7},"url":{"type":"uri","fixed":{"type":"uri","value":"reference"},"index":8},"value":{"choices":["valueUri"],"index":10},"valueUri":{"type":"uri","choiceOf":"value","index":11}},"required":["value"]}},"type":{"match":{},"schema":{"short":"Reference type","type":"Extension","index":12,"extensions":"[Circular Reference]","elements":{"extension":{"index":13},"url":{"type":"uri","fixed":{"type":"uri","value":"type"},"index":14},"value":{"choices":["valueCodeableConcept"],"index":16},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":17}},"required":["value"]},"max":1}}}},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/DiagnosticReport-geneticsReferences"},"index":18}},"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"locationPerformed","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/diagnosticReport-locationPerformed","version":"4.0.1","description":"Facility location where this report was prepared.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/diagnosticReport-locationPerformed"},"index":1},"value":{"choices":["valueReference"],"index":3},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/Location"],"index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"replaces","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/diagnosticReport-replaces","version":"4.0.1","description":"The report replaces the target resource. For example, when a final anatomic pathology report replaces a preliminary anatomic pathology report replaces where the subsequent observation of case and report may be on more or different material (specimen). Note that this is not same concept as\` DiagnosticReport.status\` = preliminary of final, but industry definition of preliminary and final.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/diagnosticReport-replaces"},"index":1},"value":{"choices":["valueReference"],"index":3},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/DiagnosticReport"],"index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"risk","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/diagnosticReport-risk","version":"4.0.1","description":"Provides a link to an assessment of prognosis or risk as informed by the diagnostic results (For example, genetic results and possibly by patient genetic family history information). This extension is used when need RiskAssessment as an alternate choice for \`Observation.hasMember\` or \`DiagnosticReport.result\`.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/diagnosticReport-risk"},"index":1},"value":{"choices":["valueReference"],"index":3},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/RiskAssessment"],"index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"summaryOf","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/diagnosticReport-summaryOf","version":"4.0.1","description":"A summary report that points to subordinate target reports.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/diagnosticReport-summaryOf"},"index":1},"value":{"choices":["valueReference"],"index":3},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/DiagnosticReport"],"index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"DiagnosticReport","type":"DiagnosticReport","kind":"resource","class":"resource","url":"http://hl7.org/fhir/StructureDefinition/DiagnosticReport","version":"4.0.1","description":"The findings and interpretation of diagnostic tests performed on patients, groups of patients, devices, and locations, and/or specimens derived from these. The report includes clinical context such as requesting and provider information, and some mix of atomic results, images, textual and coded interpretations, and formatted representation of diagnostic reports.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/DomainResource","elements":{"identifier":{"short":"Business identifier for report","type":"Identifier","isSummary":true,"array":true,"index":0},"basedOn":{"short":"What was requested","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/CarePlan","http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation","http://hl7.org/fhir/StructureDefinition/MedicationRequest","http://hl7.org/fhir/StructureDefinition/NutritionOrder","http://hl7.org/fhir/StructureDefinition/ServiceRequest"],"array":true,"index":1},"status":{"short":"registered | partial | preliminary | final +","type":"code","isModifier":true,"isModifierReason":"This element is labeled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/diagnostic-report-status|4.0.1","bindingName":"DiagnosticReportStatus"},"index":2},"category":{"short":"Service category","type":"CodeableConcept","isSummary":true,"binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/diagnostic-service-sections","bindingName":"DiagnosticServiceSection"},"array":true,"index":3},"code":{"short":"Name/Code for this diagnostic report","type":"CodeableConcept","isSummary":true,"binding":{"strength":"preferred","valueSet":"http://hl7.org/fhir/ValueSet/report-codes","bindingName":"DiagnosticReportCodes"},"index":4},"subject":{"short":"The subject of the report - usually, but not always, the patient","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Device","http://hl7.org/fhir/StructureDefinition/Group","http://hl7.org/fhir/StructureDefinition/Location","http://hl7.org/fhir/StructureDefinition/Patient"],"index":5},"encounter":{"short":"Health care event when test ordered","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Encounter"],"index":6},"effective":{"short":"Clinically relevant time/time-period for report","isSummary":true,"choices":["effectiveDateTime","effectivePeriod"],"index":8},"effectiveDateTime":{"short":"Clinically relevant time/time-period for report","type":"dateTime","isSummary":true,"choiceOf":"effective","index":9},"effectivePeriod":{"short":"Clinically relevant time/time-period for report","type":"Period","isSummary":true,"choiceOf":"effective","index":10},"issued":{"short":"DateTime this version was made","type":"instant","isSummary":true,"index":11},"performer":{"short":"Responsible Diagnostic Service","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/CareTeam","http://hl7.org/fhir/StructureDefinition/Organization","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole"],"array":true,"index":12},"resultsInterpreter":{"short":"Primary result interpreter","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/CareTeam","http://hl7.org/fhir/StructureDefinition/Organization","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole"],"array":true,"index":13},"specimen":{"short":"Specimens this report is based on","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Specimen"],"array":true,"index":14},"result":{"short":"Observations","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Observation"],"array":true,"index":15},"imagingStudy":{"short":"Reference to full details of imaging associated with the diagnostic report","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/ImagingStudy"],"array":true,"index":16},"media":{"short":"Key images associated with this report","type":"BackboneElement","isSummary":true,"array":true,"index":17,"elements":{"comment":{"short":"Comment about the image (e.g. explanation)","type":"string","index":18},"link":{"short":"Reference to the image source","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Media"],"index":19}},"required":["link"]},"conclusion":{"short":"Clinical conclusion (interpretation) of test results","type":"string","index":20},"conclusionCode":{"short":"Codes for the clinical conclusion of test results","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/clinical-findings","bindingName":"AdjunctDiagnosis"},"array":true,"index":21},"presentedForm":{"short":"Entire report as issued","type":"Attachment","array":true,"index":22}},"required":["code","status"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"Display Name","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/display","version":"4.0.1","description":"The title or other name to display when referencing a resource by canonical URL.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/display"},"type":"uri","index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"Display Name","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/display","version":"4.0.1","description":"The title or other name to display when referencing a resource by canonical URL.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/display"},"index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"Distance","type":"Distance","kind":"complex-type","class":"complex-type","url":"http://hl7.org/fhir/StructureDefinition/Distance","version":"4.0.1","description":"Base StructureDefinition for Distance Type: A length - a value with a unit that is a physical distance.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/Quantity","package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"DocumentManifest","type":"DocumentManifest","kind":"resource","class":"resource","url":"http://hl7.org/fhir/StructureDefinition/DocumentManifest","version":"4.0.1","description":"A collection of documents compiled for a purpose together with metadata that applies to the collection.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/DomainResource","elements":{"masterIdentifier":{"short":"Unique Identifier for the set of documents","type":"Identifier","isSummary":true,"index":0},"identifier":{"short":"Other identifiers for the manifest","type":"Identifier","isSummary":true,"array":true,"index":1},"status":{"short":"current | superseded | entered-in-error","type":"code","isModifier":true,"isModifierReason":"This element is labelled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/document-reference-status|4.0.1","bindingName":"DocumentReferenceStatus"},"index":2},"type":{"short":"Kind of document set","type":"CodeableConcept","isSummary":true,"binding":{"strength":"example","valueSet":"http://terminology.hl7.org/ValueSet/v3-ActCode","bindingName":"v3Act"},"index":3},"subject":{"short":"The subject of the set of documents","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Device","http://hl7.org/fhir/StructureDefinition/Group","http://hl7.org/fhir/StructureDefinition/Patient","http://hl7.org/fhir/StructureDefinition/Practitioner"],"index":4},"created":{"short":"When this document manifest created","type":"dateTime","index":5},"author":{"short":"Who and/or what authored the DocumentManifest","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Device","http://hl7.org/fhir/StructureDefinition/Organization","http://hl7.org/fhir/StructureDefinition/Patient","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole","http://hl7.org/fhir/StructureDefinition/RelatedPerson"],"array":true,"index":6},"recipient":{"short":"Intended to get notified about this set of documents","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Organization","http://hl7.org/fhir/StructureDefinition/Patient","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole","http://hl7.org/fhir/StructureDefinition/RelatedPerson"],"array":true,"index":7},"source":{"short":"The source system/application/software","type":"uri","index":8},"description":{"short":"Human-readable description (title)","type":"string","isSummary":true,"index":9},"content":{"short":"Items in manifest","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Resource"],"array":true,"min":1,"index":10},"related":{"short":"Related things","type":"BackboneElement","array":true,"index":11,"elements":{"identifier":{"short":"Identifiers of things that are related","type":"Identifier","index":12},"ref":{"short":"Related Resource","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Resource"],"index":13}}}},"required":["content","status"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"DocumentReference","type":"DocumentReference","kind":"resource","class":"resource","url":"http://hl7.org/fhir/StructureDefinition/DocumentReference","version":"4.0.1","description":"A reference to a document of any kind for any purpose. Provides metadata about the document so that the document can be discovered and managed. The scope of a document is any seralized object with a mime-type, so includes formal patient centric documents (CDA), cliical notes, scanned paper, and non-patient specific documents like policy text.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/DomainResource","elements":{"masterIdentifier":{"short":"Master Version Specific Identifier","type":"Identifier","isSummary":true,"index":0},"identifier":{"short":"Other identifiers for the document","type":"Identifier","isSummary":true,"array":true,"index":1},"status":{"short":"current | superseded | entered-in-error","type":"code","isModifier":true,"isModifierReason":"This element is labelled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/document-reference-status|4.0.1","bindingName":"DocumentReferenceStatus"},"index":2},"docStatus":{"short":"preliminary | final | amended | entered-in-error","type":"code","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/composition-status|4.0.1","bindingName":"ReferredDocumentStatus"},"index":3},"type":{"short":"Kind of document (LOINC if possible)","type":"CodeableConcept","isSummary":true,"binding":{"strength":"preferred","valueSet":"http://hl7.org/fhir/ValueSet/c80-doc-typecodes","bindingName":"DocumentC80Type"},"index":4},"category":{"short":"Categorization of document","type":"CodeableConcept","isSummary":true,"binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/document-classcodes","bindingName":"DocumentC80Class"},"array":true,"index":5},"subject":{"short":"Who/what is the subject of the document","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Device","http://hl7.org/fhir/StructureDefinition/Group","http://hl7.org/fhir/StructureDefinition/Patient","http://hl7.org/fhir/StructureDefinition/Practitioner"],"index":6},"date":{"short":"When this document reference was created","type":"instant","isSummary":true,"index":7},"author":{"short":"Who and/or what authored the document","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Device","http://hl7.org/fhir/StructureDefinition/Organization","http://hl7.org/fhir/StructureDefinition/Patient","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole","http://hl7.org/fhir/StructureDefinition/RelatedPerson"],"array":true,"index":8},"authenticator":{"short":"Who/what authenticated the document","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Organization","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole"],"index":9},"custodian":{"short":"Organization which maintains the document","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Organization"],"index":10},"relatesTo":{"short":"Relationships to other documents","type":"BackboneElement","isSummary":true,"array":true,"index":11,"elements":{"code":{"short":"replaces | transforms | signs | appends","type":"code","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/document-relationship-type|4.0.1","bindingName":"DocumentRelationshipType"},"index":12},"target":{"short":"Target of the relationship","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/DocumentReference"],"index":13}},"required":["code","target"]},"description":{"short":"Human-readable description","type":"string","isSummary":true,"index":14},"securityLabel":{"short":"Document security-tags","type":"CodeableConcept","isSummary":true,"binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/ValueSet/security-labels","bindingName":"SecurityLabels"},"array":true,"index":15},"content":{"short":"Document referenced","type":"BackboneElement","isSummary":true,"array":true,"min":1,"index":16,"elements":{"attachment":{"short":"Where to access the document","type":"Attachment","isSummary":true,"index":17},"format":{"short":"Format/content rules for the document","type":"Coding","isSummary":true,"binding":{"strength":"preferred","valueSet":"http://hl7.org/fhir/ValueSet/formatcodes","bindingName":"DocumentFormat"},"index":18}},"required":["attachment"]},"context":{"short":"Clinical context of document","type":"BackboneElement","isSummary":true,"index":19,"elements":{"encounter":{"short":"Context of the document content","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Encounter","http://hl7.org/fhir/StructureDefinition/EpisodeOfCare"],"array":true,"index":20},"event":{"short":"Main clinical acts documented","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://terminology.hl7.org/ValueSet/v3-ActCode","bindingName":"DocumentEventType"},"array":true,"index":21},"period":{"short":"Time of service that is being documented","type":"Period","isSummary":true,"index":22},"facilityType":{"short":"Kind of facility where patient was seen","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/c80-facilitycodes","bindingName":"DocumentC80FacilityType"},"index":23},"practiceSetting":{"short":"Additional details about where the content was created (e.g. clinical specialty)","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/c80-practice-codes","bindingName":"DocumentC80PracticeSetting"},"index":24},"sourcePatientInfo":{"short":"Patient demographics from source","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Patient"],"index":25},"related":{"short":"Related identifiers or resources","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Resource"],"array":true,"index":26}}}},"required":["content","status"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} @@ -940,90 +940,90 @@ exports[`IntrospectionWriter - Fhir Schema Output Check all introspection data i {"name":"EHRS FM Record Lifecycle Event - Audit Event","type":"AuditEvent","kind":"resource","class":"profile","url":"http://hl7.org/fhir/StructureDefinition/ehrsrle-auditevent","version":"4.0.1","description":"Defines the elements to be supported within the AuditEvent resource in order to conform with the Electronic Health Record System Functional Model Record Lifecycle Event standard","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/AuditEvent","elements":{"type":{"mustSupport":true,"index":0},"subtype":{"mustSupport":true,"index":1},"action":{"mustSupport":true,"index":2},"recorded":{"mustSupport":true,"index":3},"purposeOfEvent":{"mustSupport":true,"index":4},"agent":{"mustSupport":true,"index":5,"elements":{"role":{"mustSupport":true,"index":6},"who":{"mustSupport":true,"index":7},"requestor":{"mustSupport":true,"index":8},"location":{"mustSupport":true,"index":9},"policy":{"mustSupport":true,"index":10},"network":{"mustSupport":true,"index":11,"elements":{"address":{"mustSupport":true,"index":12},"type":{"mustSupport":true,"index":13}}},"purposeOfUse":{"mustSupport":true,"index":14}}},"source":{"mustSupport":true,"index":15,"elements":{"site":{"mustSupport":true,"index":16},"observer":{"mustSupport":true,"index":17},"type":{"mustSupport":true,"index":18}}},"entity":{"mustSupport":true,"index":19,"elements":{"what":{"mustSupport":true,"index":20},"type":{"mustSupport":true,"index":21},"role":{"mustSupport":true,"index":22},"lifecycle":{"mustSupport":true,"index":23},"securityLabel":{"mustSupport":true,"index":24}}}},"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"EHRS FM Record Lifecycle Event - Provenance","type":"Provenance","kind":"resource","class":"profile","url":"http://hl7.org/fhir/StructureDefinition/ehrsrle-provenance","version":"4.0.1","description":"Defines the elements to be supported within the Provenance resource in order to conform with the Electronic Health Record System Functional Model Record Lifecycle Event standard","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Provenance","elements":{"target":{"mustSupport":true,"index":0},"recorded":{"mustSupport":true,"index":2},"policy":{"mustSupport":true,"index":3},"location":{"mustSupport":true,"index":4},"reason":{"mustSupport":true,"index":5},"activity":{"mustSupport":true,"index":6},"agent":{"mustSupport":true,"index":7,"elements":{"who":{"mustSupport":true,"index":8},"onBehalfOf":{"mustSupport":true,"index":9}}},"signature":{"mustSupport":true,"index":10}},"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"Element","type":"Element","kind":"complex-type","class":"complex-type","url":"http://hl7.org/fhir/StructureDefinition/Element","version":"4.0.1","description":"Base StructureDefinition for Element Type: Base definition for all elements in a resource.","abstract":true,"elements":{"id":{"representation":["xmlAttr"],"short":"Unique id for inter-element referencing","type":"string","index":0},"extension":{"short":"Additional content defined by implementations","type":"Extension","array":true,"index":1}},"extensions":{},"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"allowedUnits","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-allowedUnits","version":"4.0.1","description":"Identifies the units of measure in which the element should be captured or expressed.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/elementdefinition-allowedUnits"},"type":"uri","index":1},"value":{"choices":["valueCodeableConcept","valueCanonical"],"index":3},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":4},"valueCanonical":{"type":"canonical","choiceOf":"value","index":5}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"bestpractice-explanation","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation","version":"4.0.1","description":"Explains why an invariant is labelled as a best practice invariant.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation"},"type":"uri","index":1},"value":{"choices":["valueMarkdown"],"index":3},"valueMarkdown":{"type":"markdown","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"bestpractice","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice","version":"4.0.1","description":"Mark that an invariant represents 'best practice' rule - a rule that implementers may choose to enforce at error level in some or all circumstances.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice"},"type":"uri","index":1},"value":{"choices":["valueBoolean","valueCodeableConcept"],"index":3},"valueBoolean":{"type":"boolean","choiceOf":"value","index":4},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":5}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"bindingName","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","version":"4.0.1","description":"A name that can be used for code generation when generating named enumerations for the binding.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"},"type":"uri","index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"allowedUnits","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-allowedUnits","version":"4.0.1","description":"Identifies the units of measure in which the element should be captured or expressed.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/elementdefinition-allowedUnits"},"index":1},"value":{"choices":["valueCodeableConcept","valueCanonical"],"index":3},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":4},"valueCanonical":{"type":"canonical","choiceOf":"value","index":5}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"bestpractice-explanation","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation","version":"4.0.1","description":"Explains why an invariant is labelled as a best practice invariant.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation"},"index":1},"value":{"choices":["valueMarkdown"],"index":3},"valueMarkdown":{"type":"markdown","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"bestpractice","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice","version":"4.0.1","description":"Mark that an invariant represents 'best practice' rule - a rule that implementers may choose to enforce at error level in some or all circumstances.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice"},"index":1},"value":{"choices":["valueBoolean","valueCodeableConcept"],"index":3},"valueBoolean":{"type":"boolean","choiceOf":"value","index":4},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":5}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"bindingName","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName","version":"4.0.1","description":"A name that can be used for code generation when generating named enumerations for the binding.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName"},"index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"DataElement constraint on ElementDefinition data type","type":"ElementDefinition","kind":"complex-type","class":"complex-type","url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-de","version":"4.0.1","description":"Identifies how the ElementDefinition data type is used when it appears within a data element","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/ElementDefinition","extensions":{"Question":{"max":"*","url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-question","index":0},"AllowedUnits":{"max":1,"url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-allowedUnits","index":1}},"elements":{"extension":{"min":0,"max":"*","type":"Extension","url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-question","index":0,"slicing":{"slices":{"Question":{"match":{},"schema":{"min":0,"max":"*","type":"Extension","url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-question","index":0}},"AllowedUnits":{"match":{},"schema":{"min":0,"max":1,"type":"Extension","url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-allowedUnits","index":1},"max":1}}}},"representation":{"index":2},"slicing":{"index":3},"short":{"index":4},"contentReference":{"index":5},"type":{"index":6,"elements":{"profile":{"index":7},"aggregation":{"index":8}}},"meaningWhenMissing":{"index":10},"isModifier":{"index":13},"isSummary":{"index":14}},"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"equivalence","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-equivalence","version":"4.0.1","description":"The level of equivalence between the element containing the mapping and the element mapped to.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/elementdefinition-equivalence"},"type":"uri","index":1},"value":{"choices":["valueCode"],"index":3},"valueCode":{"type":"code","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"identifier","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-identifier","version":"4.0.1","description":"External Identifiers associated with this element - these are identifiers that are associated with the concept this element represents.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/elementdefinition-identifier"},"type":"uri","index":1},"value":{"choices":["valueIdentifier"],"index":3},"valueIdentifier":{"type":"Identifier","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"inheritedExtensibleValueSet","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-inheritedExtensibleValueSet","version":"4.0.1","description":"A reference to an extensible value set specified in a parent profie in order to allow a conformance checking tool to validate that a code not in the extensible value set of the profile is not violating rules defined by parent profile bindings.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/elementdefinition-inheritedExtensibleValueSet"},"type":"uri","index":1},"value":{"choices":["valueUri","valueCanonical"],"index":3},"valueUri":{"type":"uri","choiceOf":"value","index":4},"valueCanonical":{"type":"canonical","choiceOf":"value","index":5}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"isCommonBinding","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding","version":"4.0.1","description":"Whether the binding is used on multiple resources, or only on this resource.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding"},"type":"uri","index":1},"value":{"choices":["valueBoolean"],"index":3},"valueBoolean":{"type":"boolean","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"maxValueSet","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet","version":"4.0.1","description":"The maximum allowable value set, for use when the binding strength is 'extensible' or 'preferred'. This value set is the value set from which additional codes can be taken from. This defines a 'required' binding over the top of the extensible binding.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet"},"type":"uri","index":1},"value":{"choices":["valueUri","valueCanonical"],"index":3},"valueUri":{"type":"uri","choiceOf":"value","index":4},"valueCanonical":{"type":"canonical","choiceOf":"value","index":5}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"minValueSet","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-minValueSet","version":"4.0.1","description":"The minimum allowable value set, for use when the binding strength is 'required' or 'extensible'. This value set is the minimum value set that any conformant system SHALL support.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/elementdefinition-minValueSet"},"type":"uri","index":1},"value":{"choices":["valueUri","valueCanonical"],"index":3},"valueUri":{"type":"uri","choiceOf":"value","index":4},"valueCanonical":{"type":"canonical","choiceOf":"value","index":5}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"namespace","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-namespace","version":"4.0.1","description":"Use this extension to indicate tha the element has an XML namespace different to http://hl7.org/fhir.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/elementdefinition-namespace"},"type":"uri","index":1},"value":{"choices":["valueUri"],"index":3},"valueUri":{"type":"uri","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"profile-element","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-profile-element","version":"4.0.1","description":"The specific element to use in the referenced profile. This is used when a backbone element is being profiled, rather than an established type.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/elementdefinition-profile-element"},"type":"uri","index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"question","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-question","version":"4.0.1","description":"The default/suggested phrasing to use when prompting a human to capture the data element in question form (e.g. In a survey).","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/elementdefinition-question"},"type":"uri","index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"selector","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-selector","version":"4.0.1","description":"A FHIRPath statement that defines whether an element is in the slice.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/elementdefinition-selector"},"type":"uri","index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"translatable","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable","version":"4.0.1","description":"Whether translations might be expected for this element in resource instances.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable"},"type":"uri","index":1},"value":{"choices":["valueBoolean"],"index":3},"valueBoolean":{"type":"boolean","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"equivalence","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-equivalence","version":"4.0.1","description":"The level of equivalence between the element containing the mapping and the element mapped to.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/elementdefinition-equivalence"},"index":1},"value":{"choices":["valueCode"],"index":3},"valueCode":{"type":"code","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"identifier","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-identifier","version":"4.0.1","description":"External Identifiers associated with this element - these are identifiers that are associated with the concept this element represents.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/elementdefinition-identifier"},"index":1},"value":{"choices":["valueIdentifier"],"index":3},"valueIdentifier":{"type":"Identifier","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"inheritedExtensibleValueSet","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-inheritedExtensibleValueSet","version":"4.0.1","description":"A reference to an extensible value set specified in a parent profie in order to allow a conformance checking tool to validate that a code not in the extensible value set of the profile is not violating rules defined by parent profile bindings.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/elementdefinition-inheritedExtensibleValueSet"},"index":1},"value":{"choices":["valueUri","valueCanonical"],"index":3},"valueUri":{"type":"uri","choiceOf":"value","index":4},"valueCanonical":{"type":"canonical","choiceOf":"value","index":5}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"isCommonBinding","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding","version":"4.0.1","description":"Whether the binding is used on multiple resources, or only on this resource.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding"},"index":1},"value":{"choices":["valueBoolean"],"index":3},"valueBoolean":{"type":"boolean","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"maxValueSet","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet","version":"4.0.1","description":"The maximum allowable value set, for use when the binding strength is 'extensible' or 'preferred'. This value set is the value set from which additional codes can be taken from. This defines a 'required' binding over the top of the extensible binding.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet"},"index":1},"value":{"choices":["valueUri","valueCanonical"],"index":3},"valueUri":{"type":"uri","choiceOf":"value","index":4},"valueCanonical":{"type":"canonical","choiceOf":"value","index":5}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"minValueSet","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-minValueSet","version":"4.0.1","description":"The minimum allowable value set, for use when the binding strength is 'required' or 'extensible'. This value set is the minimum value set that any conformant system SHALL support.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/elementdefinition-minValueSet"},"index":1},"value":{"choices":["valueUri","valueCanonical"],"index":3},"valueUri":{"type":"uri","choiceOf":"value","index":4},"valueCanonical":{"type":"canonical","choiceOf":"value","index":5}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"namespace","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-namespace","version":"4.0.1","description":"Use this extension to indicate tha the element has an XML namespace different to http://hl7.org/fhir.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/elementdefinition-namespace"},"index":1},"value":{"choices":["valueUri"],"index":3},"valueUri":{"type":"uri","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"profile-element","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-profile-element","version":"4.0.1","description":"The specific element to use in the referenced profile. This is used when a backbone element is being profiled, rather than an established type.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/elementdefinition-profile-element"},"index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"question","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-question","version":"4.0.1","description":"The default/suggested phrasing to use when prompting a human to capture the data element in question form (e.g. In a survey).","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/elementdefinition-question"},"index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"selector","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-selector","version":"4.0.1","description":"A FHIRPath statement that defines whether an element is in the slice.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/elementdefinition-selector"},"index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"translatable","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable","version":"4.0.1","description":"Whether translations might be expected for this element in resource instances.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable"},"index":1},"value":{"choices":["valueBoolean"],"index":3},"valueBoolean":{"type":"boolean","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"ElementDefinition","type":"ElementDefinition","kind":"complex-type","class":"complex-type","url":"http://hl7.org/fhir/StructureDefinition/ElementDefinition","version":"4.0.1","description":"Base StructureDefinition for ElementDefinition Type: Captures constraints on each element within the resource, profile, or extension.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/BackboneElement","elements":{"path":{"short":"Path of the element in the hierarchy of elements","type":"string","isSummary":true,"index":0},"representation":{"short":"xmlAttr | xmlText | typeAttr | cdaText | xhtml","type":"code","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/property-representation|4.0.1","bindingName":"PropertyRepresentation"},"array":true,"index":1},"sliceName":{"short":"Name for this particular element (in a set of slices)","type":"string","isSummary":true,"index":2},"sliceIsConstraining":{"short":"If this slice definition constrains an inherited slice definition (or not)","type":"boolean","isSummary":true,"index":3},"label":{"short":"Name for element to display with or prompt for element","type":"string","isSummary":true,"index":4},"code":{"short":"Corresponding codes in terminologies","type":"Coding","isSummary":true,"binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/observation-codes","bindingName":"ElementDefinitionCode"},"array":true,"index":5},"slicing":{"short":"This element is sliced - slices follow","type":"Element","constraint":{"eld-1":{"expression":"discriminator.exists() or description.exists()","human":"If there are no discriminators, there must be a definition","severity":"error"}},"isSummary":true,"index":6,"elements":{"discriminator":{"short":"Element values that are used to distinguish the slices","type":"Element","isSummary":true,"array":true,"index":7,"elements":{"type":{"short":"value | exists | pattern | type | profile","type":"code","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/discriminator-type|4.0.1","bindingName":"DiscriminatorType"},"index":8},"path":{"short":"Path to element value","type":"string","isSummary":true,"index":9}},"required":["path","type"]},"description":{"short":"Text description of how slicing works (or not)","type":"string","isSummary":true,"index":10},"ordered":{"short":"If elements must be in same order as slices","type":"boolean","meaningWhenMissing":"Order is not required unless specified","isSummary":true,"index":11},"rules":{"short":"closed | open | openAtEnd","type":"code","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/resource-slicing-rules|4.0.1","bindingName":"SlicingRules"},"index":12}},"required":["rules"]},"short":{"short":"Concise definition for space-constrained presentation","type":"string","isSummary":true,"index":13},"definition":{"short":"Full formal definition as narrative text","type":"markdown","isSummary":true,"index":14},"comment":{"short":"Comments about the use of this element","type":"markdown","isSummary":true,"index":15},"requirements":{"short":"Why this resource has been created","type":"markdown","isSummary":true,"index":16},"alias":{"short":"Other names","type":"string","isSummary":true,"array":true,"index":17},"min":{"short":"Minimum Cardinality","type":"unsignedInt","isSummary":true,"index":18},"max":{"short":"Maximum Cardinality (a number or *)","type":"string","constraint":{"eld-3":{"expression":"empty() or ($this = '*') or (toInteger() >= 0)","human":"Max SHALL be a number or \\"*\\"","severity":"error"}},"isSummary":true,"index":19},"base":{"short":"Base definition information for tools","type":"Element","isSummary":true,"index":20,"elements":{"path":{"short":"Path that identifies the base element","type":"string","isSummary":true,"index":21},"min":{"short":"Min cardinality of the base element","type":"unsignedInt","isSummary":true,"index":22},"max":{"short":"Max cardinality of the base element","type":"string","isSummary":true,"index":23}},"required":["max","min","path"]},"contentReference":{"short":"Reference to definition of content for the element","type":"uri","isSummary":true,"index":24},"type":{"short":"Data type and Profile for this element","type":"Element","constraint":{"eld-4":{"expression":"aggregation.empty() or (code = 'Reference') or (code = 'canonical')","human":"Aggregation may only be specified if one of the allowed types for the element is a reference","severity":"error"},"eld-17":{"expression":"(code='Reference' or code = 'canonical') or targetProfile.empty()","human":"targetProfile is only allowed if the type is Reference or canonical","severity":"error"}},"isSummary":true,"array":true,"index":25,"elements":{"code":{"short":"Data type or Resource (reference to definition)","type":"uri","isSummary":true,"binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/ValueSet/defined-types","bindingName":"FHIRDefinedTypeExt"},"index":26},"profile":{"short":"Profiles (StructureDefinition or IG) - one must apply","type":"canonical","isSummary":true,"array":true,"index":27},"targetProfile":{"short":"Profile (StructureDefinition or IG) on the Reference/canonical target - one must apply","type":"canonical","isSummary":true,"array":true,"index":28},"aggregation":{"short":"contained | referenced | bundled - how aggregated","type":"code","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/resource-aggregation-mode|4.0.1","bindingName":"AggregationMode"},"array":true,"index":29},"versioning":{"short":"either | independent | specific","type":"code","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/reference-version-rules|4.0.1","bindingName":"ReferenceVersionRules"},"index":30}},"required":["code"]},"defaultValue":{"short":"Specified value if missing from instance","isSummary":true,"choices":["defaultValueBase64Binary","defaultValueBoolean","defaultValueCanonical","defaultValueCode","defaultValueDate","defaultValueDateTime","defaultValueDecimal","defaultValueId","defaultValueInstant","defaultValueInteger","defaultValueMarkdown","defaultValueOid","defaultValuePositiveInt","defaultValueString","defaultValueTime","defaultValueUnsignedInt","defaultValueUri","defaultValueUrl","defaultValueUuid","defaultValueAddress","defaultValueAge","defaultValueAnnotation","defaultValueAttachment","defaultValueCodeableConcept","defaultValueCoding","defaultValueContactPoint","defaultValueCount","defaultValueDistance","defaultValueDuration","defaultValueHumanName","defaultValueIdentifier","defaultValueMoney","defaultValuePeriod","defaultValueQuantity","defaultValueRange","defaultValueRatio","defaultValueReference","defaultValueSampledData","defaultValueSignature","defaultValueTiming","defaultValueContactDetail","defaultValueContributor","defaultValueDataRequirement","defaultValueExpression","defaultValueParameterDefinition","defaultValueRelatedArtifact","defaultValueTriggerDefinition","defaultValueUsageContext","defaultValueDosage","defaultValueMeta"],"index":32},"defaultValueBase64Binary":{"short":"Specified value if missing from instance","type":"base64Binary","isSummary":true,"choiceOf":"defaultValue","index":33},"defaultValueBoolean":{"short":"Specified value if missing from instance","type":"boolean","isSummary":true,"choiceOf":"defaultValue","index":34},"defaultValueCanonical":{"short":"Specified value if missing from instance","type":"canonical","isSummary":true,"choiceOf":"defaultValue","index":35},"defaultValueCode":{"short":"Specified value if missing from instance","type":"code","isSummary":true,"choiceOf":"defaultValue","index":36},"defaultValueDate":{"short":"Specified value if missing from instance","type":"date","isSummary":true,"choiceOf":"defaultValue","index":37},"defaultValueDateTime":{"short":"Specified value if missing from instance","type":"dateTime","isSummary":true,"choiceOf":"defaultValue","index":38},"defaultValueDecimal":{"short":"Specified value if missing from instance","type":"decimal","isSummary":true,"choiceOf":"defaultValue","index":39},"defaultValueId":{"short":"Specified value if missing from instance","type":"id","isSummary":true,"choiceOf":"defaultValue","index":40},"defaultValueInstant":{"short":"Specified value if missing from instance","type":"instant","isSummary":true,"choiceOf":"defaultValue","index":41},"defaultValueInteger":{"short":"Specified value if missing from instance","type":"integer","isSummary":true,"choiceOf":"defaultValue","index":42},"defaultValueMarkdown":{"short":"Specified value if missing from instance","type":"markdown","isSummary":true,"choiceOf":"defaultValue","index":43},"defaultValueOid":{"short":"Specified value if missing from instance","type":"oid","isSummary":true,"choiceOf":"defaultValue","index":44},"defaultValuePositiveInt":{"short":"Specified value if missing from instance","type":"positiveInt","isSummary":true,"choiceOf":"defaultValue","index":45},"defaultValueString":{"short":"Specified value if missing from instance","type":"string","isSummary":true,"choiceOf":"defaultValue","index":46},"defaultValueTime":{"short":"Specified value if missing from instance","type":"time","isSummary":true,"choiceOf":"defaultValue","index":47},"defaultValueUnsignedInt":{"short":"Specified value if missing from instance","type":"unsignedInt","isSummary":true,"choiceOf":"defaultValue","index":48},"defaultValueUri":{"short":"Specified value if missing from instance","type":"uri","isSummary":true,"choiceOf":"defaultValue","index":49},"defaultValueUrl":{"short":"Specified value if missing from instance","type":"url","isSummary":true,"choiceOf":"defaultValue","index":50},"defaultValueUuid":{"short":"Specified value if missing from instance","type":"uuid","isSummary":true,"choiceOf":"defaultValue","index":51},"defaultValueAddress":{"short":"Specified value if missing from instance","type":"Address","isSummary":true,"choiceOf":"defaultValue","index":52},"defaultValueAge":{"short":"Specified value if missing from instance","type":"Age","isSummary":true,"choiceOf":"defaultValue","index":53},"defaultValueAnnotation":{"short":"Specified value if missing from instance","type":"Annotation","isSummary":true,"choiceOf":"defaultValue","index":54},"defaultValueAttachment":{"short":"Specified value if missing from instance","type":"Attachment","isSummary":true,"choiceOf":"defaultValue","index":55},"defaultValueCodeableConcept":{"short":"Specified value if missing from instance","type":"CodeableConcept","isSummary":true,"choiceOf":"defaultValue","index":56},"defaultValueCoding":{"short":"Specified value if missing from instance","type":"Coding","isSummary":true,"choiceOf":"defaultValue","index":57},"defaultValueContactPoint":{"short":"Specified value if missing from instance","type":"ContactPoint","isSummary":true,"choiceOf":"defaultValue","index":58},"defaultValueCount":{"short":"Specified value if missing from instance","type":"Count","isSummary":true,"choiceOf":"defaultValue","index":59},"defaultValueDistance":{"short":"Specified value if missing from instance","type":"Distance","isSummary":true,"choiceOf":"defaultValue","index":60},"defaultValueDuration":{"short":"Specified value if missing from instance","type":"Duration","isSummary":true,"choiceOf":"defaultValue","index":61},"defaultValueHumanName":{"short":"Specified value if missing from instance","type":"HumanName","isSummary":true,"choiceOf":"defaultValue","index":62},"defaultValueIdentifier":{"short":"Specified value if missing from instance","type":"Identifier","isSummary":true,"choiceOf":"defaultValue","index":63},"defaultValueMoney":{"short":"Specified value if missing from instance","type":"Money","isSummary":true,"choiceOf":"defaultValue","index":64},"defaultValuePeriod":{"short":"Specified value if missing from instance","type":"Period","isSummary":true,"choiceOf":"defaultValue","index":65},"defaultValueQuantity":{"short":"Specified value if missing from instance","type":"Quantity","isSummary":true,"choiceOf":"defaultValue","index":66},"defaultValueRange":{"short":"Specified value if missing from instance","type":"Range","isSummary":true,"choiceOf":"defaultValue","index":67},"defaultValueRatio":{"short":"Specified value if missing from instance","type":"Ratio","isSummary":true,"choiceOf":"defaultValue","index":68},"defaultValueReference":{"short":"Specified value if missing from instance","type":"Reference","isSummary":true,"choiceOf":"defaultValue","index":69},"defaultValueSampledData":{"short":"Specified value if missing from instance","type":"SampledData","isSummary":true,"choiceOf":"defaultValue","index":70},"defaultValueSignature":{"short":"Specified value if missing from instance","type":"Signature","isSummary":true,"choiceOf":"defaultValue","index":71},"defaultValueTiming":{"short":"Specified value if missing from instance","type":"Timing","isSummary":true,"choiceOf":"defaultValue","index":72},"defaultValueContactDetail":{"short":"Specified value if missing from instance","type":"ContactDetail","isSummary":true,"choiceOf":"defaultValue","index":73},"defaultValueContributor":{"short":"Specified value if missing from instance","type":"Contributor","isSummary":true,"choiceOf":"defaultValue","index":74},"defaultValueDataRequirement":{"short":"Specified value if missing from instance","type":"DataRequirement","isSummary":true,"choiceOf":"defaultValue","index":75},"defaultValueExpression":{"short":"Specified value if missing from instance","type":"Expression","isSummary":true,"choiceOf":"defaultValue","index":76},"defaultValueParameterDefinition":{"short":"Specified value if missing from instance","type":"ParameterDefinition","isSummary":true,"choiceOf":"defaultValue","index":77},"defaultValueRelatedArtifact":{"short":"Specified value if missing from instance","type":"RelatedArtifact","isSummary":true,"choiceOf":"defaultValue","index":78},"defaultValueTriggerDefinition":{"short":"Specified value if missing from instance","type":"TriggerDefinition","isSummary":true,"choiceOf":"defaultValue","index":79},"defaultValueUsageContext":{"short":"Specified value if missing from instance","type":"UsageContext","isSummary":true,"choiceOf":"defaultValue","index":80},"defaultValueDosage":{"short":"Specified value if missing from instance","type":"Dosage","isSummary":true,"choiceOf":"defaultValue","index":81},"defaultValueMeta":{"short":"Specified value if missing from instance","type":"Meta","isSummary":true,"choiceOf":"defaultValue","index":82},"meaningWhenMissing":{"short":"Implicit meaning when this element is missing","type":"markdown","isSummary":true,"index":83},"orderMeaning":{"short":"What the order of the elements means","type":"string","isSummary":true,"index":84},"fixed":{"short":"Value must be exactly this","isSummary":true,"choices":["fixedBase64Binary","fixedBoolean","fixedCanonical","fixedCode","fixedDate","fixedDateTime","fixedDecimal","fixedId","fixedInstant","fixedInteger","fixedMarkdown","fixedOid","fixedPositiveInt","fixedString","fixedTime","fixedUnsignedInt","fixedUri","fixedUrl","fixedUuid","fixedAddress","fixedAge","fixedAnnotation","fixedAttachment","fixedCodeableConcept","fixedCoding","fixedContactPoint","fixedCount","fixedDistance","fixedDuration","fixedHumanName","fixedIdentifier","fixedMoney","fixedPeriod","fixedQuantity","fixedRange","fixedRatio","fixedReference","fixedSampledData","fixedSignature","fixedTiming","fixedContactDetail","fixedContributor","fixedDataRequirement","fixedExpression","fixedParameterDefinition","fixedRelatedArtifact","fixedTriggerDefinition","fixedUsageContext","fixedDosage","fixedMeta"],"index":86},"fixedBase64Binary":{"short":"Value must be exactly this","type":"base64Binary","isSummary":true,"choiceOf":"fixed","index":87},"fixedBoolean":{"short":"Value must be exactly this","type":"boolean","isSummary":true,"choiceOf":"fixed","index":88},"fixedCanonical":{"short":"Value must be exactly this","type":"canonical","isSummary":true,"choiceOf":"fixed","index":89},"fixedCode":{"short":"Value must be exactly this","type":"code","isSummary":true,"choiceOf":"fixed","index":90},"fixedDate":{"short":"Value must be exactly this","type":"date","isSummary":true,"choiceOf":"fixed","index":91},"fixedDateTime":{"short":"Value must be exactly this","type":"dateTime","isSummary":true,"choiceOf":"fixed","index":92},"fixedDecimal":{"short":"Value must be exactly this","type":"decimal","isSummary":true,"choiceOf":"fixed","index":93},"fixedId":{"short":"Value must be exactly this","type":"id","isSummary":true,"choiceOf":"fixed","index":94},"fixedInstant":{"short":"Value must be exactly this","type":"instant","isSummary":true,"choiceOf":"fixed","index":95},"fixedInteger":{"short":"Value must be exactly this","type":"integer","isSummary":true,"choiceOf":"fixed","index":96},"fixedMarkdown":{"short":"Value must be exactly this","type":"markdown","isSummary":true,"choiceOf":"fixed","index":97},"fixedOid":{"short":"Value must be exactly this","type":"oid","isSummary":true,"choiceOf":"fixed","index":98},"fixedPositiveInt":{"short":"Value must be exactly this","type":"positiveInt","isSummary":true,"choiceOf":"fixed","index":99},"fixedString":{"short":"Value must be exactly this","type":"string","isSummary":true,"choiceOf":"fixed","index":100},"fixedTime":{"short":"Value must be exactly this","type":"time","isSummary":true,"choiceOf":"fixed","index":101},"fixedUnsignedInt":{"short":"Value must be exactly this","type":"unsignedInt","isSummary":true,"choiceOf":"fixed","index":102},"fixedUri":{"short":"Value must be exactly this","type":"uri","isSummary":true,"choiceOf":"fixed","index":103},"fixedUrl":{"short":"Value must be exactly this","type":"url","isSummary":true,"choiceOf":"fixed","index":104},"fixedUuid":{"short":"Value must be exactly this","type":"uuid","isSummary":true,"choiceOf":"fixed","index":105},"fixedAddress":{"short":"Value must be exactly this","type":"Address","isSummary":true,"choiceOf":"fixed","index":106},"fixedAge":{"short":"Value must be exactly this","type":"Age","isSummary":true,"choiceOf":"fixed","index":107},"fixedAnnotation":{"short":"Value must be exactly this","type":"Annotation","isSummary":true,"choiceOf":"fixed","index":108},"fixedAttachment":{"short":"Value must be exactly this","type":"Attachment","isSummary":true,"choiceOf":"fixed","index":109},"fixedCodeableConcept":{"short":"Value must be exactly this","type":"CodeableConcept","isSummary":true,"choiceOf":"fixed","index":110},"fixedCoding":{"short":"Value must be exactly this","type":"Coding","isSummary":true,"choiceOf":"fixed","index":111},"fixedContactPoint":{"short":"Value must be exactly this","type":"ContactPoint","isSummary":true,"choiceOf":"fixed","index":112},"fixedCount":{"short":"Value must be exactly this","type":"Count","isSummary":true,"choiceOf":"fixed","index":113},"fixedDistance":{"short":"Value must be exactly this","type":"Distance","isSummary":true,"choiceOf":"fixed","index":114},"fixedDuration":{"short":"Value must be exactly this","type":"Duration","isSummary":true,"choiceOf":"fixed","index":115},"fixedHumanName":{"short":"Value must be exactly this","type":"HumanName","isSummary":true,"choiceOf":"fixed","index":116},"fixedIdentifier":{"short":"Value must be exactly this","type":"Identifier","isSummary":true,"choiceOf":"fixed","index":117},"fixedMoney":{"short":"Value must be exactly this","type":"Money","isSummary":true,"choiceOf":"fixed","index":118},"fixedPeriod":{"short":"Value must be exactly this","type":"Period","isSummary":true,"choiceOf":"fixed","index":119},"fixedQuantity":{"short":"Value must be exactly this","type":"Quantity","isSummary":true,"choiceOf":"fixed","index":120},"fixedRange":{"short":"Value must be exactly this","type":"Range","isSummary":true,"choiceOf":"fixed","index":121},"fixedRatio":{"short":"Value must be exactly this","type":"Ratio","isSummary":true,"choiceOf":"fixed","index":122},"fixedReference":{"short":"Value must be exactly this","type":"Reference","isSummary":true,"choiceOf":"fixed","index":123},"fixedSampledData":{"short":"Value must be exactly this","type":"SampledData","isSummary":true,"choiceOf":"fixed","index":124},"fixedSignature":{"short":"Value must be exactly this","type":"Signature","isSummary":true,"choiceOf":"fixed","index":125},"fixedTiming":{"short":"Value must be exactly this","type":"Timing","isSummary":true,"choiceOf":"fixed","index":126},"fixedContactDetail":{"short":"Value must be exactly this","type":"ContactDetail","isSummary":true,"choiceOf":"fixed","index":127},"fixedContributor":{"short":"Value must be exactly this","type":"Contributor","isSummary":true,"choiceOf":"fixed","index":128},"fixedDataRequirement":{"short":"Value must be exactly this","type":"DataRequirement","isSummary":true,"choiceOf":"fixed","index":129},"fixedExpression":{"short":"Value must be exactly this","type":"Expression","isSummary":true,"choiceOf":"fixed","index":130},"fixedParameterDefinition":{"short":"Value must be exactly this","type":"ParameterDefinition","isSummary":true,"choiceOf":"fixed","index":131},"fixedRelatedArtifact":{"short":"Value must be exactly this","type":"RelatedArtifact","isSummary":true,"choiceOf":"fixed","index":132},"fixedTriggerDefinition":{"short":"Value must be exactly this","type":"TriggerDefinition","isSummary":true,"choiceOf":"fixed","index":133},"fixedUsageContext":{"short":"Value must be exactly this","type":"UsageContext","isSummary":true,"choiceOf":"fixed","index":134},"fixedDosage":{"short":"Value must be exactly this","type":"Dosage","isSummary":true,"choiceOf":"fixed","index":135},"fixedMeta":{"short":"Value must be exactly this","type":"Meta","isSummary":true,"choiceOf":"fixed","index":136},"pattern":{"short":"Value must have at least these property values","isSummary":true,"choices":["patternBase64Binary","patternBoolean","patternCanonical","patternCode","patternDate","patternDateTime","patternDecimal","patternId","patternInstant","patternInteger","patternMarkdown","patternOid","patternPositiveInt","patternString","patternTime","patternUnsignedInt","patternUri","patternUrl","patternUuid","patternAddress","patternAge","patternAnnotation","patternAttachment","patternCodeableConcept","patternCoding","patternContactPoint","patternCount","patternDistance","patternDuration","patternHumanName","patternIdentifier","patternMoney","patternPeriod","patternQuantity","patternRange","patternRatio","patternReference","patternSampledData","patternSignature","patternTiming","patternContactDetail","patternContributor","patternDataRequirement","patternExpression","patternParameterDefinition","patternRelatedArtifact","patternTriggerDefinition","patternUsageContext","patternDosage","patternMeta"],"index":138},"patternBase64Binary":{"short":"Value must have at least these property values","type":"base64Binary","isSummary":true,"choiceOf":"pattern","index":139},"patternBoolean":{"short":"Value must have at least these property values","type":"boolean","isSummary":true,"choiceOf":"pattern","index":140},"patternCanonical":{"short":"Value must have at least these property values","type":"canonical","isSummary":true,"choiceOf":"pattern","index":141},"patternCode":{"short":"Value must have at least these property values","type":"code","isSummary":true,"choiceOf":"pattern","index":142},"patternDate":{"short":"Value must have at least these property values","type":"date","isSummary":true,"choiceOf":"pattern","index":143},"patternDateTime":{"short":"Value must have at least these property values","type":"dateTime","isSummary":true,"choiceOf":"pattern","index":144},"patternDecimal":{"short":"Value must have at least these property values","type":"decimal","isSummary":true,"choiceOf":"pattern","index":145},"patternId":{"short":"Value must have at least these property values","type":"id","isSummary":true,"choiceOf":"pattern","index":146},"patternInstant":{"short":"Value must have at least these property values","type":"instant","isSummary":true,"choiceOf":"pattern","index":147},"patternInteger":{"short":"Value must have at least these property values","type":"integer","isSummary":true,"choiceOf":"pattern","index":148},"patternMarkdown":{"short":"Value must have at least these property values","type":"markdown","isSummary":true,"choiceOf":"pattern","index":149},"patternOid":{"short":"Value must have at least these property values","type":"oid","isSummary":true,"choiceOf":"pattern","index":150},"patternPositiveInt":{"short":"Value must have at least these property values","type":"positiveInt","isSummary":true,"choiceOf":"pattern","index":151},"patternString":{"short":"Value must have at least these property values","type":"string","isSummary":true,"choiceOf":"pattern","index":152},"patternTime":{"short":"Value must have at least these property values","type":"time","isSummary":true,"choiceOf":"pattern","index":153},"patternUnsignedInt":{"short":"Value must have at least these property values","type":"unsignedInt","isSummary":true,"choiceOf":"pattern","index":154},"patternUri":{"short":"Value must have at least these property values","type":"uri","isSummary":true,"choiceOf":"pattern","index":155},"patternUrl":{"short":"Value must have at least these property values","type":"url","isSummary":true,"choiceOf":"pattern","index":156},"patternUuid":{"short":"Value must have at least these property values","type":"uuid","isSummary":true,"choiceOf":"pattern","index":157},"patternAddress":{"short":"Value must have at least these property values","type":"Address","isSummary":true,"choiceOf":"pattern","index":158},"patternAge":{"short":"Value must have at least these property values","type":"Age","isSummary":true,"choiceOf":"pattern","index":159},"patternAnnotation":{"short":"Value must have at least these property values","type":"Annotation","isSummary":true,"choiceOf":"pattern","index":160},"patternAttachment":{"short":"Value must have at least these property values","type":"Attachment","isSummary":true,"choiceOf":"pattern","index":161},"patternCodeableConcept":{"short":"Value must have at least these property values","type":"CodeableConcept","isSummary":true,"choiceOf":"pattern","index":162},"patternCoding":{"short":"Value must have at least these property values","type":"Coding","isSummary":true,"choiceOf":"pattern","index":163},"patternContactPoint":{"short":"Value must have at least these property values","type":"ContactPoint","isSummary":true,"choiceOf":"pattern","index":164},"patternCount":{"short":"Value must have at least these property values","type":"Count","isSummary":true,"choiceOf":"pattern","index":165},"patternDistance":{"short":"Value must have at least these property values","type":"Distance","isSummary":true,"choiceOf":"pattern","index":166},"patternDuration":{"short":"Value must have at least these property values","type":"Duration","isSummary":true,"choiceOf":"pattern","index":167},"patternHumanName":{"short":"Value must have at least these property values","type":"HumanName","isSummary":true,"choiceOf":"pattern","index":168},"patternIdentifier":{"short":"Value must have at least these property values","type":"Identifier","isSummary":true,"choiceOf":"pattern","index":169},"patternMoney":{"short":"Value must have at least these property values","type":"Money","isSummary":true,"choiceOf":"pattern","index":170},"patternPeriod":{"short":"Value must have at least these property values","type":"Period","isSummary":true,"choiceOf":"pattern","index":171},"patternQuantity":{"short":"Value must have at least these property values","type":"Quantity","isSummary":true,"choiceOf":"pattern","index":172},"patternRange":{"short":"Value must have at least these property values","type":"Range","isSummary":true,"choiceOf":"pattern","index":173},"patternRatio":{"short":"Value must have at least these property values","type":"Ratio","isSummary":true,"choiceOf":"pattern","index":174},"patternReference":{"short":"Value must have at least these property values","type":"Reference","isSummary":true,"choiceOf":"pattern","index":175},"patternSampledData":{"short":"Value must have at least these property values","type":"SampledData","isSummary":true,"choiceOf":"pattern","index":176},"patternSignature":{"short":"Value must have at least these property values","type":"Signature","isSummary":true,"choiceOf":"pattern","index":177},"patternTiming":{"short":"Value must have at least these property values","type":"Timing","isSummary":true,"choiceOf":"pattern","index":178},"patternContactDetail":{"short":"Value must have at least these property values","type":"ContactDetail","isSummary":true,"choiceOf":"pattern","index":179},"patternContributor":{"short":"Value must have at least these property values","type":"Contributor","isSummary":true,"choiceOf":"pattern","index":180},"patternDataRequirement":{"short":"Value must have at least these property values","type":"DataRequirement","isSummary":true,"choiceOf":"pattern","index":181},"patternExpression":{"short":"Value must have at least these property values","type":"Expression","isSummary":true,"choiceOf":"pattern","index":182},"patternParameterDefinition":{"short":"Value must have at least these property values","type":"ParameterDefinition","isSummary":true,"choiceOf":"pattern","index":183},"patternRelatedArtifact":{"short":"Value must have at least these property values","type":"RelatedArtifact","isSummary":true,"choiceOf":"pattern","index":184},"patternTriggerDefinition":{"short":"Value must have at least these property values","type":"TriggerDefinition","isSummary":true,"choiceOf":"pattern","index":185},"patternUsageContext":{"short":"Value must have at least these property values","type":"UsageContext","isSummary":true,"choiceOf":"pattern","index":186},"patternDosage":{"short":"Value must have at least these property values","type":"Dosage","isSummary":true,"choiceOf":"pattern","index":187},"patternMeta":{"short":"Value must have at least these property values","type":"Meta","isSummary":true,"choiceOf":"pattern","index":188},"example":{"short":"Example value (as defined for type)","type":"Element","isSummary":true,"array":true,"index":189,"elements":{"label":{"short":"Describes the purpose of this example","type":"string","isSummary":true,"index":190},"value":{"short":"Value of Example (one of allowed types)","isSummary":true,"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","valueMeta"],"index":192},"valueBase64Binary":{"short":"Value of Example (one of allowed types)","type":"base64Binary","isSummary":true,"choiceOf":"value","index":193},"valueBoolean":{"short":"Value of Example (one of allowed types)","type":"boolean","isSummary":true,"choiceOf":"value","index":194},"valueCanonical":{"short":"Value of Example (one of allowed types)","type":"canonical","isSummary":true,"choiceOf":"value","index":195},"valueCode":{"short":"Value of Example (one of allowed types)","type":"code","isSummary":true,"choiceOf":"value","index":196},"valueDate":{"short":"Value of Example (one of allowed types)","type":"date","isSummary":true,"choiceOf":"value","index":197},"valueDateTime":{"short":"Value of Example (one of allowed types)","type":"dateTime","isSummary":true,"choiceOf":"value","index":198},"valueDecimal":{"short":"Value of Example (one of allowed types)","type":"decimal","isSummary":true,"choiceOf":"value","index":199},"valueId":{"short":"Value of Example (one of allowed types)","type":"id","isSummary":true,"choiceOf":"value","index":200},"valueInstant":{"short":"Value of Example (one of allowed types)","type":"instant","isSummary":true,"choiceOf":"value","index":201},"valueInteger":{"short":"Value of Example (one of allowed types)","type":"integer","isSummary":true,"choiceOf":"value","index":202},"valueMarkdown":{"short":"Value of Example (one of allowed types)","type":"markdown","isSummary":true,"choiceOf":"value","index":203},"valueOid":{"short":"Value of Example (one of allowed types)","type":"oid","isSummary":true,"choiceOf":"value","index":204},"valuePositiveInt":{"short":"Value of Example (one of allowed types)","type":"positiveInt","isSummary":true,"choiceOf":"value","index":205},"valueString":{"short":"Value of Example (one of allowed types)","type":"string","isSummary":true,"choiceOf":"value","index":206},"valueTime":{"short":"Value of Example (one of allowed types)","type":"time","isSummary":true,"choiceOf":"value","index":207},"valueUnsignedInt":{"short":"Value of Example (one of allowed types)","type":"unsignedInt","isSummary":true,"choiceOf":"value","index":208},"valueUri":{"short":"Value of Example (one of allowed types)","type":"uri","isSummary":true,"choiceOf":"value","index":209},"valueUrl":{"short":"Value of Example (one of allowed types)","type":"url","isSummary":true,"choiceOf":"value","index":210},"valueUuid":{"short":"Value of Example (one of allowed types)","type":"uuid","isSummary":true,"choiceOf":"value","index":211},"valueAddress":{"short":"Value of Example (one of allowed types)","type":"Address","isSummary":true,"choiceOf":"value","index":212},"valueAge":{"short":"Value of Example (one of allowed types)","type":"Age","isSummary":true,"choiceOf":"value","index":213},"valueAnnotation":{"short":"Value of Example (one of allowed types)","type":"Annotation","isSummary":true,"choiceOf":"value","index":214},"valueAttachment":{"short":"Value of Example (one of allowed types)","type":"Attachment","isSummary":true,"choiceOf":"value","index":215},"valueCodeableConcept":{"short":"Value of Example (one of allowed types)","type":"CodeableConcept","isSummary":true,"choiceOf":"value","index":216},"valueCoding":{"short":"Value of Example (one of allowed types)","type":"Coding","isSummary":true,"choiceOf":"value","index":217},"valueContactPoint":{"short":"Value of Example (one of allowed types)","type":"ContactPoint","isSummary":true,"choiceOf":"value","index":218},"valueCount":{"short":"Value of Example (one of allowed types)","type":"Count","isSummary":true,"choiceOf":"value","index":219},"valueDistance":{"short":"Value of Example (one of allowed types)","type":"Distance","isSummary":true,"choiceOf":"value","index":220},"valueDuration":{"short":"Value of Example (one of allowed types)","type":"Duration","isSummary":true,"choiceOf":"value","index":221},"valueHumanName":{"short":"Value of Example (one of allowed types)","type":"HumanName","isSummary":true,"choiceOf":"value","index":222},"valueIdentifier":{"short":"Value of Example (one of allowed types)","type":"Identifier","isSummary":true,"choiceOf":"value","index":223},"valueMoney":{"short":"Value of Example (one of allowed types)","type":"Money","isSummary":true,"choiceOf":"value","index":224},"valuePeriod":{"short":"Value of Example (one of allowed types)","type":"Period","isSummary":true,"choiceOf":"value","index":225},"valueQuantity":{"short":"Value of Example (one of allowed types)","type":"Quantity","isSummary":true,"choiceOf":"value","index":226},"valueRange":{"short":"Value of Example (one of allowed types)","type":"Range","isSummary":true,"choiceOf":"value","index":227},"valueRatio":{"short":"Value of Example (one of allowed types)","type":"Ratio","isSummary":true,"choiceOf":"value","index":228},"valueReference":{"short":"Value of Example (one of allowed types)","type":"Reference","isSummary":true,"choiceOf":"value","index":229},"valueSampledData":{"short":"Value of Example (one of allowed types)","type":"SampledData","isSummary":true,"choiceOf":"value","index":230},"valueSignature":{"short":"Value of Example (one of allowed types)","type":"Signature","isSummary":true,"choiceOf":"value","index":231},"valueTiming":{"short":"Value of Example (one of allowed types)","type":"Timing","isSummary":true,"choiceOf":"value","index":232},"valueContactDetail":{"short":"Value of Example (one of allowed types)","type":"ContactDetail","isSummary":true,"choiceOf":"value","index":233},"valueContributor":{"short":"Value of Example (one of allowed types)","type":"Contributor","isSummary":true,"choiceOf":"value","index":234},"valueDataRequirement":{"short":"Value of Example (one of allowed types)","type":"DataRequirement","isSummary":true,"choiceOf":"value","index":235},"valueExpression":{"short":"Value of Example (one of allowed types)","type":"Expression","isSummary":true,"choiceOf":"value","index":236},"valueParameterDefinition":{"short":"Value of Example (one of allowed types)","type":"ParameterDefinition","isSummary":true,"choiceOf":"value","index":237},"valueRelatedArtifact":{"short":"Value of Example (one of allowed types)","type":"RelatedArtifact","isSummary":true,"choiceOf":"value","index":238},"valueTriggerDefinition":{"short":"Value of Example (one of allowed types)","type":"TriggerDefinition","isSummary":true,"choiceOf":"value","index":239},"valueUsageContext":{"short":"Value of Example (one of allowed types)","type":"UsageContext","isSummary":true,"choiceOf":"value","index":240},"valueDosage":{"short":"Value of Example (one of allowed types)","type":"Dosage","isSummary":true,"choiceOf":"value","index":241},"valueMeta":{"short":"Value of Example (one of allowed types)","type":"Meta","isSummary":true,"choiceOf":"value","index":242}},"required":["label","value"]},"minValue":{"short":"Minimum Allowed Value (for some types)","isSummary":true,"choices":["minValueDate","minValueDateTime","minValueInstant","minValueTime","minValueDecimal","minValueInteger","minValuePositiveInt","minValueUnsignedInt","minValueQuantity"],"index":244},"minValueDate":{"short":"Minimum Allowed Value (for some types)","type":"date","isSummary":true,"choiceOf":"minValue","index":245},"minValueDateTime":{"short":"Minimum Allowed Value (for some types)","type":"dateTime","isSummary":true,"choiceOf":"minValue","index":246},"minValueInstant":{"short":"Minimum Allowed Value (for some types)","type":"instant","isSummary":true,"choiceOf":"minValue","index":247},"minValueTime":{"short":"Minimum Allowed Value (for some types)","type":"time","isSummary":true,"choiceOf":"minValue","index":248},"minValueDecimal":{"short":"Minimum Allowed Value (for some types)","type":"decimal","isSummary":true,"choiceOf":"minValue","index":249},"minValueInteger":{"short":"Minimum Allowed Value (for some types)","type":"integer","isSummary":true,"choiceOf":"minValue","index":250},"minValuePositiveInt":{"short":"Minimum Allowed Value (for some types)","type":"positiveInt","isSummary":true,"choiceOf":"minValue","index":251},"minValueUnsignedInt":{"short":"Minimum Allowed Value (for some types)","type":"unsignedInt","isSummary":true,"choiceOf":"minValue","index":252},"minValueQuantity":{"short":"Minimum Allowed Value (for some types)","type":"Quantity","isSummary":true,"choiceOf":"minValue","index":253},"maxValue":{"short":"Maximum Allowed Value (for some types)","isSummary":true,"choices":["maxValueDate","maxValueDateTime","maxValueInstant","maxValueTime","maxValueDecimal","maxValueInteger","maxValuePositiveInt","maxValueUnsignedInt","maxValueQuantity"],"index":255},"maxValueDate":{"short":"Maximum Allowed Value (for some types)","type":"date","isSummary":true,"choiceOf":"maxValue","index":256},"maxValueDateTime":{"short":"Maximum Allowed Value (for some types)","type":"dateTime","isSummary":true,"choiceOf":"maxValue","index":257},"maxValueInstant":{"short":"Maximum Allowed Value (for some types)","type":"instant","isSummary":true,"choiceOf":"maxValue","index":258},"maxValueTime":{"short":"Maximum Allowed Value (for some types)","type":"time","isSummary":true,"choiceOf":"maxValue","index":259},"maxValueDecimal":{"short":"Maximum Allowed Value (for some types)","type":"decimal","isSummary":true,"choiceOf":"maxValue","index":260},"maxValueInteger":{"short":"Maximum Allowed Value (for some types)","type":"integer","isSummary":true,"choiceOf":"maxValue","index":261},"maxValuePositiveInt":{"short":"Maximum Allowed Value (for some types)","type":"positiveInt","isSummary":true,"choiceOf":"maxValue","index":262},"maxValueUnsignedInt":{"short":"Maximum Allowed Value (for some types)","type":"unsignedInt","isSummary":true,"choiceOf":"maxValue","index":263},"maxValueQuantity":{"short":"Maximum Allowed Value (for some types)","type":"Quantity","isSummary":true,"choiceOf":"maxValue","index":264},"maxLength":{"short":"Max length for strings","type":"integer","isSummary":true,"index":265},"condition":{"short":"Reference to invariant about presence","type":"id","isSummary":true,"array":true,"index":266},"constraint":{"short":"Condition that must evaluate to true","type":"Element","constraint":{"eld-21":{"expression":"expression.exists()","human":"Constraints should have an expression or else validators will not be able to enforce them","severity":"warning"}},"isSummary":true,"array":true,"index":267,"elements":{"key":{"short":"Target of 'condition' reference above","type":"id","isSummary":true,"index":268},"requirements":{"short":"Why this constraint is necessary or appropriate","type":"string","isSummary":true,"index":269},"severity":{"short":"error | warning","type":"code","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/constraint-severity|4.0.1","bindingName":"ConstraintSeverity"},"index":270},"human":{"short":"Human description of constraint","type":"string","isSummary":true,"index":271},"expression":{"short":"FHIRPath expression of constraint","type":"string","isSummary":true,"index":272},"xpath":{"short":"XPath expression of constraint","type":"string","isSummary":true,"index":273},"source":{"short":"Reference to original source of constraint","type":"canonical","isSummary":true,"index":274}},"required":["human","key","severity"]},"mustSupport":{"short":"If the element must be supported","type":"boolean","meaningWhenMissing":"In a base type, where the element is being defined for the first time, the element is assumed to be mustSupport = false. In a profile (a constraint on an existing type), if mustSupport is not specific in either the differentil or the snapshot, the mustSupport value is not changed fro the base definition. Not, though, that the snapshot SHOULD always populate the mustSuppot value","isSummary":true,"index":275},"isModifier":{"short":"If this modifies the meaning of other elements","type":"boolean","meaningWhenMissing":"An element is not a modifier element unless it is explicitly specified to be one","isSummary":true,"index":276},"isModifierReason":{"short":"Reason that this element is marked as a modifier","type":"string","isSummary":true,"index":277},"isSummary":{"short":"Include when _summary = true?","type":"boolean","meaningWhenMissing":"An element is not included in the summary unless it is explicitly specified to be so","isSummary":true,"index":278},"binding":{"short":"ValueSet details if this is coded","type":"Element","constraint":{"eld-12":{"expression":"valueSet.exists() implies (valueSet.startsWith('http:') or valueSet.startsWith('https') or valueSet.startsWith('urn:'))","human":"ValueSet SHALL start with http:// or https:// or urn:","severity":"error"}},"isSummary":true,"index":279,"elements":{"strength":{"short":"required | extensible | preferred | example","type":"code","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/binding-strength|4.0.1","bindingName":"BindingStrength"},"index":280},"description":{"short":"Human explanation of the value set","type":"string","isSummary":true,"index":281},"valueSet":{"short":"Source of value set","type":"canonical","isSummary":true,"index":282}},"required":["strength"]},"mapping":{"short":"Map element to another set of definitions","type":"Element","isSummary":true,"array":true,"index":283,"elements":{"identity":{"short":"Reference to mapping declaration","type":"id","isSummary":true,"index":284},"language":{"short":"Computable language of mapping","type":"code","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/mimetypes|4.0.1","bindingName":"MimeType"},"index":285},"map":{"short":"Details of the mapping","type":"string","isSummary":true,"index":286},"comment":{"short":"Comments about the mapping or its use","type":"string","isSummary":true,"index":287}},"required":["identity","map"]}},"required":["path"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"associatedEncounter","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/encounter-associatedEncounter","version":"4.0.1","description":"This encounter occurs within the scope of the referenced encounter.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/encounter-associatedEncounter"},"type":"uri","index":1},"value":{"choices":["valueReference"],"index":3},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/Encounter"],"index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"modeOfArrival","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival","version":"4.0.1","description":"Identifies whether a patient arrives at the reporting facility via ambulance and the type of ambulance that was used.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival"},"type":"uri","index":1},"value":{"choices":["valueCoding"],"index":3},"valueCoding":{"type":"Coding","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"reasonCancelled","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/encounter-reasonCancelled","version":"4.0.1","description":"If the encountered was cancelled after it was planned, why? Applies only if the status is cancelled.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/encounter-reasonCancelled"},"type":"uri","index":1},"value":{"choices":["valueCodeableConcept"],"index":3},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"associatedEncounter","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/encounter-associatedEncounter","version":"4.0.1","description":"This encounter occurs within the scope of the referenced encounter.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/encounter-associatedEncounter"},"index":1},"value":{"choices":["valueReference"],"index":3},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/Encounter"],"index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"modeOfArrival","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival","version":"4.0.1","description":"Identifies whether a patient arrives at the reporting facility via ambulance and the type of ambulance that was used.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/encounter-modeOfArrival"},"index":1},"value":{"choices":["valueCoding"],"index":3},"valueCoding":{"type":"Coding","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"reasonCancelled","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/encounter-reasonCancelled","version":"4.0.1","description":"If the encountered was cancelled after it was planned, why? Applies only if the status is cancelled.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/encounter-reasonCancelled"},"index":1},"value":{"choices":["valueCodeableConcept"],"index":3},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"Encounter","type":"Encounter","kind":"resource","class":"resource","url":"http://hl7.org/fhir/StructureDefinition/Encounter","version":"4.0.1","description":"An interaction between a patient and healthcare provider(s) for the purpose of providing healthcare service(s) or assessing the health status of a patient.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/DomainResource","elements":{"identifier":{"short":"Identifier(s) by which this encounter is known","type":"Identifier","isSummary":true,"array":true,"index":0},"status":{"short":"planned | arrived | triaged | in-progress | onleave | finished | cancelled +","type":"code","isModifier":true,"isModifierReason":"This element is labeled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/encounter-status|4.0.1","bindingName":"EncounterStatus"},"index":1},"statusHistory":{"short":"List of past encounter statuses","type":"BackboneElement","array":true,"index":2,"elements":{"status":{"short":"planned | arrived | triaged | in-progress | onleave | finished | cancelled +","type":"code","binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/encounter-status|4.0.1","bindingName":"EncounterStatus"},"index":3},"period":{"short":"The time that the episode was in the specified status","type":"Period","index":4}},"required":["period","status"]},"class":{"short":"Classification of patient encounter","type":"Coding","isSummary":true,"binding":{"strength":"extensible","valueSet":"http://terminology.hl7.org/ValueSet/v3-ActEncounterCode","bindingName":"EncounterClass"},"index":5},"classHistory":{"short":"List of past encounter classes","type":"BackboneElement","array":true,"index":6,"elements":{"class":{"short":"inpatient | outpatient | ambulatory | emergency +","type":"Coding","binding":{"strength":"extensible","valueSet":"http://terminology.hl7.org/ValueSet/v3-ActEncounterCode","bindingName":"EncounterClass"},"index":7},"period":{"short":"The time that the episode was in the specified class","type":"Period","index":8}},"required":["class","period"]},"type":{"short":"Specific type of encounter","type":"CodeableConcept","isSummary":true,"binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/encounter-type","bindingName":"EncounterType"},"array":true,"index":9},"serviceType":{"short":"Specific type of service","type":"CodeableConcept","isSummary":true,"binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/service-type","bindingName":"EncounterServiceType"},"index":10},"priority":{"short":"Indicates the urgency of the encounter","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://terminology.hl7.org/ValueSet/v3-ActPriority","bindingName":"Priority"},"index":11},"subject":{"short":"The patient or group present at the encounter","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Group","http://hl7.org/fhir/StructureDefinition/Patient"],"index":12},"episodeOfCare":{"short":"Episode(s) of care that this encounter should be recorded against","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/EpisodeOfCare"],"array":true,"index":13},"basedOn":{"short":"The ServiceRequest that initiated this encounter","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/ServiceRequest"],"array":true,"index":14},"participant":{"short":"List of participants involved in the encounter","type":"BackboneElement","isSummary":true,"array":true,"index":15,"elements":{"type":{"short":"Role of participant in encounter","type":"CodeableConcept","isSummary":true,"binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/ValueSet/encounter-participant-type","bindingName":"ParticipantType"},"array":true,"index":16},"period":{"short":"Period of time during the encounter that the participant participated","type":"Period","index":17},"individual":{"short":"Persons involved in the encounter other than the patient","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole","http://hl7.org/fhir/StructureDefinition/RelatedPerson"],"index":18}}},"appointment":{"short":"The appointment that scheduled this encounter","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Appointment"],"array":true,"index":19},"period":{"short":"The start and end time of the encounter","type":"Period","index":20},"length":{"short":"Quantity of time the encounter lasted (less time absent)","type":"Duration","index":21},"reasonCode":{"short":"Coded reason the encounter takes place","type":"CodeableConcept","isSummary":true,"binding":{"strength":"preferred","valueSet":"http://hl7.org/fhir/ValueSet/encounter-reason","bindingName":"EncounterReason"},"array":true,"index":22},"reasonReference":{"short":"Reason the encounter takes place (reference)","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Condition","http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation","http://hl7.org/fhir/StructureDefinition/Observation","http://hl7.org/fhir/StructureDefinition/Procedure"],"array":true,"index":23},"diagnosis":{"short":"The list of diagnosis relevant to this encounter","type":"BackboneElement","isSummary":true,"array":true,"index":24,"elements":{"condition":{"short":"The diagnosis or procedure relevant to the encounter","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Condition","http://hl7.org/fhir/StructureDefinition/Procedure"],"index":25},"use":{"short":"Role that this diagnosis has within the encounter (e.g. admission, billing, discharge …)","type":"CodeableConcept","binding":{"strength":"preferred","valueSet":"http://hl7.org/fhir/ValueSet/diagnosis-role","bindingName":"DiagnosisRole"},"index":26},"rank":{"short":"Ranking of the diagnosis (for each role type)","type":"positiveInt","index":27}},"required":["condition"]},"account":{"short":"The set of accounts that may be used for billing for this Encounter","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Account"],"array":true,"index":28},"hospitalization":{"short":"Details about the admission to a healthcare service","type":"BackboneElement","index":29,"elements":{"preAdmissionIdentifier":{"short":"Pre-admission identifier","type":"Identifier","index":30},"origin":{"short":"The location/organization from which the patient came before admission","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Location","http://hl7.org/fhir/StructureDefinition/Organization"],"index":31},"admitSource":{"short":"From where patient was admitted (physician referral, transfer)","type":"CodeableConcept","binding":{"strength":"preferred","valueSet":"http://hl7.org/fhir/ValueSet/encounter-admit-source","bindingName":"AdmitSource"},"index":32},"reAdmission":{"short":"The type of hospital re-admission that has occurred (if any). If the value is absent, then this is not identified as a readmission","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://terminology.hl7.org/ValueSet/v2-0092","bindingName":"ReAdmissionType"},"index":33},"dietPreference":{"short":"Diet preferences reported by the patient","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/encounter-diet","bindingName":"PatientDiet"},"array":true,"index":34},"specialCourtesy":{"short":"Special courtesies (VIP, board member)","type":"CodeableConcept","binding":{"strength":"preferred","valueSet":"http://hl7.org/fhir/ValueSet/encounter-special-courtesy","bindingName":"Courtesies"},"array":true,"index":35},"specialArrangement":{"short":"Wheelchair, translator, stretcher, etc.","type":"CodeableConcept","binding":{"strength":"preferred","valueSet":"http://hl7.org/fhir/ValueSet/encounter-special-arrangements","bindingName":"Arrangements"},"array":true,"index":36},"destination":{"short":"Location/organization to which the patient is discharged","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Location","http://hl7.org/fhir/StructureDefinition/Organization"],"index":37},"dischargeDisposition":{"short":"Category or kind of location after discharge","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/encounter-discharge-disposition","bindingName":"DischargeDisp"},"index":38}}},"location":{"short":"List of locations where the patient has been","type":"BackboneElement","array":true,"index":39,"elements":{"location":{"short":"Location the encounter takes place","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Location"],"index":40},"status":{"short":"planned | active | reserved | completed","type":"code","binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/encounter-location-status|4.0.1","bindingName":"EncounterLocationStatus"},"index":41},"physicalType":{"short":"The physical type of the location (usually the level in the location hierachy - bed room ward etc.)","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/location-physical-type","bindingName":"PhysicalType"},"index":42},"period":{"short":"Time period during which the patient was present at the location","type":"Period","index":43}},"required":["location"]},"serviceProvider":{"short":"The organization (facility) responsible for this encounter","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Organization"],"index":44},"partOf":{"short":"Another Encounter this encounter is part of","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Encounter"],"index":45}},"required":["class","status"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"Endpoint","type":"Endpoint","kind":"resource","class":"resource","url":"http://hl7.org/fhir/StructureDefinition/Endpoint","version":"4.0.1","description":"The technical details of an endpoint that can be used for electronic services, such as for web services providing XDS.b or a REST endpoint for another FHIR server. This may include any security context information.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/DomainResource","elements":{"identifier":{"short":"Identifies this endpoint across multiple systems","type":"Identifier","isSummary":true,"array":true,"index":0},"status":{"short":"active | suspended | error | off | entered-in-error | test","type":"code","isModifier":true,"isModifierReason":"This element is labelled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/endpoint-status|4.0.1","bindingName":"EndpointStatus"},"index":1},"connectionType":{"short":"Protocol/Profile/Standard to be used with this endpoint connection","type":"Coding","isSummary":true,"binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/ValueSet/endpoint-connection-type","bindingName":"endpoint-contype"},"index":2},"name":{"short":"A name that this endpoint can be identified by","type":"string","isSummary":true,"index":3},"managingOrganization":{"short":"Organization that manages this endpoint (might not be the organization that exposes the endpoint)","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Organization"],"index":4},"contact":{"short":"Contact details for source (e.g. troubleshooting)","type":"ContactPoint","array":true,"index":5},"period":{"short":"Interval the endpoint is expected to be operational","type":"Period","isSummary":true,"index":6},"payloadType":{"short":"The type of content that may be used at this endpoint (e.g. XDS Discharge summaries)","type":"CodeableConcept","isSummary":true,"binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/endpoint-payload-type","bindingName":"PayloadType"},"array":true,"min":1,"index":7},"payloadMimeType":{"short":"Mimetype to send. If not specified, the content could be anything (including no payload, if the connectionType defined this)","type":"code","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/mimetypes|4.0.1","bindingName":"MimeType"},"array":true,"index":8},"address":{"short":"The technical base address for connecting to this endpoint","type":"url","isSummary":true,"index":9},"header":{"short":"Usage depends on the channel type","type":"string","isSummary":false,"array":true,"index":10}},"required":["address","connectionType","payloadType","status"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"EnrollmentRequest","type":"EnrollmentRequest","kind":"resource","class":"resource","url":"http://hl7.org/fhir/StructureDefinition/EnrollmentRequest","version":"4.0.1","description":"This resource provides the insurance enrollment details to the insurer regarding a specified coverage.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/DomainResource","elements":{"identifier":{"short":"Business Identifier","type":"Identifier","array":true,"index":0},"status":{"short":"active | cancelled | draft | entered-in-error","type":"code","isModifier":true,"isModifierReason":"This element is labelled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/fm-status|4.0.1","bindingName":"EnrollmentRequestStatus"},"index":1},"created":{"short":"Creation date","type":"dateTime","index":2},"insurer":{"short":"Target","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Organization"],"index":3},"provider":{"short":"Responsible practitioner","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Organization","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole"],"index":4},"candidate":{"short":"The subject to be enrolled","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Patient"],"index":5},"coverage":{"short":"Insurance information","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Coverage"],"index":6}},"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"EnrollmentResponse","type":"EnrollmentResponse","kind":"resource","class":"resource","url":"http://hl7.org/fhir/StructureDefinition/EnrollmentResponse","version":"4.0.1","description":"This resource provides enrollment and plan details from the processing of an EnrollmentRequest resource.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/DomainResource","elements":{"identifier":{"short":"Business Identifier","type":"Identifier","array":true,"index":0},"status":{"short":"active | cancelled | draft | entered-in-error","type":"code","isModifier":true,"isModifierReason":"This element is labelled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/fm-status|4.0.1","bindingName":"EnrollmentResponseStatus"},"index":1},"request":{"short":"Claim reference","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/EnrollmentRequest"],"index":2},"outcome":{"short":"queued | complete | error | partial","type":"code","binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/remittance-outcome|4.0.1","bindingName":"RemittanceOutcome"},"index":3},"disposition":{"short":"Disposition Message","type":"string","index":4},"created":{"short":"Creation date","type":"dateTime","index":5},"organization":{"short":"Insurer","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Organization"],"index":6},"requestProvider":{"short":"Responsible practitioner","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Organization","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole"],"index":7}},"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"entryFormat","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/entryFormat","version":"4.0.1","description":"Additional instructions for the user to guide their input (i.e. a human readable version of a regular expression like \\"nnn-nnn-nnn\\"). In most UIs this is the placeholder (or 'ghost') text placed directly inside the edit controls and that disappear when the control gets the focus.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/entryFormat"},"type":"uri","index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"entryFormat","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/entryFormat","version":"4.0.1","description":"Additional instructions for the user to guide their input (i.e. a human readable version of a regular expression like \\"nnn-nnn-nnn\\"). In most UIs this is the placeholder (or 'ghost') text placed directly inside the edit controls and that disappear when the control gets the focus.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/entryFormat"},"index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"EpisodeOfCare","type":"EpisodeOfCare","kind":"resource","class":"resource","url":"http://hl7.org/fhir/StructureDefinition/EpisodeOfCare","version":"4.0.1","description":"An association between a patient and an organization / healthcare provider(s) during which time encounters may occur. The managing organization assumes a level of responsibility for the patient during this time.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/DomainResource","elements":{"identifier":{"short":"Business Identifier(s) relevant for this EpisodeOfCare","type":"Identifier","array":true,"index":0},"status":{"short":"planned | waitlist | active | onhold | finished | cancelled | entered-in-error","type":"code","isModifier":true,"isModifierReason":"This element is labelled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/episode-of-care-status|4.0.1","bindingName":"EpisodeOfCareStatus"},"index":1},"statusHistory":{"short":"Past list of status codes (the current status may be included to cover the start date of the status)","type":"BackboneElement","array":true,"index":2,"elements":{"status":{"short":"planned | waitlist | active | onhold | finished | cancelled | entered-in-error","type":"code","binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/episode-of-care-status|4.0.1","bindingName":"EpisodeOfCareStatus"},"index":3},"period":{"short":"Duration the EpisodeOfCare was in the specified status","type":"Period","index":4}},"required":["period","status"]},"type":{"short":"Type/class - e.g. specialist referral, disease management","type":"CodeableConcept","isSummary":true,"binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/episodeofcare-type","bindingName":"EpisodeOfCareType"},"array":true,"index":5},"diagnosis":{"short":"The list of diagnosis relevant to this episode of care","type":"BackboneElement","isSummary":true,"array":true,"index":6,"elements":{"condition":{"short":"Conditions/problems/diagnoses this episode of care is for","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Condition"],"index":7},"role":{"short":"Role that this diagnosis has within the episode of care (e.g. admission, billing, discharge …)","type":"CodeableConcept","isSummary":true,"binding":{"strength":"preferred","valueSet":"http://hl7.org/fhir/ValueSet/diagnosis-role","bindingName":"DiagnosisRole"},"index":8},"rank":{"short":"Ranking of the diagnosis (for each role type)","type":"positiveInt","isSummary":true,"index":9}},"required":["condition"]},"patient":{"short":"The patient who is the focus of this episode of care","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Patient"],"index":10},"managingOrganization":{"short":"Organization that assumes care","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Organization"],"index":11},"period":{"short":"Interval during responsibility is assumed","type":"Period","isSummary":true,"index":12},"referralRequest":{"short":"Originating Referral Request(s)","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/ServiceRequest"],"array":true,"index":13},"careManager":{"short":"Care manager/care coordinator for the patient","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole"],"index":14},"team":{"short":"Other practitioners facilitating this episode of care","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/CareTeam"],"array":true,"index":15},"account":{"short":"The set of accounts that may be used for billing for this EpisodeOfCare","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Account"],"array":true,"index":16}},"required":["patient","status"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"basedOn","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/event-basedOn","version":"4.0.1","description":"A plan, proposal or order that is fulfilled in whole or in part by this event.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/event-basedOn"},"type":"uri","index":1},"value":{"choices":["valueReference"],"index":3},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/Resource"],"index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"eventHistory","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/event-eventHistory","version":"4.0.1","description":"Links to *Provenance* records for past versions of this resource that document key state transitions or updates that are deemed “relevant” or important to a user looking at the current version of the resource. E.g, when an observation was verified or corrected. This extension does not point to the Provenance associated with the current version of the resource - as it would be created after this version existed. The *Provenance* for the current version can be retrieved with a [\` _revinclude\`](search.html#revinclude).","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/event-eventHistory"},"type":"uri","index":1},"value":{"choices":["valueReference"],"index":3},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/Provenance"],"index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"location","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/event-location","version":"4.0.1","description":"The principal physical location where the {{title}} was performed.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/event-location"},"type":"uri","index":1},"value":{"choices":["valueReference"],"index":3},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/Location"],"index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"partOf","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/event-partOf","version":"4.0.1","description":"A larger event of which this particular event is a component or step.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/event-partOf"},"type":"uri","index":1},"value":{"choices":["valueReference"],"index":3},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/Resource"],"index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"performerFunction","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/event-performerFunction","version":"4.0.1","description":"Distinguishes the type of involvement of the performer in the event. For example, 'author', 'verifier' or 'responsible party'.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/event-performerFunction"},"type":"uri","index":1},"value":{"choices":["valueCodeableConcept"],"index":3},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"statusReason","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/event-statusReason","version":"4.0.1","description":"Captures the reason for the current state of the resource.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/event-statusReason"},"type":"uri","index":1},"value":{"choices":["valueCodeableConcept"],"index":3},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"basedOn","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/event-basedOn","version":"4.0.1","description":"A plan, proposal or order that is fulfilled in whole or in part by this event.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/event-basedOn"},"index":1},"value":{"choices":["valueReference"],"index":3},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/Resource"],"index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"eventHistory","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/event-eventHistory","version":"4.0.1","description":"Links to *Provenance* records for past versions of this resource that document key state transitions or updates that are deemed “relevant” or important to a user looking at the current version of the resource. E.g, when an observation was verified or corrected. This extension does not point to the Provenance associated with the current version of the resource - as it would be created after this version existed. The *Provenance* for the current version can be retrieved with a [\` _revinclude\`](search.html#revinclude).","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/event-eventHistory"},"index":1},"value":{"choices":["valueReference"],"index":3},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/Provenance"],"index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"location","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/event-location","version":"4.0.1","description":"The principal physical location where the {{title}} was performed.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/event-location"},"index":1},"value":{"choices":["valueReference"],"index":3},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/Location"],"index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"partOf","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/event-partOf","version":"4.0.1","description":"A larger event of which this particular event is a component or step.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/event-partOf"},"index":1},"value":{"choices":["valueReference"],"index":3},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/Resource"],"index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"performerFunction","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/event-performerFunction","version":"4.0.1","description":"Distinguishes the type of involvement of the performer in the event. For example, 'author', 'verifier' or 'responsible party'.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/event-performerFunction"},"index":1},"value":{"choices":["valueCodeableConcept"],"index":3},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"statusReason","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/event-statusReason","version":"4.0.1","description":"Captures the reason for the current state of the resource.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/event-statusReason"},"index":1},"value":{"choices":["valueCodeableConcept"],"index":3},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"Event","type":"Event","kind":"logical","class":"logical","url":"http://hl7.org/fhir/StructureDefinition/Event","version":"4.0.1","description":"Logical Model: A pattern to be followed by resources that represent the performance of some activity, possibly in accordance with a request or service definition.","package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"EventDefinition","type":"EventDefinition","kind":"resource","class":"resource","url":"http://hl7.org/fhir/StructureDefinition/EventDefinition","version":"4.0.1","description":"The EventDefinition resource provides a reusable description of when a particular event can occur.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/DomainResource","elements":{"url":{"short":"Canonical identifier for this event definition, represented as a URI (globally unique)","type":"uri","isSummary":true,"index":0},"identifier":{"short":"Additional identifier for the event definition","type":"Identifier","isSummary":true,"array":true,"index":1},"version":{"short":"Business version of the event definition","type":"string","isSummary":true,"index":2},"name":{"short":"Name for this event definition (computer friendly)","type":"string","isSummary":true,"index":3},"title":{"short":"Name for this event definition (human friendly)","type":"string","isSummary":true,"index":4},"subtitle":{"short":"Subordinate title of the event definition","type":"string","index":5},"status":{"short":"draft | active | retired | unknown","type":"code","isModifier":true,"isModifierReason":"This is labeled as \\"Is Modifier\\" because applications should not use a retired {{title}} without due consideration","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/publication-status|4.0.1","bindingName":"PublicationStatus"},"index":6},"experimental":{"short":"For testing purposes, not real usage","type":"boolean","isSummary":true,"index":7},"subject":{"short":"Type of individual the event definition is focused on","meaningWhenMissing":"Patient","choices":["subjectCodeableConcept","subjectReference"],"index":9},"subjectCodeableConcept":{"short":"Type of individual the event definition is focused on","type":"CodeableConcept","meaningWhenMissing":"Patient","choiceOf":"subject","index":10},"subjectReference":{"short":"Type of individual the event definition is focused on","type":"Reference","meaningWhenMissing":"Patient","choiceOf":"subject","refers":["http://hl7.org/fhir/StructureDefinition/Group"],"index":11},"date":{"short":"Date last changed","type":"dateTime","isSummary":true,"index":12},"publisher":{"short":"Name of the publisher (organization or individual)","type":"string","isSummary":true,"index":13},"contact":{"short":"Contact details for the publisher","type":"ContactDetail","isSummary":true,"array":true,"index":14},"description":{"short":"Natural language description of the event definition","type":"markdown","index":15},"useContext":{"short":"The context that the content is intended to support","type":"UsageContext","isSummary":true,"array":true,"index":16},"jurisdiction":{"short":"Intended jurisdiction for event definition (if applicable)","type":"CodeableConcept","isSummary":true,"binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/ValueSet/jurisdiction","bindingName":"Jurisdiction"},"array":true,"index":17},"purpose":{"short":"Why this event definition is defined","type":"markdown","index":18},"usage":{"short":"Describes the clinical usage of the event definition","type":"string","index":19},"copyright":{"short":"Use and/or publishing restrictions","type":"markdown","index":20},"approvalDate":{"short":"When the event definition was approved by publisher","type":"date","isSummary":true,"index":21},"lastReviewDate":{"short":"When the event definition was last reviewed","type":"date","isSummary":true,"index":22},"effectivePeriod":{"short":"When the event definition is expected to be used","type":"Period","isSummary":true,"index":23},"topic":{"short":"E.g. Education, Treatment, Assessment, etc.","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/definition-topic","bindingName":"DefinitionTopic"},"array":true,"index":24},"author":{"short":"Who authored the content","type":"ContactDetail","array":true,"index":25},"editor":{"short":"Who edited the content","type":"ContactDetail","array":true,"index":26},"reviewer":{"short":"Who reviewed the content","type":"ContactDetail","array":true,"index":27},"endorser":{"short":"Who endorsed the content","type":"ContactDetail","array":true,"index":28},"relatedArtifact":{"short":"Additional documentation, citations, etc.","type":"RelatedArtifact","array":true,"index":29},"trigger":{"short":"\\"when\\" the event occurs (multiple = 'or')","type":"TriggerDefinition","isSummary":true,"array":true,"min":1,"index":30}},"required":["status","trigger"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"Evidence","type":"Evidence","kind":"resource","class":"resource","url":"http://hl7.org/fhir/StructureDefinition/Evidence","version":"4.0.1","description":"The Evidence resource describes the conditional state (population and any exposures being compared within the population) and outcome (if specified) that the knowledge (evidence, assertion, recommendation) is about.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/DomainResource","elements":{"url":{"short":"Canonical identifier for this evidence, represented as a URI (globally unique)","type":"uri","isSummary":true,"index":0},"identifier":{"short":"Additional identifier for the evidence","type":"Identifier","isSummary":true,"array":true,"index":1},"version":{"short":"Business version of the evidence","type":"string","isSummary":true,"index":2},"name":{"short":"Name for this evidence (computer friendly)","type":"string","isSummary":true,"index":3},"title":{"short":"Name for this evidence (human friendly)","type":"string","isSummary":true,"index":4},"shortTitle":{"short":"Title for use in informal contexts","type":"string","index":5},"subtitle":{"short":"Subordinate title of the Evidence","type":"string","index":6},"status":{"short":"draft | active | retired | unknown","type":"code","isModifier":true,"isModifierReason":"This is labeled as \\"Is Modifier\\" because applications should not use a retired {{title}} without due consideration","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/publication-status|4.0.1","bindingName":"PublicationStatus"},"index":7},"date":{"short":"Date last changed","type":"dateTime","isSummary":true,"index":8},"publisher":{"short":"Name of the publisher (organization or individual)","type":"string","isSummary":true,"index":9},"contact":{"short":"Contact details for the publisher","type":"ContactDetail","isSummary":true,"array":true,"index":10},"description":{"short":"Natural language description of the evidence","type":"markdown","isSummary":true,"index":11},"note":{"short":"Used for footnotes or explanatory notes","type":"Annotation","array":true,"index":12},"useContext":{"short":"The context that the content is intended to support","type":"UsageContext","isSummary":true,"array":true,"index":13},"jurisdiction":{"short":"Intended jurisdiction for evidence (if applicable)","type":"CodeableConcept","isSummary":true,"binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/ValueSet/jurisdiction","bindingName":"Jurisdiction"},"array":true,"index":14},"copyright":{"short":"Use and/or publishing restrictions","type":"markdown","index":15},"approvalDate":{"short":"When the evidence was approved by publisher","type":"date","index":16},"lastReviewDate":{"short":"When the evidence was last reviewed","type":"date","index":17},"effectivePeriod":{"short":"When the evidence is expected to be used","type":"Period","isSummary":true,"index":18},"topic":{"short":"The category of the Evidence, such as Education, Treatment, Assessment, etc.","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/definition-topic","bindingName":"DefinitionTopic"},"array":true,"index":19},"author":{"short":"Who authored the content","type":"ContactDetail","array":true,"index":20},"editor":{"short":"Who edited the content","type":"ContactDetail","array":true,"index":21},"reviewer":{"short":"Who reviewed the content","type":"ContactDetail","array":true,"index":22},"endorser":{"short":"Who endorsed the content","type":"ContactDetail","array":true,"index":23},"relatedArtifact":{"short":"Additional documentation, citations, etc.","type":"RelatedArtifact","array":true,"index":24},"exposureBackground":{"short":"What population?","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/EvidenceVariable"],"index":25},"exposureVariant":{"short":"What exposure?","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/EvidenceVariable"],"array":true,"index":26},"outcome":{"short":"What outcome?","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/EvidenceVariable"],"array":true,"index":27}},"required":["exposureBackground","status"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"EvidenceVariable","type":"EvidenceVariable","kind":"resource","class":"resource","url":"http://hl7.org/fhir/StructureDefinition/EvidenceVariable","version":"4.0.1","description":"The EvidenceVariable resource describes a \\"PICO\\" element that knowledge (evidence, assertion, recommendation) is about.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/DomainResource","elements":{"url":{"short":"Canonical identifier for this evidence variable, represented as a URI (globally unique)","type":"uri","isSummary":true,"index":0},"identifier":{"short":"Additional identifier for the evidence variable","type":"Identifier","isSummary":true,"array":true,"index":1},"version":{"short":"Business version of the evidence variable","type":"string","isSummary":true,"index":2},"name":{"short":"Name for this evidence variable (computer friendly)","type":"string","isSummary":true,"index":3},"title":{"short":"Name for this evidence variable (human friendly)","type":"string","isSummary":true,"index":4},"shortTitle":{"short":"Title for use in informal contexts","type":"string","isSummary":true,"index":5},"subtitle":{"short":"Subordinate title of the EvidenceVariable","type":"string","index":6},"status":{"short":"draft | active | retired | unknown","type":"code","isModifier":true,"isModifierReason":"This is labeled as \\"Is Modifier\\" because applications should not use a retired {{title}} without due consideration","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/publication-status|4.0.1","bindingName":"PublicationStatus"},"index":7},"date":{"short":"Date last changed","type":"dateTime","isSummary":true,"index":8},"publisher":{"short":"Name of the publisher (organization or individual)","type":"string","isSummary":true,"index":9},"contact":{"short":"Contact details for the publisher","type":"ContactDetail","isSummary":true,"array":true,"index":10},"description":{"short":"Natural language description of the evidence variable","type":"markdown","isSummary":true,"index":11},"note":{"short":"Used for footnotes or explanatory notes","type":"Annotation","array":true,"index":12},"useContext":{"short":"The context that the content is intended to support","type":"UsageContext","isSummary":true,"array":true,"index":13},"jurisdiction":{"short":"Intended jurisdiction for evidence variable (if applicable)","type":"CodeableConcept","isSummary":true,"binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/ValueSet/jurisdiction","bindingName":"Jurisdiction"},"array":true,"index":14},"copyright":{"short":"Use and/or publishing restrictions","type":"markdown","index":15},"approvalDate":{"short":"When the evidence variable was approved by publisher","type":"date","index":16},"lastReviewDate":{"short":"When the evidence variable was last reviewed","type":"date","index":17},"effectivePeriod":{"short":"When the evidence variable is expected to be used","type":"Period","isSummary":true,"index":18},"topic":{"short":"The category of the EvidenceVariable, such as Education, Treatment, Assessment, etc.","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/definition-topic","bindingName":"DefinitionTopic"},"array":true,"index":19},"author":{"short":"Who authored the content","type":"ContactDetail","array":true,"index":20},"editor":{"short":"Who edited the content","type":"ContactDetail","array":true,"index":21},"reviewer":{"short":"Who reviewed the content","type":"ContactDetail","array":true,"index":22},"endorser":{"short":"Who endorsed the content","type":"ContactDetail","array":true,"index":23},"relatedArtifact":{"short":"Additional documentation, citations, etc.","type":"RelatedArtifact","array":true,"index":24},"type":{"short":"dichotomous | continuous | descriptive","type":"code","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/variable-type|4.0.1","bindingName":"EvidenceVariableType"},"index":25},"characteristic":{"short":"What defines the members of the evidence element","type":"BackboneElement","isSummary":true,"array":true,"min":1,"index":26,"elements":{"description":{"short":"Natural language description of the characteristic","type":"string","index":27},"definition":{"short":"What code or expression defines members?","isSummary":true,"choices":["definitionReference","definitionCanonical","definitionCodeableConcept","definitionExpression","definitionDataRequirement","definitionTriggerDefinition"],"index":29},"definitionReference":{"short":"What code or expression defines members?","type":"Reference","isSummary":true,"choiceOf":"definition","refers":["http://hl7.org/fhir/StructureDefinition/Group"],"index":30},"definitionCanonical":{"short":"What code or expression defines members?","type":"canonical","isSummary":true,"choiceOf":"definition","index":31},"definitionCodeableConcept":{"short":"What code or expression defines members?","type":"CodeableConcept","isSummary":true,"choiceOf":"definition","index":32},"definitionExpression":{"short":"What code or expression defines members?","type":"Expression","isSummary":true,"choiceOf":"definition","index":33},"definitionDataRequirement":{"short":"What code or expression defines members?","type":"DataRequirement","isSummary":true,"choiceOf":"definition","index":34},"definitionTriggerDefinition":{"short":"What code or expression defines members?","type":"TriggerDefinition","isSummary":true,"choiceOf":"definition","index":35},"usageContext":{"short":"What code/value pairs define members?","type":"UsageContext","array":true,"index":36},"exclude":{"short":"Whether the characteristic includes or excludes members","type":"boolean","meaningWhenMissing":"False","index":37},"participantEffective":{"short":"What time period do participants cover","choices":["participantEffectiveDateTime","participantEffectivePeriod","participantEffectiveDuration","participantEffectiveTiming"],"index":39},"participantEffectiveDateTime":{"short":"What time period do participants cover","type":"dateTime","choiceOf":"participantEffective","index":40},"participantEffectivePeriod":{"short":"What time period do participants cover","type":"Period","choiceOf":"participantEffective","index":41},"participantEffectiveDuration":{"short":"What time period do participants cover","type":"Duration","choiceOf":"participantEffective","index":42},"participantEffectiveTiming":{"short":"What time period do participants cover","type":"Timing","choiceOf":"participantEffective","index":43},"timeFromStart":{"short":"Observation time from study start","type":"Duration","index":44},"groupMeasure":{"short":"mean | median | mean-of-mean | mean-of-median | median-of-mean | median-of-median","type":"code","binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/group-measure|4.0.1","bindingName":"GroupMeasure"},"index":45}},"required":["definition"]}},"required":["characteristic","status"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"DocumentStructure","type":"Composition","kind":"complex-type","class":"complex-type","url":"http://hl7.org/fhir/StructureDefinition/example-composition","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Composition","elements":{"section":{"index":0,"slicing":{"discriminator":[{"type":"pattern","path":"code"}],"description":"Slice by .section.code","ordered":true,"rules":"closed","slices":{"procedure":{"match":{},"schema":{"type":"BackboneElement","_required":true,"index":1},"min":1},"medications":{"match":{},"schema":{"type":"BackboneElement","_required":true,"index":2},"min":1},"plan":{"match":{},"schema":{"type":"BackboneElement","index":3}}}}}},"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"DocumentSectionLibrary","type":"Composition","kind":"complex-type","class":"complex-type","url":"http://hl7.org/fhir/StructureDefinition/example-section-library","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Composition","abstract":true,"elements":{"section":{"index":0,"slicing":{"discriminator":[{"type":"pattern","path":"code"}],"description":"Slice by .section.code when using this library of sections","ordered":true,"rules":"closed","slices":{"procedure":{"match":{"code":{"coding":[{"system":"http://loinc.org","code":"29554-3","display":"Procedure Narrative"}]}},"schema":{"index":1,"elements":{"title":{"pattern":{"type":"string","value":"Procedures Performed"},"type":"string","index":2},"code":{"pattern":{"type":"CodeableConcept","value":"[Circular Reference]"},"type":"CodeableConcept","index":3}},"required":["code","title"]}},"medications":{"match":{"code":{"coding":[{"system":"http://loinc.org","code":"29549-3","display":"Medication administered Narrative"}]}},"schema":{"index":4,"elements":{"title":{"pattern":{"type":"string","value":"Medications Administered"},"type":"string","index":5},"code":{"pattern":{"type":"CodeableConcept","value":"[Circular Reference]"},"type":"CodeableConcept","index":6}},"required":["code","title"]}},"plan":{"match":{"code":{"coding":[{"system":"http://loinc.org","code":"18776-5","display":"Plan of treatment (narrative)"}]}},"schema":{"index":7,"elements":{"title":{"pattern":{"type":"string","value":"Discharge Treatment Plan"},"type":"string","index":8},"code":{"pattern":{"type":"CodeableConcept","value":"[Circular Reference]"},"type":"CodeableConcept","index":9}},"required":["code","title"]}}}}}},"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"DocumentSectionLibrary","type":"Composition","kind":"complex-type","class":"complex-type","url":"http://hl7.org/fhir/StructureDefinition/example-section-library","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Composition","abstract":true,"elements":{"section":{"index":0,"slicing":{"discriminator":[{"type":"pattern","path":"code"}],"description":"Slice by .section.code when using this library of sections","ordered":true,"rules":"closed","slices":{"procedure":{"match":{"code":{"coding":[{"system":"http://loinc.org","code":"29554-3","display":"Procedure Narrative"}]}},"schema":{"index":1,"elements":{"title":{"fixed":{"type":"string","value":"Procedures Performed"},"index":2},"code":{"pattern":{"type":"CodeableConcept","value":"[Circular Reference]"},"type":"CodeableConcept","index":3}},"required":["code","title"]}},"medications":{"match":{"code":{"coding":[{"system":"http://loinc.org","code":"29549-3","display":"Medication administered Narrative"}]}},"schema":{"index":4,"elements":{"title":{"fixed":{"type":"string","value":"Medications Administered"},"index":5},"code":{"pattern":{"type":"CodeableConcept","value":"[Circular Reference]"},"type":"CodeableConcept","index":6}},"required":["code","title"]}},"plan":{"match":{"code":{"coding":[{"system":"http://loinc.org","code":"18776-5","display":"Plan of treatment (narrative)"}]}},"schema":{"index":7,"elements":{"title":{"fixed":{"type":"string","value":"Discharge Treatment Plan"},"index":8},"code":{"pattern":{"type":"CodeableConcept","value":"[Circular Reference]"},"type":"CodeableConcept","index":9}},"required":["code","title"]}}}}}},"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"ExampleScenario","type":"ExampleScenario","kind":"resource","class":"resource","url":"http://hl7.org/fhir/StructureDefinition/ExampleScenario","version":"4.0.1","description":"Example of workflow instance.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/DomainResource","elements":{"url":{"short":"Canonical identifier for this example scenario, represented as a URI (globally unique)","type":"uri","isSummary":true,"index":0},"identifier":{"short":"Additional identifier for the example scenario","type":"Identifier","isSummary":true,"array":true,"index":1},"version":{"short":"Business version of the example scenario","type":"string","isSummary":true,"index":2},"name":{"short":"Name for this example scenario (computer friendly)","type":"string","isSummary":true,"index":3},"status":{"short":"draft | active | retired | unknown","type":"code","isModifier":true,"isModifierReason":"This is labeled as \\"Is Modifier\\" because applications should not use a retired {{title}} without due consideration","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/publication-status|4.0.1","bindingName":"PublicationStatus"},"index":4},"experimental":{"short":"For testing purposes, not real usage","type":"boolean","isSummary":true,"index":5},"date":{"short":"Date last changed","type":"dateTime","isSummary":true,"index":6},"publisher":{"short":"Name of the publisher (organization or individual)","type":"string","isSummary":true,"index":7},"contact":{"short":"Contact details for the publisher","type":"ContactDetail","isSummary":true,"array":true,"index":8},"useContext":{"short":"The context that the content is intended to support","type":"UsageContext","isSummary":true,"array":true,"index":9},"jurisdiction":{"short":"Intended jurisdiction for example scenario (if applicable)","type":"CodeableConcept","isSummary":true,"binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/ValueSet/jurisdiction","bindingName":"Jurisdiction"},"array":true,"index":10},"copyright":{"short":"Use and/or publishing restrictions","type":"markdown","index":11},"purpose":{"short":"The purpose of the example, e.g. to illustrate a scenario","type":"markdown","index":12},"actor":{"short":"Actor participating in the resource","type":"BackboneElement","array":true,"index":13,"elements":{"actorId":{"short":"ID or acronym of the actor","type":"string","index":14},"type":{"short":"person | entity","type":"code","binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/examplescenario-actor-type|4.0.1","bindingName":"ExampleScenarioActorType"},"index":15},"name":{"short":"The name of the actor as shown in the page","type":"string","index":16},"description":{"short":"The description of the actor","type":"markdown","index":17}},"required":["actorId","type"]},"instance":{"short":"Each resource and each version that is present in the workflow","type":"BackboneElement","array":true,"index":18,"elements":{"resourceId":{"short":"The id of the resource for referencing","type":"string","index":19},"resourceType":{"short":"The type of the resource","type":"code","binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/resource-types|4.0.1","bindingName":"FHIRResourceType"},"index":20},"name":{"short":"A short name for the resource instance","type":"string","index":21},"description":{"short":"Human-friendly description of the resource instance","type":"markdown","index":22},"version":{"short":"A specific version of the resource","type":"BackboneElement","array":true,"index":23,"elements":{"versionId":{"short":"The identifier of a specific version of a resource","type":"string","index":24},"description":{"short":"The description of the resource version","type":"markdown","index":25}},"required":["description","versionId"]},"containedInstance":{"short":"Resources contained in the instance","type":"BackboneElement","array":true,"index":26,"elements":{"resourceId":{"short":"Each resource contained in the instance","type":"string","index":27},"versionId":{"short":"A specific version of a resource contained in the instance","type":"string","index":28}},"required":["resourceId"]}},"required":["resourceId","resourceType"]},"process":{"short":"Each major process - a group of operations","type":"BackboneElement","array":true,"index":29,"elements":{"title":{"short":"The diagram title of the group of operations","type":"string","isSummary":true,"index":30},"description":{"short":"A longer description of the group of operations","type":"markdown","index":31},"preConditions":{"short":"Description of initial status before the process starts","type":"markdown","index":32},"postConditions":{"short":"Description of final status after the process ends","type":"markdown","index":33},"step":{"short":"Each step of the process","type":"BackboneElement","array":true,"index":34,"elements":{"process":{"short":"Nested process","elementReference":["http://hl7.org/fhir/StructureDefinition/ExampleScenario","elements","process"],"array":true,"index":35},"pause":{"short":"If there is a pause in the flow","type":"boolean","index":36},"operation":{"short":"Each interaction or action","type":"BackboneElement","index":37,"elements":{"number":{"short":"The sequential number of the interaction","type":"string","index":38},"type":{"short":"The type of operation - CRUD","type":"string","index":39},"name":{"short":"The human-friendly name of the interaction","type":"string","index":40},"initiator":{"short":"Who starts the transaction","type":"string","index":41},"receiver":{"short":"Who receives the transaction","type":"string","index":42},"description":{"short":"A comment to be inserted in the diagram","type":"markdown","index":43},"initiatorActive":{"short":"Whether the initiator is deactivated right after the transaction","type":"boolean","index":44},"receiverActive":{"short":"Whether the receiver is deactivated right after the transaction","type":"boolean","index":45},"request":{"short":"Each resource instance used by the initiator","elementReference":["http://hl7.org/fhir/StructureDefinition/ExampleScenario","elements","instance","elements","containedInstance"],"index":46},"response":{"short":"Each resource instance used by the responder","elementReference":["http://hl7.org/fhir/StructureDefinition/ExampleScenario","elements","instance","elements","containedInstance"],"index":47}},"required":["number"]},"alternative":{"short":"Alternate non-typical step action","type":"BackboneElement","array":true,"index":48,"elements":{"title":{"short":"Label for alternative","type":"string","index":49},"description":{"short":"A human-readable description of each option","type":"markdown","index":50},"step":{"short":"What happens in each alternative option","elementReference":["http://hl7.org/fhir/StructureDefinition/ExampleScenario","elements","process","elements","step"],"array":true,"index":51}},"required":["title"]}}}},"required":["title"]},"workflow":{"short":"Another nested workflow","type":"canonical","array":true,"index":52}},"required":["status"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"ExplanationOfBenefit","type":"ExplanationOfBenefit","kind":"resource","class":"resource","url":"http://hl7.org/fhir/StructureDefinition/ExplanationOfBenefit","version":"4.0.1","description":"This resource provides: the claim details; adjudication details from the processing of a Claim; and optionally account balance information, for informing the subscriber of the benefits provided.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/DomainResource","elements":{"identifier":{"short":"Business Identifier for the resource","type":"Identifier","array":true,"index":0},"status":{"short":"active | cancelled | draft | entered-in-error","type":"code","isModifier":true,"isModifierReason":"This element is labeled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/explanationofbenefit-status|4.0.1","bindingName":"ExplanationOfBenefitStatus"},"index":1},"type":{"short":"Category or discipline","type":"CodeableConcept","isSummary":true,"binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/ValueSet/claim-type","bindingName":"ClaimType"},"index":2},"subType":{"short":"More granular claim type","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/claim-subtype","bindingName":"ClaimSubType"},"index":3},"use":{"short":"claim | preauthorization | predetermination","type":"code","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/claim-use|4.0.1","bindingName":"Use"},"index":4},"patient":{"short":"The recipient of the products and services","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Patient"],"index":5},"billablePeriod":{"short":"Relevant time frame for the claim","type":"Period","isSummary":true,"index":6},"created":{"short":"Response creation date","type":"dateTime","isSummary":true,"index":7},"enterer":{"short":"Author of the claim","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole"],"index":8},"insurer":{"short":"Party responsible for reimbursement","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Organization"],"index":9},"provider":{"short":"Party responsible for the claim","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Organization","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole"],"index":10},"priority":{"short":"Desired processing urgency","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://terminology.hl7.org/CodeSystem/processpriority","bindingName":"ProcessPriority"},"index":11},"fundsReserveRequested":{"short":"For whom to reserve funds","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/fundsreserve","bindingName":"FundsReserve"},"index":12},"fundsReserve":{"short":"Funds reserved status","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/fundsreserve","bindingName":"FundsReserve"},"index":13},"related":{"short":"Prior or corollary claims","type":"BackboneElement","array":true,"index":14,"elements":{"claim":{"short":"Reference to the related claim","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Claim"],"index":15},"relationship":{"short":"How the reference claim is related","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/related-claim-relationship","bindingName":"RelatedClaimRelationship"},"index":16},"reference":{"short":"File or case reference","type":"Identifier","index":17}}},"prescription":{"short":"Prescription authorizing services or products","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/MedicationRequest","http://hl7.org/fhir/StructureDefinition/VisionPrescription"],"index":18},"originalPrescription":{"short":"Original prescription if superceded by fulfiller","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/MedicationRequest"],"index":19},"payee":{"short":"Recipient of benefits payable","type":"BackboneElement","index":20,"elements":{"type":{"short":"Category of recipient","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/payeetype","bindingName":"PayeeType"},"index":21},"party":{"short":"Recipient reference","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Organization","http://hl7.org/fhir/StructureDefinition/Patient","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole","http://hl7.org/fhir/StructureDefinition/RelatedPerson"],"index":22}}},"referral":{"short":"Treatment Referral","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/ServiceRequest"],"index":23},"facility":{"short":"Servicing Facility","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Location"],"index":24},"claim":{"short":"Claim reference","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Claim"],"index":25},"claimResponse":{"short":"Claim response reference","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/ClaimResponse"],"index":26},"outcome":{"short":"queued | complete | error | partial","type":"code","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/remittance-outcome|4.0.1","bindingName":"RemittanceOutcome"},"index":27},"disposition":{"short":"Disposition Message","type":"string","index":28},"preAuthRef":{"short":"Preauthorization reference","type":"string","array":true,"index":29},"preAuthRefPeriod":{"short":"Preauthorization in-effect period","type":"Period","array":true,"index":30},"careTeam":{"short":"Care Team members","type":"BackboneElement","array":true,"index":31,"elements":{"sequence":{"short":"Order of care team","type":"positiveInt","index":32},"provider":{"short":"Practitioner or organization","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Organization","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole"],"index":33},"responsible":{"short":"Indicator of the lead practitioner","type":"boolean","index":34},"role":{"short":"Function within the team","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/claim-careteamrole","bindingName":"CareTeamRole"},"index":35},"qualification":{"short":"Practitioner credential or specialization","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/provider-qualification","bindingName":"ProviderQualification"},"index":36}},"required":["provider","sequence"]},"supportingInfo":{"short":"Supporting information","type":"BackboneElement","array":true,"index":37,"elements":{"sequence":{"short":"Information instance identifier","type":"positiveInt","index":38},"category":{"short":"Classification of the supplied information","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/claim-informationcategory","bindingName":"InformationCategory"},"index":39},"code":{"short":"Type of information","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/claim-exception","bindingName":"InformationCode"},"index":40},"timing":{"short":"When it occurred","choices":["timingDate","timingPeriod"],"index":42},"timingDate":{"short":"When it occurred","type":"date","choiceOf":"timing","index":43},"timingPeriod":{"short":"When it occurred","type":"Period","choiceOf":"timing","index":44},"value":{"short":"Data to be provided","choices":["valueBoolean","valueString","valueQuantity","valueAttachment","valueReference"],"index":46},"valueBoolean":{"short":"Data to be provided","type":"boolean","choiceOf":"value","index":47},"valueString":{"short":"Data to be provided","type":"string","choiceOf":"value","index":48},"valueQuantity":{"short":"Data to be provided","type":"Quantity","choiceOf":"value","index":49},"valueAttachment":{"short":"Data to be provided","type":"Attachment","choiceOf":"value","index":50},"valueReference":{"short":"Data to be provided","type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/Resource"],"index":51},"reason":{"short":"Explanation for the information","type":"Coding","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/missing-tooth-reason","bindingName":"MissingReason"},"index":52}},"required":["category","sequence"]},"diagnosis":{"short":"Pertinent diagnosis information","type":"BackboneElement","array":true,"index":53,"elements":{"sequence":{"short":"Diagnosis instance identifier","type":"positiveInt","index":54},"diagnosis":{"short":"Nature of illness or problem","choices":["diagnosisCodeableConcept","diagnosisReference"],"index":56},"diagnosisCodeableConcept":{"short":"Nature of illness or problem","type":"CodeableConcept","choiceOf":"diagnosis","index":57},"diagnosisReference":{"short":"Nature of illness or problem","type":"Reference","choiceOf":"diagnosis","refers":["http://hl7.org/fhir/StructureDefinition/Condition"],"index":58},"type":{"short":"Timing or nature of the diagnosis","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/ex-diagnosistype","bindingName":"DiagnosisType"},"array":true,"index":59},"onAdmission":{"short":"Present on admission","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/ex-diagnosis-on-admission","bindingName":"DiagnosisOnAdmission"},"index":60},"packageCode":{"short":"Package billing code","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/ex-diagnosisrelatedgroup","bindingName":"DiagnosisRelatedGroup"},"index":61}},"required":["diagnosis","sequence"]},"procedure":{"short":"Clinical procedures performed","type":"BackboneElement","array":true,"index":62,"elements":{"sequence":{"short":"Procedure instance identifier","type":"positiveInt","index":63},"type":{"short":"Category of Procedure","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/ex-procedure-type","bindingName":"ProcedureType"},"array":true,"index":64},"date":{"short":"When the procedure was performed","type":"dateTime","index":65},"procedure":{"short":"Specific clinical procedure","choices":["procedureCodeableConcept","procedureReference"],"index":67},"procedureCodeableConcept":{"short":"Specific clinical procedure","type":"CodeableConcept","choiceOf":"procedure","index":68},"procedureReference":{"short":"Specific clinical procedure","type":"Reference","choiceOf":"procedure","refers":["http://hl7.org/fhir/StructureDefinition/Procedure"],"index":69},"udi":{"short":"Unique device identifier","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Device"],"array":true,"index":70}},"required":["procedure","sequence"]},"precedence":{"short":"Precedence (primary, secondary, etc.)","type":"positiveInt","index":71},"insurance":{"short":"Patient insurance information","type":"BackboneElement","isSummary":true,"array":true,"min":1,"index":72,"elements":{"focal":{"short":"Coverage to be used for adjudication","type":"boolean","isSummary":true,"index":73},"coverage":{"short":"Insurance information","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Coverage"],"index":74},"preAuthRef":{"short":"Prior authorization reference number","type":"string","array":true,"index":75}},"required":["coverage","focal"]},"accident":{"short":"Details of the event","type":"BackboneElement","index":76,"elements":{"date":{"short":"When the incident occurred","type":"date","index":77},"type":{"short":"The nature of the accident","type":"CodeableConcept","binding":{"strength":"extensible","valueSet":"http://terminology.hl7.org/ValueSet/v3-ActIncidentCode","bindingName":"AccidentType"},"index":78},"location":{"short":"Where the event occurred","choices":["locationAddress","locationReference"],"index":80},"locationAddress":{"short":"Where the event occurred","type":"Address","choiceOf":"location","index":81},"locationReference":{"short":"Where the event occurred","type":"Reference","choiceOf":"location","refers":["http://hl7.org/fhir/StructureDefinition/Location"],"index":82}}},"item":{"short":"Product or service provided","type":"BackboneElement","array":true,"index":83,"elements":{"sequence":{"short":"Item instance identifier","type":"positiveInt","index":84},"careTeamSequence":{"short":"Applicable care team members","type":"positiveInt","array":true,"index":85},"diagnosisSequence":{"short":"Applicable diagnoses","type":"positiveInt","array":true,"index":86},"procedureSequence":{"short":"Applicable procedures","type":"positiveInt","array":true,"index":87},"informationSequence":{"short":"Applicable exception and supporting information","type":"positiveInt","array":true,"index":88},"revenue":{"short":"Revenue or cost center code","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/ex-revenue-center","bindingName":"RevenueCenter"},"index":89},"category":{"short":"Benefit classification","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/ex-benefitcategory","bindingName":"BenefitCategory"},"index":90},"productOrService":{"short":"Billing, service, product, or drug code","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/service-uscls","bindingName":"ServiceProduct"},"index":91},"modifier":{"short":"Product or service billing modifiers","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/claim-modifiers","bindingName":"Modifiers"},"array":true,"index":92},"programCode":{"short":"Program the product or service is provided under","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/ex-program-code","bindingName":"ProgramCode"},"array":true,"index":93},"serviced":{"short":"Date or dates of service or product delivery","choices":["servicedDate","servicedPeriod"],"index":95},"servicedDate":{"short":"Date or dates of service or product delivery","type":"date","choiceOf":"serviced","index":96},"servicedPeriod":{"short":"Date or dates of service or product delivery","type":"Period","choiceOf":"serviced","index":97},"location":{"short":"Place of service or where product was supplied","choices":["locationCodeableConcept","locationAddress","locationReference"],"index":99},"locationCodeableConcept":{"short":"Place of service or where product was supplied","type":"CodeableConcept","choiceOf":"location","index":100},"locationAddress":{"short":"Place of service or where product was supplied","type":"Address","choiceOf":"location","index":101},"locationReference":{"short":"Place of service or where product was supplied","type":"Reference","choiceOf":"location","refers":["http://hl7.org/fhir/StructureDefinition/Location"],"index":102},"quantity":{"short":"Count of products or services","type":"Quantity","index":103},"unitPrice":{"short":"Fee, charge or cost per item","type":"Money","index":104},"factor":{"short":"Price scaling factor","type":"decimal","index":105},"net":{"short":"Total item cost","type":"Money","index":106},"udi":{"short":"Unique device identifier","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Device"],"array":true,"index":107},"bodySite":{"short":"Anatomical location","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/tooth","bindingName":"OralSites"},"index":108},"subSite":{"short":"Anatomical sub-location","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/surface","bindingName":"Surface"},"array":true,"index":109},"encounter":{"short":"Encounters related to this billed item","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Encounter"],"array":true,"index":110},"noteNumber":{"short":"Applicable note numbers","type":"positiveInt","array":true,"index":111},"adjudication":{"short":"Adjudication details","type":"BackboneElement","array":true,"index":112,"elements":{"category":{"short":"Type of adjudication information","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/adjudication","bindingName":"Adjudication"},"index":113},"reason":{"short":"Explanation of adjudication outcome","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/adjudication-reason","bindingName":"AdjudicationReason"},"index":114},"amount":{"short":"Monetary amount","type":"Money","index":115},"value":{"short":"Non-monitary value","type":"decimal","index":116}},"required":["category"]},"detail":{"short":"Additional items","type":"BackboneElement","array":true,"index":117,"elements":{"sequence":{"short":"Product or service provided","type":"positiveInt","index":118},"revenue":{"short":"Revenue or cost center code","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/ex-revenue-center","bindingName":"RevenueCenter"},"index":119},"category":{"short":"Benefit classification","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/ex-benefitcategory","bindingName":"BenefitCategory"},"index":120},"productOrService":{"short":"Billing, service, product, or drug code","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/service-uscls","bindingName":"ServiceProduct"},"index":121},"modifier":{"short":"Service/Product billing modifiers","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/claim-modifiers","bindingName":"Modifiers"},"array":true,"index":122},"programCode":{"short":"Program the product or service is provided under","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/ex-program-code","bindingName":"ProgramCode"},"array":true,"index":123},"quantity":{"short":"Count of products or services","type":"Quantity","index":124},"unitPrice":{"short":"Fee, charge or cost per item","type":"Money","index":125},"factor":{"short":"Price scaling factor","type":"decimal","index":126},"net":{"short":"Total item cost","type":"Money","index":127},"udi":{"short":"Unique device identifier","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Device"],"array":true,"index":128},"noteNumber":{"short":"Applicable note numbers","type":"positiveInt","array":true,"index":129},"adjudication":{"short":"Detail level adjudication details","elementReference":["http://hl7.org/fhir/StructureDefinition/ExplanationOfBenefit","elements","item","elements","adjudication"],"array":true,"index":130},"subDetail":{"short":"Additional items","type":"BackboneElement","array":true,"index":131,"elements":{"sequence":{"short":"Product or service provided","type":"positiveInt","index":132},"revenue":{"short":"Revenue or cost center code","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/ex-revenue-center","bindingName":"RevenueCenter"},"index":133},"category":{"short":"Benefit classification","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/ex-benefitcategory","bindingName":"BenefitCategory"},"index":134},"productOrService":{"short":"Billing, service, product, or drug code","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/service-uscls","bindingName":"ServiceProduct"},"index":135},"modifier":{"short":"Service/Product billing modifiers","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/claim-modifiers","bindingName":"Modifiers"},"array":true,"index":136},"programCode":{"short":"Program the product or service is provided under","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/ex-program-code","bindingName":"ProgramCode"},"array":true,"index":137},"quantity":{"short":"Count of products or services","type":"Quantity","index":138},"unitPrice":{"short":"Fee, charge or cost per item","type":"Money","index":139},"factor":{"short":"Price scaling factor","type":"decimal","index":140},"net":{"short":"Total item cost","type":"Money","index":141},"udi":{"short":"Unique device identifier","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Device"],"array":true,"index":142},"noteNumber":{"short":"Applicable note numbers","type":"positiveInt","array":true,"index":143},"adjudication":{"short":"Subdetail level adjudication details","elementReference":["http://hl7.org/fhir/StructureDefinition/ExplanationOfBenefit","elements","item","elements","adjudication"],"array":true,"index":144}},"required":["productOrService","sequence"]}},"required":["productOrService","sequence"]}},"required":["productOrService","sequence"]},"addItem":{"short":"Insurer added line items","type":"BackboneElement","array":true,"index":145,"elements":{"itemSequence":{"short":"Item sequence number","type":"positiveInt","array":true,"index":146},"detailSequence":{"short":"Detail sequence number","type":"positiveInt","array":true,"index":147},"subDetailSequence":{"short":"Subdetail sequence number","type":"positiveInt","array":true,"index":148},"provider":{"short":"Authorized providers","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Organization","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole"],"array":true,"index":149},"productOrService":{"short":"Billing, service, product, or drug code","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/service-uscls","bindingName":"ServiceProduct"},"index":150},"modifier":{"short":"Service/Product billing modifiers","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/claim-modifiers","bindingName":"Modifiers"},"array":true,"index":151},"programCode":{"short":"Program the product or service is provided under","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/ex-program-code","bindingName":"ProgramCode"},"array":true,"index":152},"serviced":{"short":"Date or dates of service or product delivery","choices":["servicedDate","servicedPeriod"],"index":154},"servicedDate":{"short":"Date or dates of service or product delivery","type":"date","choiceOf":"serviced","index":155},"servicedPeriod":{"short":"Date or dates of service or product delivery","type":"Period","choiceOf":"serviced","index":156},"location":{"short":"Place of service or where product was supplied","choices":["locationCodeableConcept","locationAddress","locationReference"],"index":158},"locationCodeableConcept":{"short":"Place of service or where product was supplied","type":"CodeableConcept","choiceOf":"location","index":159},"locationAddress":{"short":"Place of service or where product was supplied","type":"Address","choiceOf":"location","index":160},"locationReference":{"short":"Place of service or where product was supplied","type":"Reference","choiceOf":"location","refers":["http://hl7.org/fhir/StructureDefinition/Location"],"index":161},"quantity":{"short":"Count of products or services","type":"Quantity","index":162},"unitPrice":{"short":"Fee, charge or cost per item","type":"Money","index":163},"factor":{"short":"Price scaling factor","type":"decimal","index":164},"net":{"short":"Total item cost","type":"Money","index":165},"bodySite":{"short":"Anatomical location","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/tooth","bindingName":"OralSites"},"index":166},"subSite":{"short":"Anatomical sub-location","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/surface","bindingName":"Surface"},"array":true,"index":167},"noteNumber":{"short":"Applicable note numbers","type":"positiveInt","array":true,"index":168},"adjudication":{"short":"Added items adjudication","elementReference":["http://hl7.org/fhir/StructureDefinition/ExplanationOfBenefit","elements","item","elements","adjudication"],"array":true,"index":169},"detail":{"short":"Insurer added line items","type":"BackboneElement","array":true,"index":170,"elements":{"productOrService":{"short":"Billing, service, product, or drug code","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/service-uscls","bindingName":"ServiceProduct"},"index":171},"modifier":{"short":"Service/Product billing modifiers","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/claim-modifiers","bindingName":"Modifiers"},"array":true,"index":172},"quantity":{"short":"Count of products or services","type":"Quantity","index":173},"unitPrice":{"short":"Fee, charge or cost per item","type":"Money","index":174},"factor":{"short":"Price scaling factor","type":"decimal","index":175},"net":{"short":"Total item cost","type":"Money","index":176},"noteNumber":{"short":"Applicable note numbers","type":"positiveInt","array":true,"index":177},"adjudication":{"short":"Added items adjudication","elementReference":["http://hl7.org/fhir/StructureDefinition/ExplanationOfBenefit","elements","item","elements","adjudication"],"array":true,"index":178},"subDetail":{"short":"Insurer added line items","type":"BackboneElement","array":true,"index":179,"elements":{"productOrService":{"short":"Billing, service, product, or drug code","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/service-uscls","bindingName":"ServiceProduct"},"index":180},"modifier":{"short":"Service/Product billing modifiers","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/claim-modifiers","bindingName":"Modifiers"},"array":true,"index":181},"quantity":{"short":"Count of products or services","type":"Quantity","index":182},"unitPrice":{"short":"Fee, charge or cost per item","type":"Money","index":183},"factor":{"short":"Price scaling factor","type":"decimal","index":184},"net":{"short":"Total item cost","type":"Money","index":185},"noteNumber":{"short":"Applicable note numbers","type":"positiveInt","array":true,"index":186},"adjudication":{"short":"Added items adjudication","elementReference":["http://hl7.org/fhir/StructureDefinition/ExplanationOfBenefit","elements","item","elements","adjudication"],"array":true,"index":187}},"required":["productOrService"]}},"required":["productOrService"]}},"required":["productOrService"]},"adjudication":{"short":"Header-level adjudication","elementReference":["http://hl7.org/fhir/StructureDefinition/ExplanationOfBenefit","elements","item","elements","adjudication"],"array":true,"index":188},"total":{"short":"Adjudication totals","type":"BackboneElement","isSummary":true,"array":true,"index":189,"elements":{"category":{"short":"Type of adjudication information","type":"CodeableConcept","isSummary":true,"binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/adjudication","bindingName":"Adjudication"},"index":190},"amount":{"short":"Financial total for the category","type":"Money","isSummary":true,"index":191}},"required":["amount","category"]},"payment":{"short":"Payment Details","type":"BackboneElement","index":192,"elements":{"type":{"short":"Partial or complete payment","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/ex-paymenttype","bindingName":"PaymentType"},"index":193},"adjustment":{"short":"Payment adjustment for non-claim issues","type":"Money","index":194},"adjustmentReason":{"short":"Explanation for the variance","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/payment-adjustment-reason","bindingName":"PaymentAdjustmentReason"},"index":195},"date":{"short":"Expected date of payment","type":"date","index":196},"amount":{"short":"Payable amount after adjustment","type":"Money","index":197},"identifier":{"short":"Business identifier for the payment","type":"Identifier","index":198}}},"formCode":{"short":"Printed form identifier","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/forms","bindingName":"Forms"},"index":199},"form":{"short":"Printed reference or actual form","type":"Attachment","index":200},"processNote":{"short":"Note concerning adjudication","type":"BackboneElement","array":true,"index":201,"elements":{"number":{"short":"Note instance identifier","type":"positiveInt","index":202},"type":{"short":"display | print | printoper","type":"code","binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/note-type|4.0.1","bindingName":"NoteType"},"index":203},"text":{"short":"Note explanatory text","type":"string","index":204},"language":{"short":"Language of the text","type":"CodeableConcept","binding":{"strength":"preferred","valueSet":"http://hl7.org/fhir/ValueSet/languages","bindingName":"Language"},"index":205}}},"benefitPeriod":{"short":"When the benefits are applicable","type":"Period","index":206},"benefitBalance":{"short":"Balance by Benefit Category","type":"BackboneElement","array":true,"index":207,"elements":{"category":{"short":"Benefit classification","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/ex-benefitcategory","bindingName":"BenefitCategory"},"index":208},"excluded":{"short":"Excluded from the plan","type":"boolean","index":209},"name":{"short":"Short name for the benefit","type":"string","index":210},"description":{"short":"Description of the benefit or services covered","type":"string","index":211},"network":{"short":"In or out of network","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/benefit-network","bindingName":"BenefitNetwork"},"index":212},"unit":{"short":"Individual or family","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/benefit-unit","bindingName":"BenefitUnit"},"index":213},"term":{"short":"Annual or lifetime","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/benefit-term","bindingName":"BenefitTerm"},"index":214},"financial":{"short":"Benefit Summary","type":"BackboneElement","array":true,"index":215,"elements":{"type":{"short":"Benefit classification","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/benefit-type","bindingName":"BenefitType"},"index":216},"allowed":{"short":"Benefits allowed","choices":["allowedUnsignedInt","allowedString","allowedMoney"],"index":218},"allowedUnsignedInt":{"short":"Benefits allowed","type":"unsignedInt","choiceOf":"allowed","index":219},"allowedString":{"short":"Benefits allowed","type":"string","choiceOf":"allowed","index":220},"allowedMoney":{"short":"Benefits allowed","type":"Money","choiceOf":"allowed","index":221},"used":{"short":"Benefits used","choices":["usedUnsignedInt","usedMoney"],"index":223},"usedUnsignedInt":{"short":"Benefits used","type":"unsignedInt","choiceOf":"used","index":224},"usedMoney":{"short":"Benefits used","type":"Money","choiceOf":"used","index":225}},"required":["type"]}},"required":["category"]}},"required":["created","insurance","insurer","outcome","patient","provider","status","type","use"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"Expression","type":"Expression","kind":"complex-type","class":"complex-type","url":"http://hl7.org/fhir/StructureDefinition/Expression","version":"4.0.1","description":"Base StructureDefinition for Expression Type: A expression that is evaluated in a specified context and returns a value. The context of use of the expression must specify the context in which the expression is evaluated, and how the result of the expression is used.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/Element","elements":{"description":{"short":"Natural language description of the condition","type":"string","isSummary":true,"index":0},"name":{"short":"Short name assigned to expression for reuse","type":"id","isSummary":true,"index":1},"language":{"short":"text/cql | text/fhirpath | application/x-fhir-query | etc.","type":"code","isSummary":true,"binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/ValueSet/expression-language","bindingName":"ExpressionLanguage"},"index":2},"expression":{"short":"Expression in specified language","type":"string","isSummary":true,"index":3},"reference":{"short":"Where the expression is found","type":"uri","isSummary":true,"index":4}},"required":["language"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"Extension","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/Extension","version":"4.0.1","description":"Base StructureDefinition for Extension Type: Optional Extension Element - found in all resources.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/Element","elements":{"url":{"representation":["xmlAttr"],"short":"identifies the meaning of the extension","type":"uri","index":0},"value":{"short":"Value of extension","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","valueMeta"],"index":2},"valueBase64Binary":{"short":"Value of extension","type":"base64Binary","choiceOf":"value","index":3},"valueBoolean":{"short":"Value of extension","type":"boolean","choiceOf":"value","index":4},"valueCanonical":{"short":"Value of extension","type":"canonical","choiceOf":"value","index":5},"valueCode":{"short":"Value of extension","type":"code","choiceOf":"value","index":6},"valueDate":{"short":"Value of extension","type":"date","choiceOf":"value","index":7},"valueDateTime":{"short":"Value of extension","type":"dateTime","choiceOf":"value","index":8},"valueDecimal":{"short":"Value of extension","type":"decimal","choiceOf":"value","index":9},"valueId":{"short":"Value of extension","type":"id","choiceOf":"value","index":10},"valueInstant":{"short":"Value of extension","type":"instant","choiceOf":"value","index":11},"valueInteger":{"short":"Value of extension","type":"integer","choiceOf":"value","index":12},"valueMarkdown":{"short":"Value of extension","type":"markdown","choiceOf":"value","index":13},"valueOid":{"short":"Value of extension","type":"oid","choiceOf":"value","index":14},"valuePositiveInt":{"short":"Value of extension","type":"positiveInt","choiceOf":"value","index":15},"valueString":{"short":"Value of extension","type":"string","choiceOf":"value","index":16},"valueTime":{"short":"Value of extension","type":"time","choiceOf":"value","index":17},"valueUnsignedInt":{"short":"Value of extension","type":"unsignedInt","choiceOf":"value","index":18},"valueUri":{"short":"Value of extension","type":"uri","choiceOf":"value","index":19},"valueUrl":{"short":"Value of extension","type":"url","choiceOf":"value","index":20},"valueUuid":{"short":"Value of extension","type":"uuid","choiceOf":"value","index":21},"valueAddress":{"short":"Value of extension","type":"Address","choiceOf":"value","index":22},"valueAge":{"short":"Value of extension","type":"Age","choiceOf":"value","index":23},"valueAnnotation":{"short":"Value of extension","type":"Annotation","choiceOf":"value","index":24},"valueAttachment":{"short":"Value of extension","type":"Attachment","choiceOf":"value","index":25},"valueCodeableConcept":{"short":"Value of extension","type":"CodeableConcept","choiceOf":"value","index":26},"valueCoding":{"short":"Value of extension","type":"Coding","choiceOf":"value","index":27},"valueContactPoint":{"short":"Value of extension","type":"ContactPoint","choiceOf":"value","index":28},"valueCount":{"short":"Value of extension","type":"Count","choiceOf":"value","index":29},"valueDistance":{"short":"Value of extension","type":"Distance","choiceOf":"value","index":30},"valueDuration":{"short":"Value of extension","type":"Duration","choiceOf":"value","index":31},"valueHumanName":{"short":"Value of extension","type":"HumanName","choiceOf":"value","index":32},"valueIdentifier":{"short":"Value of extension","type":"Identifier","choiceOf":"value","index":33},"valueMoney":{"short":"Value of extension","type":"Money","choiceOf":"value","index":34},"valuePeriod":{"short":"Value of extension","type":"Period","choiceOf":"value","index":35},"valueQuantity":{"short":"Value of extension","type":"Quantity","choiceOf":"value","index":36},"valueRange":{"short":"Value of extension","type":"Range","choiceOf":"value","index":37},"valueRatio":{"short":"Value of extension","type":"Ratio","choiceOf":"value","index":38},"valueReference":{"short":"Value of extension","type":"Reference","choiceOf":"value","index":39},"valueSampledData":{"short":"Value of extension","type":"SampledData","choiceOf":"value","index":40},"valueSignature":{"short":"Value of extension","type":"Signature","choiceOf":"value","index":41},"valueTiming":{"short":"Value of extension","type":"Timing","choiceOf":"value","index":42},"valueContactDetail":{"short":"Value of extension","type":"ContactDetail","choiceOf":"value","index":43},"valueContributor":{"short":"Value of extension","type":"Contributor","choiceOf":"value","index":44},"valueDataRequirement":{"short":"Value of extension","type":"DataRequirement","choiceOf":"value","index":45},"valueExpression":{"short":"Value of extension","type":"Expression","choiceOf":"value","index":46},"valueParameterDefinition":{"short":"Value of extension","type":"ParameterDefinition","choiceOf":"value","index":47},"valueRelatedArtifact":{"short":"Value of extension","type":"RelatedArtifact","choiceOf":"value","index":48},"valueTriggerDefinition":{"short":"Value of extension","type":"TriggerDefinition","choiceOf":"value","index":49},"valueUsageContext":{"short":"Value of extension","type":"UsageContext","choiceOf":"value","index":50},"valueDosage":{"short":"Value of extension","type":"Dosage","choiceOf":"value","index":51},"valueMeta":{"short":"Value of extension","type":"Meta","choiceOf":"value","index":52}},"required":["url"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"observation","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-observation","version":"4.0.1","description":"Allows capturing risk-relevant observations about the relative that aren't themselves a specific health condition; e.g. Certain ethnic ancestries that are disease-relevant, presence of particular genetic markers, etc.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-observation"},"type":"uri","index":1},"value":{"choices":["valueReference"],"index":3},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/Observation"],"index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"parent","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-parent","version":"4.0.1","description":"Identifies a parent of the relative.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{"type":{"min":1,"max":1,"short":"mother | father | adoptive mother | etc.","isModifier":false,"_required":true,"index":0,"extensions":{},"required":["value"]},"reference":{"min":1,"max":1,"short":"Link to parent relative(s)","isModifier":false,"_required":true,"index":6,"extensions":{},"required":["value"]}},"elements":{"extension":{"short":"mother | father | adoptive mother | etc.","type":"Extension","isModifier":false,"index":0,"slicing":{"slices":{"type":{"match":{},"schema":{"short":"mother | father | adoptive mother | etc.","type":"Extension","isModifier":false,"_required":true,"index":0,"extensions":"[Circular Reference]","elements":{"extension":{"index":1},"url":{"type":"uri","pattern":{"type":"uri","value":"type"},"index":2},"value":{"choices":["valueCodeableConcept"],"index":4},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":5}},"required":["value"]},"min":1,"max":1},"reference":{"match":{},"schema":{"short":"Link to parent relative(s)","type":"Extension","isModifier":false,"_required":true,"index":6,"extensions":"[Circular Reference]","elements":{"extension":{"index":7},"url":{"type":"uri","pattern":{"type":"uri","value":"reference"},"index":8},"value":{"choices":["valueReference"],"index":10},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/FamilyMemberHistory"],"index":11}},"required":["value"]},"min":1,"max":1}}}},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-parent"},"type":"uri","index":12}},"required":["extension"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"sibling","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-sibling","version":"4.0.1","description":"Identifies a sibling of the relative.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{"type":{"min":1,"max":1,"short":"sibling | brother | sister | etc.","isModifier":false,"_required":true,"index":0,"extensions":{},"required":["value"]},"reference":{"min":1,"max":1,"short":"Link to sibling relative(s)","isModifier":false,"_required":true,"index":6,"extensions":{},"required":["value"]}},"elements":{"extension":{"short":"sibling | brother | sister | etc.","type":"Extension","isModifier":false,"index":0,"slicing":{"slices":{"type":{"match":{},"schema":{"short":"sibling | brother | sister | etc.","type":"Extension","isModifier":false,"_required":true,"index":0,"extensions":"[Circular Reference]","elements":{"extension":{"index":1},"url":{"type":"uri","pattern":{"type":"uri","value":"type"},"index":2},"value":{"choices":["valueCodeableConcept"],"index":4},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":5}},"required":["value"]},"min":1,"max":1},"reference":{"match":{},"schema":{"short":"Link to sibling relative(s)","type":"Extension","isModifier":false,"_required":true,"index":6,"extensions":"[Circular Reference]","elements":{"extension":{"index":7},"url":{"type":"uri","pattern":{"type":"uri","value":"reference"},"index":8},"value":{"choices":["valueReference"],"index":10},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/FamilyMemberHistory"],"index":11}},"required":["value"]},"min":1,"max":1}}}},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-sibling"},"type":"uri","index":12}},"required":["extension"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"abatement","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/familymemberhistory-abatement","version":"4.0.1","description":"The approximate date, age, or flag indicating that the condition of the family member resolved. The abatement should only be specified if the condition is stated in the positive sense, i.e., the didNotHave flag is false.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/familymemberhistory-abatement"},"type":"uri","index":1},"value":{"choices":["valueDate","valueAge","valueBoolean"],"index":3},"valueDate":{"type":"date","choiceOf":"value","index":4},"valueAge":{"type":"Age","choiceOf":"value","index":5},"valueBoolean":{"type":"boolean","choiceOf":"value","index":6}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"observation","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-observation","version":"4.0.1","description":"Allows capturing risk-relevant observations about the relative that aren't themselves a specific health condition; e.g. Certain ethnic ancestries that are disease-relevant, presence of particular genetic markers, etc.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-observation"},"index":1},"value":{"choices":["valueReference"],"index":3},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/Observation"],"index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"parent","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-parent","version":"4.0.1","description":"Identifies a parent of the relative.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{"type":{"min":1,"max":1,"short":"mother | father | adoptive mother | etc.","isModifier":false,"_required":true,"index":0,"extensions":{},"required":["value"]},"reference":{"min":1,"max":1,"short":"Link to parent relative(s)","isModifier":false,"_required":true,"index":6,"extensions":{},"required":["value"]}},"elements":{"extension":{"short":"mother | father | adoptive mother | etc.","type":"Extension","isModifier":false,"index":0,"slicing":{"slices":{"type":{"match":{},"schema":{"short":"mother | father | adoptive mother | etc.","type":"Extension","isModifier":false,"_required":true,"index":0,"extensions":"[Circular Reference]","elements":{"extension":{"index":1},"url":{"type":"uri","fixed":{"type":"uri","value":"type"},"index":2},"value":{"choices":["valueCodeableConcept"],"index":4},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":5}},"required":["value"]},"min":1,"max":1},"reference":{"match":{},"schema":{"short":"Link to parent relative(s)","type":"Extension","isModifier":false,"_required":true,"index":6,"extensions":"[Circular Reference]","elements":{"extension":{"index":7},"url":{"type":"uri","fixed":{"type":"uri","value":"reference"},"index":8},"value":{"choices":["valueReference"],"index":10},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/FamilyMemberHistory"],"index":11}},"required":["value"]},"min":1,"max":1}}}},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-parent"},"index":12}},"required":["extension"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"sibling","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-sibling","version":"4.0.1","description":"Identifies a sibling of the relative.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{"type":{"min":1,"max":1,"short":"sibling | brother | sister | etc.","isModifier":false,"_required":true,"index":0,"extensions":{},"required":["value"]},"reference":{"min":1,"max":1,"short":"Link to sibling relative(s)","isModifier":false,"_required":true,"index":6,"extensions":{},"required":["value"]}},"elements":{"extension":{"short":"sibling | brother | sister | etc.","type":"Extension","isModifier":false,"index":0,"slicing":{"slices":{"type":{"match":{},"schema":{"short":"sibling | brother | sister | etc.","type":"Extension","isModifier":false,"_required":true,"index":0,"extensions":"[Circular Reference]","elements":{"extension":{"index":1},"url":{"type":"uri","fixed":{"type":"uri","value":"type"},"index":2},"value":{"choices":["valueCodeableConcept"],"index":4},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":5}},"required":["value"]},"min":1,"max":1},"reference":{"match":{},"schema":{"short":"Link to sibling relative(s)","type":"Extension","isModifier":false,"_required":true,"index":6,"extensions":"[Circular Reference]","elements":{"extension":{"index":7},"url":{"type":"uri","fixed":{"type":"uri","value":"reference"},"index":8},"value":{"choices":["valueReference"],"index":10},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/FamilyMemberHistory"],"index":11}},"required":["value"]},"min":1,"max":1}}}},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-sibling"},"index":12}},"required":["extension"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"abatement","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/familymemberhistory-abatement","version":"4.0.1","description":"The approximate date, age, or flag indicating that the condition of the family member resolved. The abatement should only be specified if the condition is stated in the positive sense, i.e., the didNotHave flag is false.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/familymemberhistory-abatement"},"index":1},"value":{"choices":["valueDate","valueAge","valueBoolean"],"index":3},"valueDate":{"type":"date","choiceOf":"value","index":4},"valueAge":{"type":"Age","choiceOf":"value","index":5},"valueBoolean":{"type":"boolean","choiceOf":"value","index":6}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"Family member history for genetics analysis","type":"FamilyMemberHistory","kind":"resource","class":"profile","url":"http://hl7.org/fhir/StructureDefinition/familymemberhistory-genetic","version":"4.0.1","description":"Adds additional information to a family member history supporting both the capture of mother/father relationships as well as additional observations necessary to enable genetics-based risk analysis for patients","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/FamilyMemberHistory","extensions":{"Parent":{"max":"*","mustSupport":true,"url":"http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-parent","index":0},"Sibling":{"max":"*","mustSupport":true,"url":"http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-sibling","index":1},"Observation":{"max":"*","mustSupport":true,"url":"http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-observation","index":2}},"elements":{"extension":{"min":0,"max":"*","type":"Extension","mustSupport":true,"url":"http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-parent","index":0,"slicing":{"slices":{"Parent":{"match":{},"schema":{"min":0,"max":"*","type":"Extension","mustSupport":true,"url":"http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-parent","index":0}},"Sibling":{"match":{},"schema":{"min":0,"max":"*","type":"Extension","mustSupport":true,"url":"http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-sibling","index":1}},"Observation":{"match":{},"schema":{"min":0,"max":"*","type":"Extension","mustSupport":true,"url":"http://hl7.org/fhir/StructureDefinition/family-member-history-genetics-observation","index":2}}}}},"relationship":{"type":"CodeableConcept","mustSupport":true,"index":3,"slicing":{"slices":{"Relationship":{"match":{},"schema":{"type":"CodeableConcept","mustSupport":true,"_required":true,"index":3},"min":1,"max":1}}}},"sex":{"type":"CodeableConcept","mustSupport":true,"index":4,"slicing":{"slices":{"Sex":{"match":{},"schema":{"type":"CodeableConcept","mustSupport":true,"index":4},"max":1}}}},"born":{"mustSupport":true,"choices":["bornPeriod","bornDate","bornString"],"index":6,"slicing":{"slices":{"BornAge":{"match":{},"schema":{"mustSupport":true,"choices":["bornPeriod","bornDate","bornString"],"index":6},"max":1}}}},"bornPeriod":{"type":"Period","mustSupport":true,"choiceOf":"born","index":7,"slicing":{"slices":{"BornAge":{"match":{},"schema":{"type":"Period","mustSupport":true,"choiceOf":"born","index":7},"max":1}}}},"bornDate":{"type":"date","mustSupport":true,"choiceOf":"born","index":8,"slicing":{"slices":{"BornAge":{"match":{},"schema":{"type":"date","mustSupport":true,"choiceOf":"born","index":8},"max":1}}}},"bornString":{"type":"string","mustSupport":true,"choiceOf":"born","index":9,"slicing":{"slices":{"BornAge":{"match":{},"schema":{"type":"string","mustSupport":true,"choiceOf":"born","index":9},"max":1}}}},"age":{"mustSupport":true,"choices":["ageAge","ageRange","ageString"],"index":11,"slicing":{"slices":{"Age":{"match":{},"schema":{"mustSupport":true,"choices":["ageAge","ageRange","ageString"],"index":11},"max":1}}}},"ageAge":{"type":"Age","mustSupport":true,"choiceOf":"age","index":12,"slicing":{"slices":{"Age":{"match":{},"schema":{"type":"Age","mustSupport":true,"choiceOf":"age","index":12},"max":1}}}},"ageRange":{"type":"Range","mustSupport":true,"choiceOf":"age","index":13,"slicing":{"slices":{"Age":{"match":{},"schema":{"type":"Range","mustSupport":true,"choiceOf":"age","index":13},"max":1}}}},"ageString":{"type":"string","mustSupport":true,"choiceOf":"age","index":14,"slicing":{"slices":{"Age":{"match":{},"schema":{"type":"string","mustSupport":true,"choiceOf":"age","index":14},"max":1}}}},"deceased":{"mustSupport":true,"choices":["deceasedBoolean","deceasedAge","deceasedRange","deceasedDate","deceasedString"],"index":16,"slicing":{"slices":{"DeceasedAge":{"match":{},"schema":{"mustSupport":true,"choices":["deceasedBoolean","deceasedAge","deceasedRange","deceasedDate","deceasedString"],"index":16},"max":1}}}},"deceasedBoolean":{"type":"boolean","mustSupport":true,"choiceOf":"deceased","index":17,"slicing":{"slices":{"DeceasedAge":{"match":{},"schema":{"type":"boolean","mustSupport":true,"choiceOf":"deceased","index":17},"max":1}}}},"deceasedAge":{"type":"Age","mustSupport":true,"choiceOf":"deceased","index":18,"slicing":{"slices":{"DeceasedAge":{"match":{},"schema":{"type":"Age","mustSupport":true,"choiceOf":"deceased","index":18},"max":1}}}},"deceasedRange":{"type":"Range","mustSupport":true,"choiceOf":"deceased","index":19,"slicing":{"slices":{"DeceasedAge":{"match":{},"schema":{"type":"Range","mustSupport":true,"choiceOf":"deceased","index":19},"max":1}}}},"deceasedDate":{"type":"date","mustSupport":true,"choiceOf":"deceased","index":20,"slicing":{"slices":{"DeceasedAge":{"match":{},"schema":{"type":"date","mustSupport":true,"choiceOf":"deceased","index":20},"max":1}}}},"deceasedString":{"type":"string","mustSupport":true,"choiceOf":"deceased","index":21,"slicing":{"slices":{"DeceasedAge":{"match":{},"schema":{"type":"string","mustSupport":true,"choiceOf":"deceased","index":21},"max":1}}}},"condition":{"mustSupport":true,"array":true,"index":22,"slicing":{"slices":{"Condition":{"match":{},"schema":{"mustSupport":true,"array":true,"index":22,"elements":{"code":{"type":"CodeableConcept","mustSupport":true,"index":23},"outcome":{"type":"CodeableConcept","mustSupport":true,"index":24},"onset":{"mustSupport":true,"choices":["onsetAge","onsetRange","onsetPeriod","onsetString"],"index":26},"onsetAge":{"type":"Age","mustSupport":true,"choiceOf":"onset","index":27},"onsetRange":{"type":"Range","mustSupport":true,"choiceOf":"onset","index":28},"onsetPeriod":{"type":"Period","mustSupport":true,"choiceOf":"onset","index":29},"onsetString":{"type":"string","mustSupport":true,"choiceOf":"onset","index":30},"note":{"type":"Annotation","index":31}},"required":["code"]}}}}}},"required":["relationship"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"patient-record","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/familymemberhistory-patient-record","version":"4.0.1","description":"A link to one to more patient records for the relation.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/familymemberhistory-patient-record"},"type":"uri","index":1},"value":{"choices":["valueReference"],"index":3},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/Patient"],"index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"severity","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/familymemberhistory-severity","version":"4.0.1","description":"A qualification of the seriousness or impact on health of the family member condition.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/familymemberhistory-severity"},"type":"uri","index":1},"value":{"choices":["valueCodeableConcept"],"index":3},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"type","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/familymemberhistory-type","version":"4.0.1","description":"Purpose of the family member history or why it was created, such as when family member history is targeted for cardiovascular health, mental health, or genetic counseling.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/familymemberhistory-type"},"type":"uri","index":1},"value":{"choices":["valueCodeableConcept"],"index":3},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"patient-record","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/familymemberhistory-patient-record","version":"4.0.1","description":"A link to one to more patient records for the relation.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/familymemberhistory-patient-record"},"index":1},"value":{"choices":["valueReference"],"index":3},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/Patient"],"index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"severity","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/familymemberhistory-severity","version":"4.0.1","description":"A qualification of the seriousness or impact on health of the family member condition.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/familymemberhistory-severity"},"index":1},"value":{"choices":["valueCodeableConcept"],"index":3},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"type","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/familymemberhistory-type","version":"4.0.1","description":"Purpose of the family member history or why it was created, such as when family member history is targeted for cardiovascular health, mental health, or genetic counseling.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/familymemberhistory-type"},"index":1},"value":{"choices":["valueCodeableConcept"],"index":3},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"FamilyMemberHistory","type":"FamilyMemberHistory","kind":"resource","class":"resource","url":"http://hl7.org/fhir/StructureDefinition/FamilyMemberHistory","version":"4.0.1","description":"Significant health conditions for a person related to the patient relevant in the context of care for the patient.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/DomainResource","elements":{"identifier":{"short":"External Id(s) for this record","type":"Identifier","isSummary":true,"array":true,"index":0},"instantiatesCanonical":{"short":"Instantiates FHIR protocol or definition","type":"canonical","isSummary":true,"array":true,"index":1},"instantiatesUri":{"short":"Instantiates external protocol or definition","type":"uri","isSummary":true,"array":true,"index":2},"status":{"short":"partial | completed | entered-in-error | health-unknown","type":"code","isModifier":true,"isModifierReason":"This element is labelled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/history-status|4.0.1","bindingName":"FamilyHistoryStatus"},"index":3},"dataAbsentReason":{"short":"subject-unknown | withheld | unable-to-obtain | deferred","type":"CodeableConcept","isSummary":true,"binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/history-absent-reason","bindingName":"FamilyHistoryAbsentReason"},"index":4},"patient":{"short":"Patient history is about","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Patient"],"index":5},"date":{"short":"When history was recorded or last updated","type":"dateTime","isSummary":true,"index":6},"name":{"short":"The family member described","type":"string","isSummary":true,"index":7},"relationship":{"short":"Relationship to the subject","type":"CodeableConcept","isSummary":true,"binding":{"strength":"example","valueSet":"http://terminology.hl7.org/ValueSet/v3-FamilyMember","bindingName":"FamilialRelationship"},"index":8},"sex":{"short":"male | female | other | unknown","type":"CodeableConcept","isSummary":true,"binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/ValueSet/administrative-gender","bindingName":"Sex"},"index":9},"born":{"short":"(approximate) date of birth","choices":["bornPeriod","bornDate","bornString"],"index":11},"bornPeriod":{"short":"(approximate) date of birth","type":"Period","choiceOf":"born","index":12},"bornDate":{"short":"(approximate) date of birth","type":"date","choiceOf":"born","index":13},"bornString":{"short":"(approximate) date of birth","type":"string","choiceOf":"born","index":14},"age":{"short":"(approximate) age","isSummary":true,"choices":["ageAge","ageRange","ageString"],"index":16},"ageAge":{"short":"(approximate) age","type":"Age","isSummary":true,"choiceOf":"age","index":17},"ageRange":{"short":"(approximate) age","type":"Range","isSummary":true,"choiceOf":"age","index":18},"ageString":{"short":"(approximate) age","type":"string","isSummary":true,"choiceOf":"age","index":19},"estimatedAge":{"short":"Age is estimated?","type":"boolean","meaningWhenMissing":"It is unknown whether the age is an estimate or not","isSummary":true,"index":20},"deceased":{"short":"Dead? How old/when?","isSummary":true,"choices":["deceasedBoolean","deceasedAge","deceasedRange","deceasedDate","deceasedString"],"index":22},"deceasedBoolean":{"short":"Dead? How old/when?","type":"boolean","isSummary":true,"choiceOf":"deceased","index":23},"deceasedAge":{"short":"Dead? How old/when?","type":"Age","isSummary":true,"choiceOf":"deceased","index":24},"deceasedRange":{"short":"Dead? How old/when?","type":"Range","isSummary":true,"choiceOf":"deceased","index":25},"deceasedDate":{"short":"Dead? How old/when?","type":"date","isSummary":true,"choiceOf":"deceased","index":26},"deceasedString":{"short":"Dead? How old/when?","type":"string","isSummary":true,"choiceOf":"deceased","index":27},"reasonCode":{"short":"Why was family member history performed?","type":"CodeableConcept","isSummary":true,"binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/clinical-findings","bindingName":"FamilyHistoryReason"},"array":true,"index":28},"reasonReference":{"short":"Why was family member history performed?","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/AllergyIntolerance","http://hl7.org/fhir/StructureDefinition/Condition","http://hl7.org/fhir/StructureDefinition/DiagnosticReport","http://hl7.org/fhir/StructureDefinition/DocumentReference","http://hl7.org/fhir/StructureDefinition/Observation","http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse"],"array":true,"index":29},"note":{"short":"General note about related person","type":"Annotation","array":true,"index":30},"condition":{"short":"Condition that the related person had","type":"BackboneElement","array":true,"index":31,"elements":{"code":{"short":"Condition suffered by relation","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/condition-code","bindingName":"ConditionCode"},"index":32},"outcome":{"short":"deceased | permanent disability | etc.","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/condition-outcome","bindingName":"ConditionOutcome"},"index":33},"contributedToDeath":{"short":"Whether the condition contributed to the cause of death","type":"boolean","index":34},"onset":{"short":"When condition first manifested","choices":["onsetAge","onsetRange","onsetPeriod","onsetString"],"index":36},"onsetAge":{"short":"When condition first manifested","type":"Age","choiceOf":"onset","index":37},"onsetRange":{"short":"When condition first manifested","type":"Range","choiceOf":"onset","index":38},"onsetPeriod":{"short":"When condition first manifested","type":"Period","choiceOf":"onset","index":39},"onsetString":{"short":"When condition first manifested","type":"string","choiceOf":"onset","index":40},"note":{"short":"Extra information about condition","type":"Annotation","array":true,"index":41}},"required":["code"]}},"required":["patient","relationship","status"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"FiveWs","type":"FiveWs","kind":"logical","class":"logical","url":"http://hl7.org/fhir/StructureDefinition/FiveWs","version":"4.0.1","description":"Logical Model: Who What When Where Why - Common pattern for all resources that deals with attribution.","package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"detail","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/flag-detail","version":"4.0.1","description":"Points to the Observation, AllergyIntolerance or other record that provides additional supporting information about this flag.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/flag-detail"},"type":"uri","index":1},"value":{"choices":["valueReference"],"index":3},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/Resource"],"index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"priority","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/flag-priority","version":"4.0.1","description":"A code that identifies the priority of the alert, for example the Alert Priority flags column in IHE PCD TF 2 Table B.8-4.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/flag-priority"},"type":"uri","index":1},"value":{"choices":["valueCodeableConcept"],"index":3},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"detail","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/flag-detail","version":"4.0.1","description":"Points to the Observation, AllergyIntolerance or other record that provides additional supporting information about this flag.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/flag-detail"},"index":1},"value":{"choices":["valueReference"],"index":3},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/Resource"],"index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"priority","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/flag-priority","version":"4.0.1","description":"A code that identifies the priority of the alert, for example the Alert Priority flags column in IHE PCD TF 2 Table B.8-4.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/flag-priority"},"index":1},"value":{"choices":["valueCodeableConcept"],"index":3},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"Flag","type":"Flag","kind":"resource","class":"resource","url":"http://hl7.org/fhir/StructureDefinition/Flag","version":"4.0.1","description":"Prospective warnings of potential issues when providing care to the patient.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/DomainResource","elements":{"identifier":{"short":"Business identifier","type":"Identifier","isSummary":true,"array":true,"index":0},"status":{"short":"active | inactive | entered-in-error","type":"code","isModifier":true,"isModifierReason":"This element is labelled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/flag-status|4.0.1","bindingName":"FlagStatus"},"index":1},"category":{"short":"Clinical, administrative, etc.","type":"CodeableConcept","isSummary":true,"binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/flag-category","bindingName":"FlagCategory"},"array":true,"index":2},"code":{"short":"Coded or textual message to display to user","type":"CodeableConcept","isSummary":true,"binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/flag-code","bindingName":"FlagCode"},"index":3},"subject":{"short":"Who/What is flag about?","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Group","http://hl7.org/fhir/StructureDefinition/Location","http://hl7.org/fhir/StructureDefinition/Medication","http://hl7.org/fhir/StructureDefinition/Organization","http://hl7.org/fhir/StructureDefinition/Patient","http://hl7.org/fhir/StructureDefinition/PlanDefinition","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/Procedure"],"index":4},"period":{"short":"Time period when flag is active","type":"Period","isSummary":true,"index":5},"encounter":{"short":"Alert relevant during encounter","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Encounter"],"index":6},"author":{"short":"Flag creator","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Device","http://hl7.org/fhir/StructureDefinition/Organization","http://hl7.org/fhir/StructureDefinition/Patient","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole"],"index":7}},"required":["code","status","subject"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"Geolocation","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/geolocation","version":"4.0.1","description":"The absolute geographic location of the Location, expressed using the WGS84 datum (This is the same co-ordinate system used in KML).","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{"latitude":{"min":1,"max":1,"short":"Latitude with WGS84 datum","_required":true,"index":0,"extensions":{},"required":["value"]},"longitude":{"min":1,"max":1,"short":"Longitude with WGS84 datum","_required":true,"index":6,"extensions":{},"required":["value"]}},"elements":{"extension":{"short":"Latitude with WGS84 datum","type":"Extension","index":0,"slicing":{"slices":{"latitude":{"match":{},"schema":{"short":"Latitude with WGS84 datum","type":"Extension","_required":true,"index":0,"extensions":"[Circular Reference]","elements":{"extension":{"index":1},"url":{"type":"uri","pattern":{"type":"uri","value":"latitude"},"index":2},"value":{"choices":["valueDecimal"],"index":4},"valueDecimal":{"type":"decimal","choiceOf":"value","index":5}},"required":["value"]},"min":1,"max":1},"longitude":{"match":{},"schema":{"short":"Longitude with WGS84 datum","type":"Extension","_required":true,"index":6,"extensions":"[Circular Reference]","elements":{"extension":{"index":7},"url":{"type":"uri","pattern":{"type":"uri","value":"longitude"},"index":8},"value":{"choices":["valueDecimal"],"index":10},"valueDecimal":{"type":"decimal","choiceOf":"value","index":11}},"required":["value"]},"min":1,"max":1}}}},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/geolocation"},"type":"uri","index":12}},"required":["extension"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"acceptance","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/goal-acceptance","version":"4.0.1","description":"Information about the acceptance and relative priority assigned to the goal by the patient, practitioners and other stake-holders.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{"individual":{"min":1,"max":1,"short":"Individual whose acceptance is reflected","_required":true,"index":0,"extensions":{},"required":["value"]},"status":{"max":1,"short":"agree | disagree | pending","index":6,"extensions":{},"required":["value"]},"priority":{"max":1,"short":"Priority of goal for individual","index":12,"extensions":{},"required":["value"]}},"elements":{"extension":{"short":"Individual whose acceptance is reflected","type":"Extension","index":0,"slicing":{"slices":{"individual":{"match":{},"schema":{"short":"Individual whose acceptance is reflected","type":"Extension","_required":true,"index":0,"extensions":"[Circular Reference]","elements":{"extension":{"index":1},"url":{"type":"uri","pattern":{"type":"uri","value":"individual"},"index":2},"value":{"choices":["valueReference"],"index":4},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/Patient","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/RelatedPerson"],"index":5}},"required":["value"]},"min":1,"max":1},"status":{"match":{},"schema":{"short":"agree | disagree | pending","type":"Extension","index":6,"extensions":"[Circular Reference]","elements":{"extension":{"index":7},"url":{"type":"uri","pattern":{"type":"uri","value":"status"},"index":8},"value":{"choices":["valueCode"],"index":10},"valueCode":{"type":"code","choiceOf":"value","index":11}},"required":["value"]},"max":1},"priority":{"match":{},"schema":{"short":"Priority of goal for individual","type":"Extension","index":12,"extensions":"[Circular Reference]","elements":{"extension":{"index":13},"url":{"type":"uri","pattern":{"type":"uri","value":"priority"},"index":14},"value":{"choices":["valueCodeableConcept"],"index":16},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":17}},"required":["value"]},"max":1}}}},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/goal-acceptance"},"type":"uri","index":18}},"required":["extension"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"reasonRejected","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/goal-reasonRejected","version":"4.0.1","description":"The reason the goal was not accepted. Applies only if the status of the goal is rejected.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/goal-reasonRejected"},"type":"uri","index":1},"value":{"choices":["valueCodeableConcept"],"index":3},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"relationship","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/goal-relationship","version":"4.0.1","description":"Establishes a relationship between this goal and other goals.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{"type":{"min":1,"max":1,"short":"predecessor | successor | replacement | other","_required":true,"index":0,"extensions":{},"required":["value"]},"target":{"min":1,"max":1,"short":"Related goal","_required":true,"index":6,"extensions":{},"required":["value"]}},"elements":{"extension":{"short":"predecessor | successor | replacement | other","type":"Extension","index":0,"slicing":{"slices":{"type":{"match":{},"schema":{"short":"predecessor | successor | replacement | other","type":"Extension","_required":true,"index":0,"extensions":"[Circular Reference]","elements":{"extension":{"index":1},"url":{"type":"uri","pattern":{"type":"uri","value":"type"},"index":2},"value":{"choices":["valueCodeableConcept"],"index":4},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":5}},"required":["value"]},"min":1,"max":1},"target":{"match":{},"schema":{"short":"Related goal","type":"Extension","_required":true,"index":6,"extensions":"[Circular Reference]","elements":{"extension":{"index":7},"url":{"type":"uri","pattern":{"type":"uri","value":"target"},"index":8},"value":{"choices":["valueReference"],"index":10},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/Goal"],"index":11}},"required":["value"]},"min":1,"max":1}}}},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/goal-relationship"},"type":"uri","index":12}},"required":["extension"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"Geolocation","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/geolocation","version":"4.0.1","description":"The absolute geographic location of the Location, expressed using the WGS84 datum (This is the same co-ordinate system used in KML).","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{"latitude":{"min":1,"max":1,"short":"Latitude with WGS84 datum","_required":true,"index":0,"extensions":{},"required":["value"]},"longitude":{"min":1,"max":1,"short":"Longitude with WGS84 datum","_required":true,"index":6,"extensions":{},"required":["value"]}},"elements":{"extension":{"short":"Latitude with WGS84 datum","type":"Extension","index":0,"slicing":{"slices":{"latitude":{"match":{},"schema":{"short":"Latitude with WGS84 datum","type":"Extension","_required":true,"index":0,"extensions":"[Circular Reference]","elements":{"extension":{"index":1},"url":{"type":"uri","fixed":{"type":"uri","value":"latitude"},"index":2},"value":{"choices":["valueDecimal"],"index":4},"valueDecimal":{"type":"decimal","choiceOf":"value","index":5}},"required":["value"]},"min":1,"max":1},"longitude":{"match":{},"schema":{"short":"Longitude with WGS84 datum","type":"Extension","_required":true,"index":6,"extensions":"[Circular Reference]","elements":{"extension":{"index":7},"url":{"type":"uri","fixed":{"type":"uri","value":"longitude"},"index":8},"value":{"choices":["valueDecimal"],"index":10},"valueDecimal":{"type":"decimal","choiceOf":"value","index":11}},"required":["value"]},"min":1,"max":1}}}},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/geolocation"},"index":12}},"required":["extension"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"acceptance","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/goal-acceptance","version":"4.0.1","description":"Information about the acceptance and relative priority assigned to the goal by the patient, practitioners and other stake-holders.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{"individual":{"min":1,"max":1,"short":"Individual whose acceptance is reflected","_required":true,"index":0,"extensions":{},"required":["value"]},"status":{"max":1,"short":"agree | disagree | pending","index":6,"extensions":{},"required":["value"]},"priority":{"max":1,"short":"Priority of goal for individual","index":12,"extensions":{},"required":["value"]}},"elements":{"extension":{"short":"Individual whose acceptance is reflected","type":"Extension","index":0,"slicing":{"slices":{"individual":{"match":{},"schema":{"short":"Individual whose acceptance is reflected","type":"Extension","_required":true,"index":0,"extensions":"[Circular Reference]","elements":{"extension":{"index":1},"url":{"type":"uri","fixed":{"type":"uri","value":"individual"},"index":2},"value":{"choices":["valueReference"],"index":4},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/Patient","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/RelatedPerson"],"index":5}},"required":["value"]},"min":1,"max":1},"status":{"match":{},"schema":{"short":"agree | disagree | pending","type":"Extension","index":6,"extensions":"[Circular Reference]","elements":{"extension":{"index":7},"url":{"type":"uri","fixed":{"type":"uri","value":"status"},"index":8},"value":{"choices":["valueCode"],"index":10},"valueCode":{"type":"code","choiceOf":"value","index":11}},"required":["value"]},"max":1},"priority":{"match":{},"schema":{"short":"Priority of goal for individual","type":"Extension","index":12,"extensions":"[Circular Reference]","elements":{"extension":{"index":13},"url":{"type":"uri","fixed":{"type":"uri","value":"priority"},"index":14},"value":{"choices":["valueCodeableConcept"],"index":16},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":17}},"required":["value"]},"max":1}}}},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/goal-acceptance"},"index":18}},"required":["extension"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"reasonRejected","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/goal-reasonRejected","version":"4.0.1","description":"The reason the goal was not accepted. Applies only if the status of the goal is rejected.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/goal-reasonRejected"},"index":1},"value":{"choices":["valueCodeableConcept"],"index":3},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"relationship","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/goal-relationship","version":"4.0.1","description":"Establishes a relationship between this goal and other goals.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{"type":{"min":1,"max":1,"short":"predecessor | successor | replacement | other","_required":true,"index":0,"extensions":{},"required":["value"]},"target":{"min":1,"max":1,"short":"Related goal","_required":true,"index":6,"extensions":{},"required":["value"]}},"elements":{"extension":{"short":"predecessor | successor | replacement | other","type":"Extension","index":0,"slicing":{"slices":{"type":{"match":{},"schema":{"short":"predecessor | successor | replacement | other","type":"Extension","_required":true,"index":0,"extensions":"[Circular Reference]","elements":{"extension":{"index":1},"url":{"type":"uri","fixed":{"type":"uri","value":"type"},"index":2},"value":{"choices":["valueCodeableConcept"],"index":4},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":5}},"required":["value"]},"min":1,"max":1},"target":{"match":{},"schema":{"short":"Related goal","type":"Extension","_required":true,"index":6,"extensions":"[Circular Reference]","elements":{"extension":{"index":7},"url":{"type":"uri","fixed":{"type":"uri","value":"target"},"index":8},"value":{"choices":["valueReference"],"index":10},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/Goal"],"index":11}},"required":["value"]},"min":1,"max":1}}}},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/goal-relationship"},"index":12}},"required":["extension"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"Goal","type":"Goal","kind":"resource","class":"resource","url":"http://hl7.org/fhir/StructureDefinition/Goal","version":"4.0.1","description":"Describes the intended objective(s) for a patient, group or organization care, for example, weight loss, restoring an activity of daily living, obtaining herd immunity via immunization, meeting a process improvement objective, etc.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/DomainResource","elements":{"identifier":{"short":"External Ids for this goal","type":"Identifier","array":true,"index":0},"lifecycleStatus":{"short":"proposed | planned | accepted | active | on-hold | completed | cancelled | entered-in-error | rejected","type":"code","isModifier":true,"isModifierReason":"This element is labelled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/goal-status|4.0.1","bindingName":"GoalLifecycleStatus"},"index":1},"achievementStatus":{"short":"in-progress | improving | worsening | no-change | achieved | sustaining | not-achieved | no-progress | not-attainable","type":"CodeableConcept","isSummary":true,"binding":{"strength":"preferred","valueSet":"http://hl7.org/fhir/ValueSet/goal-achievement","bindingName":"GoalAchievementStatus"},"index":2},"category":{"short":"E.g. Treatment, dietary, behavioral, etc.","type":"CodeableConcept","isSummary":true,"binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/goal-category","bindingName":"GoalCategory"},"array":true,"index":3},"priority":{"short":"high-priority | medium-priority | low-priority","type":"CodeableConcept","isSummary":true,"binding":{"strength":"preferred","valueSet":"http://hl7.org/fhir/ValueSet/goal-priority","bindingName":"GoalPriority"},"index":4},"description":{"short":"Code or text describing goal","type":"CodeableConcept","isSummary":true,"binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/clinical-findings","bindingName":"GoalDescription"},"index":5},"subject":{"short":"Who this goal is intended for","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Group","http://hl7.org/fhir/StructureDefinition/Organization","http://hl7.org/fhir/StructureDefinition/Patient"],"index":6},"start":{"short":"When goal pursuit begins","isSummary":true,"choices":["startDate","startCodeableConcept"],"index":8},"startDate":{"short":"When goal pursuit begins","type":"date","isSummary":true,"choiceOf":"start","index":9},"startCodeableConcept":{"short":"When goal pursuit begins","type":"CodeableConcept","isSummary":true,"choiceOf":"start","index":10},"target":{"short":"Target outcome for the goal","type":"BackboneElement","constraint":{"gol-1":{"expression":"(detail.exists() and measure.exists()) or detail.exists().not()","human":"Goal.target.measure is required if Goal.target.detail is populated","severity":"error"}},"array":true,"index":11,"elements":{"measure":{"short":"The parameter whose value is being tracked","type":"CodeableConcept","isSummary":true,"binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/observation-codes","bindingName":"GoalTargetMeasure"},"index":12},"detail":{"short":"The target value to be achieved","isSummary":true,"choices":["detailQuantity","detailRange","detailCodeableConcept","detailString","detailBoolean","detailInteger","detailRatio"],"index":14},"detailQuantity":{"short":"The target value to be achieved","type":"Quantity","isSummary":true,"choiceOf":"detail","index":15},"detailRange":{"short":"The target value to be achieved","type":"Range","isSummary":true,"choiceOf":"detail","index":16},"detailCodeableConcept":{"short":"The target value to be achieved","type":"CodeableConcept","isSummary":true,"choiceOf":"detail","index":17},"detailString":{"short":"The target value to be achieved","type":"string","isSummary":true,"choiceOf":"detail","index":18},"detailBoolean":{"short":"The target value to be achieved","type":"boolean","isSummary":true,"choiceOf":"detail","index":19},"detailInteger":{"short":"The target value to be achieved","type":"integer","isSummary":true,"choiceOf":"detail","index":20},"detailRatio":{"short":"The target value to be achieved","type":"Ratio","isSummary":true,"choiceOf":"detail","index":21},"due":{"short":"Reach goal on or before","isSummary":true,"choices":["dueDate","dueDuration"],"index":23},"dueDate":{"short":"Reach goal on or before","type":"date","isSummary":true,"choiceOf":"due","index":24},"dueDuration":{"short":"Reach goal on or before","type":"Duration","isSummary":true,"choiceOf":"due","index":25}}},"statusDate":{"short":"When goal status took effect","type":"date","isSummary":true,"index":26},"statusReason":{"short":"Reason for current status","type":"string","index":27},"expressedBy":{"short":"Who's responsible for creating Goal?","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Patient","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole","http://hl7.org/fhir/StructureDefinition/RelatedPerson"],"index":28},"addresses":{"short":"Issues addressed by this goal","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Condition","http://hl7.org/fhir/StructureDefinition/MedicationStatement","http://hl7.org/fhir/StructureDefinition/NutritionOrder","http://hl7.org/fhir/StructureDefinition/Observation","http://hl7.org/fhir/StructureDefinition/RiskAssessment","http://hl7.org/fhir/StructureDefinition/ServiceRequest"],"array":true,"index":29},"note":{"short":"Comments about the goal","type":"Annotation","array":true,"index":30},"outcomeCode":{"short":"What result was achieved regarding the goal?","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/clinical-findings","bindingName":"GoalOutcome"},"array":true,"index":31},"outcomeReference":{"short":"Observation that resulted from goal","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Observation"],"array":true,"index":32}},"required":["description","lifecycleStatus","subject"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"GraphDefinition","type":"GraphDefinition","kind":"resource","class":"resource","url":"http://hl7.org/fhir/StructureDefinition/GraphDefinition","version":"4.0.1","description":"A formal computable definition of a graph of resources - that is, a coherent set of resources that form a graph by following references. The Graph Definition resource defines a set and makes rules about the set.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/DomainResource","elements":{"url":{"short":"Canonical identifier for this graph definition, represented as a URI (globally unique)","type":"uri","isSummary":true,"index":0},"version":{"short":"Business version of the graph definition","type":"string","isSummary":true,"index":1},"name":{"short":"Name for this graph definition (computer friendly)","type":"string","isSummary":true,"index":2},"status":{"short":"draft | active | retired | unknown","type":"code","isModifier":true,"isModifierReason":"This is labeled as \\"Is Modifier\\" because applications should not use a retired {{title}} without due consideration","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/publication-status|4.0.1","bindingName":"PublicationStatus"},"index":3},"experimental":{"short":"For testing purposes, not real usage","type":"boolean","isSummary":true,"index":4},"date":{"short":"Date last changed","type":"dateTime","isSummary":true,"index":5},"publisher":{"short":"Name of the publisher (organization or individual)","type":"string","isSummary":true,"index":6},"contact":{"short":"Contact details for the publisher","type":"ContactDetail","isSummary":true,"array":true,"index":7},"description":{"short":"Natural language description of the graph definition","type":"markdown","index":8},"useContext":{"short":"The context that the content is intended to support","type":"UsageContext","isSummary":true,"array":true,"index":9},"jurisdiction":{"short":"Intended jurisdiction for graph definition (if applicable)","type":"CodeableConcept","isSummary":true,"binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/ValueSet/jurisdiction","bindingName":"Jurisdiction"},"array":true,"index":10},"purpose":{"short":"Why this graph definition is defined","type":"markdown","index":11},"start":{"short":"Type of resource at which the graph starts","type":"code","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/resource-types|4.0.1","bindingName":"ResourceType"},"index":12},"profile":{"short":"Profile on base resource","type":"canonical","index":13},"link":{"short":"Links this graph makes rules about","type":"BackboneElement","array":true,"index":14,"elements":{"path":{"short":"Path in the resource that contains the link","type":"string","index":15},"sliceName":{"short":"Which slice (if profiled)","type":"string","index":16},"min":{"short":"Minimum occurrences for this link","type":"integer","index":17},"max":{"short":"Maximum occurrences for this link","type":"string","index":18},"description":{"short":"Why this link is specified","type":"string","index":19},"target":{"short":"Potential target for the link","type":"BackboneElement","array":true,"index":20,"elements":{"type":{"short":"Type of resource this link refers to","type":"code","binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/resource-types|4.0.1","bindingName":"ResourceType"},"index":21},"params":{"short":"Criteria for reverse lookup","type":"string","index":22},"profile":{"short":"Profile for the target resource","type":"canonical","index":23},"compartment":{"short":"Compartment Consistency Rules","type":"BackboneElement","array":true,"index":24,"elements":{"use":{"short":"condition | requirement","type":"code","binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/graph-compartment-use|4.0.1","bindingName":"GraphCompartmentUse"},"index":25},"code":{"short":"Patient | Encounter | RelatedPerson | Practitioner | Device","type":"code","binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/compartment-type|4.0.1","bindingName":"CompartmentCode"},"index":26},"rule":{"short":"identical | matching | different | custom","type":"code","binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/graph-compartment-rule|4.0.1","bindingName":"GraphCompartmentRule"},"index":27},"expression":{"short":"Custom rule, as a FHIRPath expression","type":"string","index":28},"description":{"short":"Documentation for FHIRPath expression","type":"string","index":29}},"required":["code","rule","use"]},"link":{"short":"Additional links from target resource","elementReference":["http://hl7.org/fhir/StructureDefinition/GraphDefinition","elements","link"],"array":true,"index":30}},"required":["type"]}}}},"required":["name","start","status"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"Group","type":"Group","kind":"resource","class":"resource","url":"http://hl7.org/fhir/StructureDefinition/Group","version":"4.0.1","description":"Represents a defined collection of entities that may be discussed or acted upon collectively but which are not expected to act collectively, and are not formally or legally recognized; i.e. a collection of entities that isn't an Organization.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/DomainResource","elements":{"identifier":{"short":"Unique id","type":"Identifier","isSummary":true,"array":true,"index":0},"active":{"short":"Whether this group's record is in active use","type":"boolean","meaningWhenMissing":"This resource is generally assumed to be active if no value is provided for the active element","isSummary":true,"index":1},"type":{"short":"person | animal | practitioner | device | medication | substance","type":"code","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/group-type|4.0.1","bindingName":"GroupType"},"index":2},"actual":{"short":"Descriptive or actual","type":"boolean","isSummary":true,"index":3},"code":{"short":"Kind of Group members","type":"CodeableConcept","isSummary":true,"index":4},"name":{"short":"Label for Group","type":"string","isSummary":true,"index":5},"quantity":{"short":"Number of members","type":"unsignedInt","isSummary":true,"index":6},"managingEntity":{"short":"Entity that is the custodian of the Group's definition","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Organization","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole","http://hl7.org/fhir/StructureDefinition/RelatedPerson"],"index":7},"characteristic":{"short":"Include / Exclude group members by Trait","type":"BackboneElement","array":true,"index":8,"elements":{"code":{"short":"Kind of characteristic","type":"CodeableConcept","index":9},"value":{"short":"Value held by characteristic","choices":["valueCodeableConcept","valueBoolean","valueQuantity","valueRange","valueReference"],"index":11},"valueCodeableConcept":{"short":"Value held by characteristic","type":"CodeableConcept","choiceOf":"value","index":12},"valueBoolean":{"short":"Value held by characteristic","type":"boolean","choiceOf":"value","index":13},"valueQuantity":{"short":"Value held by characteristic","type":"Quantity","choiceOf":"value","index":14},"valueRange":{"short":"Value held by characteristic","type":"Range","choiceOf":"value","index":15},"valueReference":{"short":"Value held by characteristic","type":"Reference","choiceOf":"value","index":16},"exclude":{"short":"Group includes or excludes","type":"boolean","index":17},"period":{"short":"Period over which characteristic is tested","type":"Period","index":18}},"required":["code","exclude","value"]},"member":{"short":"Who or what is in group","type":"BackboneElement","array":true,"index":19,"elements":{"entity":{"short":"Reference to the group member","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Device","http://hl7.org/fhir/StructureDefinition/Group","http://hl7.org/fhir/StructureDefinition/Medication","http://hl7.org/fhir/StructureDefinition/Patient","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole","http://hl7.org/fhir/StructureDefinition/Substance"],"index":20},"period":{"short":"Period member belonged to the group","type":"Period","meaningWhenMissing":"The member is in the group at this time","index":21},"inactive":{"short":"If member is no longer in group","type":"boolean","meaningWhenMissing":"Members are considered active unless explicitly specified otherwise","index":22}},"required":["entity"]}},"required":["actual","type"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"Group Definition","type":"Group","kind":"resource","class":"profile","url":"http://hl7.org/fhir/StructureDefinition/groupdefinition","version":"4.0.1","description":"Enforces a descriptive group that can be used in definitional resources","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Group","elements":{"actual":{"type":"boolean","pattern":{"type":"boolean","value":false},"index":0},"member":{"index":1}},"required":["actual"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"Group Definition","type":"Group","kind":"resource","class":"profile","url":"http://hl7.org/fhir/StructureDefinition/groupdefinition","version":"4.0.1","description":"Enforces a descriptive group that can be used in definitional resources","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Group","elements":{"actual":{"type":"boolean","fixed":{"type":"boolean","value":false},"index":0},"member":{"index":1}},"required":["actual"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"GuidanceResponse","type":"GuidanceResponse","kind":"resource","class":"resource","url":"http://hl7.org/fhir/StructureDefinition/GuidanceResponse","version":"4.0.1","description":"A guidance response is the formal response to a guidance request, including any output parameters returned by the evaluation, as well as the description of any proposed actions to be taken.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/DomainResource","elements":{"requestIdentifier":{"short":"The identifier of the request associated with this response, if any","type":"Identifier","isSummary":true,"index":0},"identifier":{"short":"Business identifier","type":"Identifier","isSummary":true,"array":true,"index":1},"module":{"short":"What guidance was requested","isSummary":true,"choices":["moduleUri","moduleCanonical","moduleCodeableConcept"],"index":3},"moduleUri":{"short":"What guidance was requested","type":"uri","isSummary":true,"choiceOf":"module","index":4},"moduleCanonical":{"short":"What guidance was requested","type":"canonical","isSummary":true,"choiceOf":"module","index":5},"moduleCodeableConcept":{"short":"What guidance was requested","type":"CodeableConcept","isSummary":true,"choiceOf":"module","index":6},"status":{"short":"success | data-requested | data-required | in-progress | failure | entered-in-error","type":"code","isModifier":true,"isModifierReason":"This element is labelled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/guidance-response-status|4.0.1","bindingName":"GuidanceResponseStatus"},"index":7},"subject":{"short":"Patient the request was performed for","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Group","http://hl7.org/fhir/StructureDefinition/Patient"],"index":8},"encounter":{"short":"Encounter during which the response was returned","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Encounter"],"index":9},"occurrenceDateTime":{"short":"When the guidance response was processed","type":"dateTime","index":10},"performer":{"short":"Device returning the guidance","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Device"],"index":11},"reasonCode":{"short":"Why guidance is needed","type":"CodeableConcept","array":true,"index":12},"reasonReference":{"short":"Why guidance is needed","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Condition","http://hl7.org/fhir/StructureDefinition/DiagnosticReport","http://hl7.org/fhir/StructureDefinition/DocumentReference","http://hl7.org/fhir/StructureDefinition/Observation"],"array":true,"index":13},"note":{"short":"Additional notes about the response","type":"Annotation","array":true,"index":14},"evaluationMessage":{"short":"Messages resulting from the evaluation of the artifact or artifacts","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/OperationOutcome"],"array":true,"index":15},"outputParameters":{"short":"The output parameters of the evaluation, if any","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Parameters"],"index":16},"result":{"short":"Proposed actions, if any","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/CarePlan","http://hl7.org/fhir/StructureDefinition/RequestGroup"],"index":17},"dataRequirement":{"short":"Additional required data","type":"DataRequirement","array":true,"index":18}},"required":["module","status"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"Example Lipid Profile","type":"Observation","kind":"resource","class":"profile","url":"http://hl7.org/fhir/StructureDefinition/hdlcholesterol","version":"4.0.1","description":"HDL Cholesterol Result","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Observation","elements":{"code":{"short":"HDL Cholesterol","type":"CodeableConcept","pattern":{"type":"CodeableConcept","value":{"coding":[{"system":"http://loinc.org","code":"2085-9","display":"HDL Cholesterol"}]}},"mustSupport":true,"index":0},"valueQuantity":{"short":"HDL Cholesterol value","type":"Quantity","mustSupport":true,"index":1},"interpretation":{"short":"+ | ++ | +++ | - | -- | ---","type":"CodeableConcept","mustSupport":true,"index":2},"note":{"short":"Comments about result","type":"Annotation","mustSupport":true,"array":true,"index":3},"referenceRange":{"mustSupport":true,"index":4,"elements":{"low":{"type":"Quantity","pattern":{"type":"Quantity","value":{"value":1.5}},"index":5},"high":{"index":6},"type":{"type":"CodeableConcept","index":7},"appliesTo":{"type":"CodeableConcept","index":8},"age":{"type":"Range","index":9}},"required":["low"]},"hasMember":{"index":10},"derivedFrom":{"index":11}},"required":["code","referenceRange"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"observation-headcircum","type":"Observation","kind":"resource","class":"profile","url":"http://hl7.org/fhir/StructureDefinition/headcircum","version":"4.0.1","description":"FHIR Head Circumference Profile","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/vitalsigns","elements":{"code":{"short":"Head Circumference","index":0,"elements":{"coding":{"index":1,"slicing":{"discriminator":[{"type":"value","path":"code"},{"type":"value","path":"system"}],"ordered":false,"rules":"open","slices":{"HeadCircumCode":{"match":{"code":"9843-4","system":"http://loinc.org"},"schema":{"_required":true,"index":2,"elements":{"system":{"type":"uri","pattern":{"type":"uri","value":"http://loinc.org"},"index":3},"code":{"type":"code","pattern":{"type":"code","value":"9843-4"},"index":4}},"required":["code","system"]},"min":1,"max":1}}}}}},"valueQuantity":{"index":5,"elements":{"value":{"type":"decimal","mustSupport":true,"index":6},"unit":{"type":"string","mustSupport":true,"index":7},"system":{"type":"uri","pattern":{"type":"uri","value":"http://unitsofmeasure.org"},"mustSupport":true,"index":8},"code":{"short":"Coded responses from the common UCUM units for vital signs value set.","type":"code","mustSupport":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/ucum-bodylength|4.0.1","bindingName":"BodyLengthUnits"},"index":9}},"required":["code","system","unit","value"]}},"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"Example Lipid Profile","type":"Observation","kind":"resource","class":"profile","url":"http://hl7.org/fhir/StructureDefinition/hdlcholesterol","version":"4.0.1","description":"HDL Cholesterol Result","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Observation","elements":{"code":{"short":"HDL Cholesterol","type":"CodeableConcept","fixed":{"type":"CodeableConcept","value":{"coding":[{"system":"http://loinc.org","code":"2085-9","display":"HDL Cholesterol"}]}},"mustSupport":true,"index":0},"valueQuantity":{"short":"HDL Cholesterol value","type":"Quantity","mustSupport":true,"index":1},"interpretation":{"short":"+ | ++ | +++ | - | -- | ---","type":"CodeableConcept","mustSupport":true,"index":2},"note":{"short":"Comments about result","type":"Annotation","mustSupport":true,"array":true,"index":3},"referenceRange":{"mustSupport":true,"index":4,"elements":{"low":{"type":"Quantity","fixed":{"type":"Quantity","value":{"value":1.5}},"index":5},"high":{"index":6},"type":{"type":"CodeableConcept","index":7},"appliesTo":{"type":"CodeableConcept","index":8},"age":{"type":"Range","index":9}},"required":["low"]},"hasMember":{"index":10},"derivedFrom":{"index":11}},"required":["code","referenceRange"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"observation-headcircum","type":"Observation","kind":"resource","class":"profile","url":"http://hl7.org/fhir/StructureDefinition/headcircum","version":"4.0.1","description":"FHIR Head Circumference Profile","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/vitalsigns","elements":{"code":{"short":"Head Circumference","index":0,"elements":{"coding":{"index":1,"slicing":{"discriminator":[{"type":"value","path":"code"},{"type":"value","path":"system"}],"ordered":false,"rules":"open","slices":{"HeadCircumCode":{"match":{"code":"9843-4","system":"http://loinc.org"},"schema":{"_required":true,"index":2,"elements":{"system":{"type":"uri","fixed":{"type":"uri","value":"http://loinc.org"},"index":3},"code":{"type":"code","fixed":{"type":"code","value":"9843-4"},"index":4}},"required":["code","system"]},"min":1,"max":1}}}}}},"valueQuantity":{"index":5,"elements":{"value":{"type":"decimal","mustSupport":true,"index":6},"unit":{"type":"string","mustSupport":true,"index":7},"system":{"type":"uri","fixed":{"type":"uri","value":"http://unitsofmeasure.org"},"mustSupport":true,"index":8},"code":{"short":"Coded responses from the common UCUM units for vital signs value set.","type":"code","mustSupport":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/ucum-bodylength|4.0.1","bindingName":"BodyLengthUnits"},"index":9}},"required":["code","system","unit","value"]}},"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"HealthcareService","type":"HealthcareService","kind":"resource","class":"resource","url":"http://hl7.org/fhir/StructureDefinition/HealthcareService","version":"4.0.1","description":"The details of a healthcare service available at a location.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/DomainResource","elements":{"identifier":{"short":"External identifiers for this item","type":"Identifier","isSummary":true,"array":true,"index":0},"active":{"short":"Whether this HealthcareService record is in active use","type":"boolean","meaningWhenMissing":"This resource is generally assumed to be active if no value is provided for the active element","isModifier":true,"isModifierReason":"This element is labelled as a modifier because it is a status element that can indicate that a record should not be treated as valid","isSummary":true,"index":1},"providedBy":{"short":"Organization that provides this service","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Organization"],"index":2},"category":{"short":"Broad category of service being performed or delivered","type":"CodeableConcept","isSummary":true,"binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/service-category","bindingName":"service-category"},"array":true,"index":3},"type":{"short":"Type of service that may be delivered or performed","type":"CodeableConcept","isSummary":true,"binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/service-type","bindingName":"service-type"},"array":true,"index":4},"specialty":{"short":"Specialties handled by the HealthcareService","type":"CodeableConcept","isSummary":true,"binding":{"strength":"preferred","valueSet":"http://hl7.org/fhir/ValueSet/c80-practice-codes","bindingName":"service-specialty"},"array":true,"index":5},"location":{"short":"Location(s) where service may be provided","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Location"],"array":true,"index":6},"name":{"short":"Description of service as presented to a consumer while searching","type":"string","isSummary":true,"index":7},"comment":{"short":"Additional description and/or any specific issues not covered elsewhere","type":"string","isSummary":true,"index":8},"extraDetails":{"short":"Extra details about the service that can't be placed in the other fields","type":"markdown","index":9},"photo":{"short":"Facilitates quick identification of the service","type":"Attachment","isSummary":true,"index":10},"telecom":{"short":"Contacts related to the healthcare service","type":"ContactPoint","array":true,"index":11},"coverageArea":{"short":"Location(s) service is intended for/available to","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Location"],"array":true,"index":12},"serviceProvisionCode":{"short":"Conditions under which service is available/offered","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/service-provision-conditions","bindingName":"ServiceProvisionConditions"},"array":true,"index":13},"eligibility":{"short":"Specific eligibility requirements required to use the service","type":"BackboneElement","array":true,"index":14,"elements":{"code":{"short":"Coded value for the eligibility","type":"CodeableConcept","index":15},"comment":{"short":"Describes the eligibility conditions for the service","type":"markdown","index":16}}},"program":{"short":"Programs that this service is applicable to","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/program","bindingName":"Program"},"array":true,"index":17},"characteristic":{"short":"Collection of characteristics (attributes)","type":"CodeableConcept","array":true,"index":18},"communication":{"short":"The language that this service is offered in","type":"CodeableConcept","binding":{"strength":"preferred","valueSet":"http://hl7.org/fhir/ValueSet/languages","bindingName":"Language"},"array":true,"index":19},"referralMethod":{"short":"Ways that the service accepts referrals","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/service-referral-method","bindingName":"ReferralMethod"},"array":true,"index":20},"appointmentRequired":{"short":"If an appointment is required for access to this service","type":"boolean","index":21},"availableTime":{"short":"Times the Service Site is available","type":"BackboneElement","array":true,"index":22,"elements":{"daysOfWeek":{"short":"mon | tue | wed | thu | fri | sat | sun","type":"code","binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/days-of-week|4.0.1","bindingName":"DaysOfWeek"},"array":true,"index":23},"allDay":{"short":"Always available? e.g. 24 hour service","type":"boolean","index":24},"availableStartTime":{"short":"Opening time of day (ignored if allDay = true)","type":"time","index":25},"availableEndTime":{"short":"Closing time of day (ignored if allDay = true)","type":"time","index":26}}},"notAvailable":{"short":"Not available during this time due to provided reason","type":"BackboneElement","array":true,"index":27,"elements":{"description":{"short":"Reason presented to the user explaining why time not available","type":"string","index":28},"during":{"short":"Service not available from this date","type":"Period","index":29}},"required":["description"]},"availabilityExceptions":{"short":"Description of availability exceptions","type":"string","index":30},"endpoint":{"short":"Technical endpoints providing access to electronic services operated for the healthcare service","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Endpoint"],"array":true,"index":31}},"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"observation-heartrate","type":"Observation","kind":"resource","class":"profile","url":"http://hl7.org/fhir/StructureDefinition/heartrate","version":"4.0.1","description":"FHIR Heart Rate Profile","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/vitalsigns","elements":{"code":{"short":"Heart Rate","index":0,"elements":{"coding":{"index":1,"slicing":{"discriminator":[{"type":"value","path":"code"},{"type":"value","path":"system"}],"ordered":false,"rules":"open","slices":{"HeartRateCode":{"match":{"code":"8867-4","system":"http://loinc.org"},"schema":{"_required":true,"index":2,"elements":{"system":{"type":"uri","pattern":{"type":"uri","value":"http://loinc.org"},"index":3},"code":{"type":"code","pattern":{"type":"code","value":"8867-4"},"index":4}},"required":["code","system"]},"min":1,"max":1}}}}}},"valueQuantity":{"index":5,"elements":{"value":{"type":"decimal","mustSupport":true,"index":6},"unit":{"type":"string","mustSupport":true,"index":7},"system":{"type":"uri","pattern":{"type":"uri","value":"http://unitsofmeasure.org"},"mustSupport":true,"index":8},"code":{"short":"Coded responses from the common UCUM units for vital signs value set.","type":"code","pattern":{"type":"code","value":"/min"},"mustSupport":true,"index":9}},"required":["code","system","unit","value"]}},"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"allele-database","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-allele-database","version":"4.0.1","description":"Allele Database.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-allele-database"},"type":"uri","index":1},"value":{"choices":["valueCodeableConcept"],"index":3},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"glstring","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-glstring","version":"4.0.1","description":"glstring.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{"url":{"max":1,"short":"glstring.url","index":0,"extensions":{},"required":["value"]},"text":{"max":1,"short":"glstring.text","index":6,"extensions":{},"required":["value"]}},"elements":{"extension":{"short":"glstring.url","type":"Extension","index":0,"slicing":{"slices":{"url":{"match":{},"schema":{"short":"glstring.url","type":"Extension","index":0,"extensions":"[Circular Reference]","elements":{"extension":{"index":1},"url":{"type":"uri","pattern":{"type":"uri","value":"url"},"index":2},"value":{"choices":["valueUri"],"index":4},"valueUri":{"type":"uri","choiceOf":"value","index":5}},"required":["value"]},"max":1},"text":{"match":{},"schema":{"short":"glstring.text","type":"Extension","index":6,"extensions":"[Circular Reference]","elements":{"extension":{"index":7},"url":{"type":"uri","pattern":{"type":"uri","value":"text"},"index":8},"value":{"choices":["valueString"],"index":10},"valueString":{"type":"string","choiceOf":"value","index":11}},"required":["value"]},"max":1}}}},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-glstring"},"type":"uri","index":12}},"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"haploid","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-haploid","version":"4.0.1","description":"haploid.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{"locus":{"max":1,"short":"haploid-locus","index":0,"extensions":{},"required":["value"]},"type":{"max":1,"short":"haploid-type","index":6,"extensions":{},"required":["value"]},"method":{"max":1,"short":"haploid-method","index":12,"extensions":{},"required":["value"]}},"elements":{"extension":{"short":"haploid-locus","type":"Extension","index":0,"slicing":{"slices":{"locus":{"match":{},"schema":{"short":"haploid-locus","type":"Extension","index":0,"extensions":"[Circular Reference]","elements":{"extension":{"index":1},"url":{"type":"uri","pattern":{"type":"uri","value":"locus"},"index":2},"value":{"choices":["valueCodeableConcept"],"index":4},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":5}},"required":["value"]},"max":1},"type":{"match":{},"schema":{"short":"haploid-type","type":"Extension","index":6,"extensions":"[Circular Reference]","elements":{"extension":{"index":7},"url":{"type":"uri","pattern":{"type":"uri","value":"type"},"index":8},"value":{"choices":["valueCodeableConcept"],"index":10},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":11}},"required":["value"]},"max":1},"method":{"match":{},"schema":{"short":"haploid-method","type":"Extension","index":12,"extensions":"[Circular Reference]","elements":{"extension":{"index":13},"url":{"type":"uri","pattern":{"type":"uri","value":"method"},"index":14},"value":{"choices":["valueCodeableConcept"],"index":16},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":17}},"required":["value"]},"max":1}}}},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-haploid"},"type":"uri","index":18}},"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"method","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-method","version":"4.0.1","description":"The platform, methodology and software applied at the time of the\\rgenotyping.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-method"},"type":"uri","index":1},"value":{"choices":["valueCodeableConcept"],"index":3},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"observation-heartrate","type":"Observation","kind":"resource","class":"profile","url":"http://hl7.org/fhir/StructureDefinition/heartrate","version":"4.0.1","description":"FHIR Heart Rate Profile","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/vitalsigns","elements":{"code":{"short":"Heart Rate","index":0,"elements":{"coding":{"index":1,"slicing":{"discriminator":[{"type":"value","path":"code"},{"type":"value","path":"system"}],"ordered":false,"rules":"open","slices":{"HeartRateCode":{"match":{"code":"8867-4","system":"http://loinc.org"},"schema":{"_required":true,"index":2,"elements":{"system":{"type":"uri","fixed":{"type":"uri","value":"http://loinc.org"},"index":3},"code":{"type":"code","fixed":{"type":"code","value":"8867-4"},"index":4}},"required":["code","system"]},"min":1,"max":1}}}}}},"valueQuantity":{"index":5,"elements":{"value":{"type":"decimal","mustSupport":true,"index":6},"unit":{"type":"string","mustSupport":true,"index":7},"system":{"type":"uri","fixed":{"type":"uri","value":"http://unitsofmeasure.org"},"mustSupport":true,"index":8},"code":{"short":"Coded responses from the common UCUM units for vital signs value set.","type":"code","fixed":{"type":"code","value":"/min"},"mustSupport":true,"index":9}},"required":["code","system","unit","value"]}},"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"allele-database","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-allele-database","version":"4.0.1","description":"Allele Database.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-allele-database"},"index":1},"value":{"choices":["valueCodeableConcept"],"index":3},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"glstring","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-glstring","version":"4.0.1","description":"glstring.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{"url":{"max":1,"short":"glstring.url","index":0,"extensions":{},"required":["value"]},"text":{"max":1,"short":"glstring.text","index":6,"extensions":{},"required":["value"]}},"elements":{"extension":{"short":"glstring.url","type":"Extension","index":0,"slicing":{"slices":{"url":{"match":{},"schema":{"short":"glstring.url","type":"Extension","index":0,"extensions":"[Circular Reference]","elements":{"extension":{"index":1},"url":{"type":"uri","fixed":{"type":"uri","value":"url"},"index":2},"value":{"choices":["valueUri"],"index":4},"valueUri":{"type":"uri","choiceOf":"value","index":5}},"required":["value"]},"max":1},"text":{"match":{},"schema":{"short":"glstring.text","type":"Extension","index":6,"extensions":"[Circular Reference]","elements":{"extension":{"index":7},"url":{"type":"uri","fixed":{"type":"uri","value":"text"},"index":8},"value":{"choices":["valueString"],"index":10},"valueString":{"type":"string","choiceOf":"value","index":11}},"required":["value"]},"max":1}}}},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-glstring"},"index":12}},"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"haploid","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-haploid","version":"4.0.1","description":"haploid.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{"locus":{"max":1,"short":"haploid-locus","index":0,"extensions":{},"required":["value"]},"type":{"max":1,"short":"haploid-type","index":6,"extensions":{},"required":["value"]},"method":{"max":1,"short":"haploid-method","index":12,"extensions":{},"required":["value"]}},"elements":{"extension":{"short":"haploid-locus","type":"Extension","index":0,"slicing":{"slices":{"locus":{"match":{},"schema":{"short":"haploid-locus","type":"Extension","index":0,"extensions":"[Circular Reference]","elements":{"extension":{"index":1},"url":{"type":"uri","fixed":{"type":"uri","value":"locus"},"index":2},"value":{"choices":["valueCodeableConcept"],"index":4},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":5}},"required":["value"]},"max":1},"type":{"match":{},"schema":{"short":"haploid-type","type":"Extension","index":6,"extensions":"[Circular Reference]","elements":{"extension":{"index":7},"url":{"type":"uri","fixed":{"type":"uri","value":"type"},"index":8},"value":{"choices":["valueCodeableConcept"],"index":10},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":11}},"required":["value"]},"max":1},"method":{"match":{},"schema":{"short":"haploid-method","type":"Extension","index":12,"extensions":"[Circular Reference]","elements":{"extension":{"index":13},"url":{"type":"uri","fixed":{"type":"uri","value":"method"},"index":14},"value":{"choices":["valueCodeableConcept"],"index":16},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":17}},"required":["value"]},"max":1}}}},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-haploid"},"index":18}},"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"method","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-method","version":"4.0.1","description":"The platform, methodology and software applied at the time of the\\rgenotyping.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-method"},"index":1},"value":{"choices":["valueCodeableConcept"],"index":3},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"Profile for HLA Genotyping Results","type":"DiagnosticReport","kind":"resource","class":"profile","url":"http://hl7.org/fhir/StructureDefinition/hlaresult","version":"4.0.1","description":"Describes how the HLA genotyping results","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/DiagnosticReport","extensions":{"allele-database":{"max":1,"short":"Allele Database","url":"http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-allele-database","index":0},"glstring":{"max":1,"short":"Glstring","url":"http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-glstring","index":1},"haploid":{"short":"Haploid","max":"*","url":"http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-haploid","index":2},"method":{"max":1,"short":"The platform, methodology and software applied at the time of the\\rgenotyping","url":"http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-method","index":3}},"elements":{"extension":{"short":"Allele Database","min":0,"max":1,"type":"Extension","url":"http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-allele-database","index":0,"slicing":{"slices":{"allele-database":{"match":{},"schema":{"short":"Allele Database","min":0,"max":1,"type":"Extension","url":"http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-allele-database","index":0},"max":1},"glstring":{"match":{},"schema":{"short":"Glstring","min":0,"max":1,"type":"Extension","url":"http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-glstring","index":1},"max":1},"haploid":{"match":{},"schema":{"short":"Haploid","min":0,"max":"*","type":"Extension","url":"http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-haploid","index":2}},"method":{"match":{},"schema":{"short":"The platform, methodology and software applied at the time of the\\rgenotyping","min":0,"max":1,"type":"Extension","url":"http://hl7.org/fhir/StructureDefinition/hla-genotyping-results-method","index":3},"max":1}}}}},"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"http-response-header","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/http-response-header","version":"4.0.1","description":"In a transaction, every single interaction can have multiple HTTP response headers returned as a result of the interaction.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/http-response-header"},"type":"uri","index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"assembly-order","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/humanname-assembly-order","version":"4.0.1","description":"A code that represents the preferred display order of the components of this human name.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/humanname-assembly-order"},"type":"uri","index":1},"value":{"choices":["valueCode"],"index":3},"valueCode":{"type":"code","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"fathers-family","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/humanname-fathers-family","version":"4.0.1","description":"The portion of the family name that is derived from the person's father.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/humanname-fathers-family"},"type":"uri","index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"mothers-family","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/humanname-mothers-family","version":"4.0.1","description":"The portion of the family name that is derived from the person's mother.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/humanname-mothers-family"},"type":"uri","index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"own-name","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/humanname-own-name","version":"4.0.1","description":"The portion of the family name that is derived from the person's own surname, as distinguished from any portion that is derived from the surname of the person's partner or spouse.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/humanname-own-name"},"type":"uri","index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"own-prefix","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/humanname-own-prefix","version":"4.0.1","description":"The prefix portion (e.g. voorvoegsel) of the family name that is derived from the person's own surname, as distinguished from any portion that is derived from the surname of the person's partner or spouse.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/humanname-own-prefix"},"type":"uri","index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"partner-name","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/humanname-partner-name","version":"4.0.1","description":"The portion of the family name that is derived from the person's partner's surname, as distinguished from any portion that is derived from the surname of the person's own name.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/humanname-partner-name"},"type":"uri","index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"partner-prefix","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/humanname-partner-prefix","version":"4.0.1","description":"The prefix portion (e.g. voorvoegsel) of the family name that is derived from the person's partner's surname, as distinguished from any portion that is derived from the surname of the person's own.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/humanname-partner-prefix"},"type":"uri","index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"http-response-header","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/http-response-header","version":"4.0.1","description":"In a transaction, every single interaction can have multiple HTTP response headers returned as a result of the interaction.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/http-response-header"},"index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"assembly-order","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/humanname-assembly-order","version":"4.0.1","description":"A code that represents the preferred display order of the components of this human name.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/humanname-assembly-order"},"index":1},"value":{"choices":["valueCode"],"index":3},"valueCode":{"type":"code","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"fathers-family","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/humanname-fathers-family","version":"4.0.1","description":"The portion of the family name that is derived from the person's father.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/humanname-fathers-family"},"index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"mothers-family","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/humanname-mothers-family","version":"4.0.1","description":"The portion of the family name that is derived from the person's mother.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/humanname-mothers-family"},"index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"own-name","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/humanname-own-name","version":"4.0.1","description":"The portion of the family name that is derived from the person's own surname, as distinguished from any portion that is derived from the surname of the person's partner or spouse.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/humanname-own-name"},"index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"own-prefix","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/humanname-own-prefix","version":"4.0.1","description":"The prefix portion (e.g. voorvoegsel) of the family name that is derived from the person's own surname, as distinguished from any portion that is derived from the surname of the person's partner or spouse.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/humanname-own-prefix"},"index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"partner-name","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/humanname-partner-name","version":"4.0.1","description":"The portion of the family name that is derived from the person's partner's surname, as distinguished from any portion that is derived from the surname of the person's own name.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/humanname-partner-name"},"index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"partner-prefix","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/humanname-partner-prefix","version":"4.0.1","description":"The prefix portion (e.g. voorvoegsel) of the family name that is derived from the person's partner's surname, as distinguished from any portion that is derived from the surname of the person's own.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/humanname-partner-prefix"},"index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"HumanName","type":"HumanName","kind":"complex-type","class":"complex-type","url":"http://hl7.org/fhir/StructureDefinition/HumanName","version":"4.0.1","description":"Base StructureDefinition for HumanName Type: A human's name with the ability to identify parts and usage.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/Element","elements":{"use":{"short":"usual | official | temp | nickname | anonymous | old | maiden","type":"code","isModifier":true,"isModifierReason":"This is labeled as \\"Is Modifier\\" because applications should not mistake a temporary or old name etc.for a current/permanent one","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/name-use|4.0.1","bindingName":"NameUse"},"index":0},"text":{"short":"Text representation of the full name","type":"string","isSummary":true,"index":1},"family":{"short":"Family name (often called 'Surname')","type":"string","isSummary":true,"index":2},"given":{"short":"Given names (not always 'first'). Includes middle names","type":"string","orderMeaning":"Given Names appear in the correct order for presenting the name","isSummary":true,"array":true,"index":3},"prefix":{"short":"Parts that come before the name","type":"string","orderMeaning":"Prefixes appear in the correct order for presenting the name","isSummary":true,"array":true,"index":4},"suffix":{"short":"Parts that come after the name","type":"string","orderMeaning":"Suffixes appear in the correct order for presenting the name","isSummary":true,"array":true,"index":5},"period":{"short":"Time period when name was/is in use","type":"Period","isSummary":true,"index":6}},"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"id","type":"id","kind":"primitive-type","class":"primitive-type","url":"http://hl7.org/fhir/StructureDefinition/id","version":"4.0.1","description":"Base StructureDefinition for id type: Any combination of letters, numerals, \\"-\\" and \\".\\", with a length limit of 64 characters. (This might be an integer, an unprefixed OID, UUID or any other identifier pattern that meets these constraints.) Ids are case-insensitive.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/string","package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"validDate","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/identifier-validDate","version":"4.0.1","description":"Indicates a date on which this identifier value was deemed to apply to this instance.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/identifier-validDate"},"type":"uri","index":1},"value":{"choices":["valueDateTime"],"index":3},"valueDateTime":{"type":"dateTime","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"validDate","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/identifier-validDate","version":"4.0.1","description":"Indicates a date on which this identifier value was deemed to apply to this instance.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/identifier-validDate"},"index":1},"value":{"choices":["valueDateTime"],"index":3},"valueDateTime":{"type":"dateTime","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"Identifier","type":"Identifier","kind":"complex-type","class":"complex-type","url":"http://hl7.org/fhir/StructureDefinition/Identifier","version":"4.0.1","description":"Base StructureDefinition for Identifier Type: An identifier - identifies some entity uniquely and unambiguously. Typically this is used for business identifiers.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/Element","elements":{"use":{"short":"usual | official | temp | secondary | old (If known)","type":"code","isModifier":true,"isModifierReason":"This is labeled as \\"Is Modifier\\" because applications should not mistake a temporary id for a permanent one.","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/identifier-use|4.0.1","bindingName":"IdentifierUse"},"index":0},"type":{"short":"Description of identifier","type":"CodeableConcept","isSummary":true,"binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/ValueSet/identifier-type","bindingName":"IdentifierType"},"index":1},"system":{"short":"The namespace for the identifier value","type":"uri","isSummary":true,"index":2},"value":{"short":"The value that is unique","type":"string","isSummary":true,"index":3},"period":{"short":"Time period when id is/was valid for use","type":"Period","isSummary":true,"index":4},"assigner":{"short":"Organization that issued id (may be just text)","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Organization"],"index":5}},"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"ImagingStudy","type":"ImagingStudy","kind":"resource","class":"resource","url":"http://hl7.org/fhir/StructureDefinition/ImagingStudy","version":"4.0.1","description":"Representation of the content produced in a DICOM imaging study. A study comprises a set of series, each of which includes a set of Service-Object Pair Instances (SOP Instances - images or other data) acquired or produced in a common context. A series is of only one modality (e.g. X-ray, CT, MR, ultrasound), but a study may have multiple series of different modalities.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/DomainResource","elements":{"identifier":{"short":"Identifiers for the whole study","type":"Identifier","isSummary":true,"array":true,"index":0},"status":{"short":"registered | available | cancelled | entered-in-error | unknown","type":"code","isModifier":true,"isModifierReason":"This element is labelled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/imagingstudy-status|4.0.1","bindingName":"ImagingStudyStatus"},"index":1},"modality":{"short":"All series modality if actual acquisition modalities","type":"Coding","isSummary":true,"binding":{"strength":"extensible","valueSet":"http://dicom.nema.org/medical/dicom/current/output/chtml/part16/sect_CID_29.html","bindingName":"ImagingModality"},"array":true,"index":2},"subject":{"short":"Who or what is the subject of the study","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Device","http://hl7.org/fhir/StructureDefinition/Group","http://hl7.org/fhir/StructureDefinition/Patient"],"index":3},"encounter":{"short":"Encounter with which this imaging study is associated","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Encounter"],"index":4},"started":{"short":"When the study was started","type":"dateTime","isSummary":true,"index":5},"basedOn":{"short":"Request fulfilled","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Appointment","http://hl7.org/fhir/StructureDefinition/AppointmentResponse","http://hl7.org/fhir/StructureDefinition/CarePlan","http://hl7.org/fhir/StructureDefinition/ServiceRequest","http://hl7.org/fhir/StructureDefinition/Task"],"array":true,"index":6},"referrer":{"short":"Referring physician","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole"],"index":7},"interpreter":{"short":"Who interpreted images","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole"],"array":true,"index":8},"endpoint":{"short":"Study access endpoint","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Endpoint"],"array":true,"index":9},"numberOfSeries":{"short":"Number of Study Related Series","type":"unsignedInt","isSummary":true,"index":10},"numberOfInstances":{"short":"Number of Study Related Instances","type":"unsignedInt","isSummary":true,"index":11},"procedureReference":{"short":"The performed Procedure reference","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Procedure"],"index":12},"procedureCode":{"short":"The performed procedure code","type":"CodeableConcept","isSummary":true,"binding":{"strength":"extensible","valueSet":"http://www.rsna.org/RadLex_Playbook.aspx","bindingName":"ImagingProcedureCode"},"array":true,"index":13},"location":{"short":"Where ImagingStudy occurred","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Location"],"index":14},"reasonCode":{"short":"Why the study was requested","type":"CodeableConcept","isSummary":true,"binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/procedure-reason","bindingName":"ImagingReason"},"array":true,"index":15},"reasonReference":{"short":"Why was study performed","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Condition","http://hl7.org/fhir/StructureDefinition/DiagnosticReport","http://hl7.org/fhir/StructureDefinition/DocumentReference","http://hl7.org/fhir/StructureDefinition/Media","http://hl7.org/fhir/StructureDefinition/Observation"],"array":true,"index":16},"note":{"short":"User-defined comments","type":"Annotation","isSummary":true,"array":true,"index":17},"description":{"short":"Institution-generated description","type":"string","isSummary":true,"index":18},"series":{"short":"Each study has one or more series of instances","type":"BackboneElement","isSummary":true,"array":true,"index":19,"elements":{"uid":{"short":"DICOM Series Instance UID for the series","type":"id","isSummary":true,"index":20},"number":{"short":"Numeric identifier of this series","type":"unsignedInt","isSummary":true,"index":21},"modality":{"short":"The modality of the instances in the series","type":"Coding","isSummary":true,"binding":{"strength":"extensible","valueSet":"http://dicom.nema.org/medical/dicom/current/output/chtml/part16/sect_CID_29.html","bindingName":"ImagingModality"},"index":22},"description":{"short":"A short human readable summary of the series","type":"string","isSummary":true,"index":23},"numberOfInstances":{"short":"Number of Series Related Instances","type":"unsignedInt","isSummary":true,"index":24},"endpoint":{"short":"Series access endpoint","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Endpoint"],"array":true,"index":25},"bodySite":{"short":"Body part examined","type":"Coding","isSummary":true,"binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/body-site","bindingName":"BodySite"},"index":26},"laterality":{"short":"Body part laterality","type":"Coding","isSummary":true,"binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/bodysite-laterality","bindingName":"Laterality"},"index":27},"specimen":{"short":"Specimen imaged","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Specimen"],"array":true,"index":28},"started":{"short":"When the series started","type":"dateTime","isSummary":true,"index":29},"performer":{"short":"Who performed the series","type":"BackboneElement","isSummary":true,"array":true,"index":30,"elements":{"function":{"short":"Type of performance","type":"CodeableConcept","isSummary":true,"binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/ValueSet/series-performer-function","bindingName":"EventPerformerFunction"},"index":31},"actor":{"short":"Who performed the series","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/CareTeam","http://hl7.org/fhir/StructureDefinition/Device","http://hl7.org/fhir/StructureDefinition/Organization","http://hl7.org/fhir/StructureDefinition/Patient","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole","http://hl7.org/fhir/StructureDefinition/RelatedPerson"],"index":32}},"required":["actor"]},"instance":{"short":"A single SOP instance from the series","type":"BackboneElement","array":true,"index":33,"elements":{"uid":{"short":"DICOM SOP Instance UID","type":"id","index":34},"sopClass":{"short":"DICOM class type","type":"Coding","binding":{"strength":"extensible","valueSet":"http://dicom.nema.org/medical/dicom/current/output/chtml/part04/sect_B.5.html#table_B.5-1","bindingName":"sopClass"},"index":35},"number":{"short":"The number of this instance in the series","type":"unsignedInt","index":36},"title":{"short":"Description of instance","type":"string","index":37}},"required":["sopClass","uid"]}},"required":["modality","uid"]}},"required":["status","subject"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"Immunization","type":"Immunization","kind":"resource","class":"resource","url":"http://hl7.org/fhir/StructureDefinition/Immunization","version":"4.0.1","description":"Describes the event of a patient being administered a vaccine or a record of an immunization as reported by a patient, a clinician or another party.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/DomainResource","elements":{"identifier":{"short":"Business identifier","type":"Identifier","array":true,"index":0},"status":{"short":"completed | entered-in-error | not-done","type":"code","isModifier":true,"isModifierReason":"This element is labeled as a modifier because it is a status element that contains statuses entered-in-error and not-done which means that the resource should not be treated as valid","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/immunization-status|4.0.1","bindingName":"ImmunizationStatus"},"index":1},"statusReason":{"short":"Reason not done","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/immunization-status-reason","bindingName":"ImmunizationStatusReason"},"index":2},"vaccineCode":{"short":"Vaccine product administered","type":"CodeableConcept","isSummary":true,"binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/vaccine-code","bindingName":"VaccineCode"},"index":3},"patient":{"short":"Who was immunized","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Patient"],"index":4},"encounter":{"short":"Encounter immunization was part of","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Encounter"],"index":5},"occurrence":{"short":"Vaccine administration date","isSummary":true,"choices":["occurrenceDateTime","occurrenceString"],"index":7},"occurrenceDateTime":{"short":"Vaccine administration date","type":"dateTime","isSummary":true,"choiceOf":"occurrence","index":8},"occurrenceString":{"short":"Vaccine administration date","type":"string","isSummary":true,"choiceOf":"occurrence","index":9},"recorded":{"short":"When the immunization was first captured in the subject's record","type":"dateTime","isSummary":false,"index":10},"primarySource":{"short":"Indicates context the data was recorded in","type":"boolean","isSummary":true,"index":11},"reportOrigin":{"short":"Indicates the source of a secondarily reported record","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/immunization-origin","bindingName":"ImmunizationReportOrigin"},"index":12},"location":{"short":"Where immunization occurred","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Location"],"index":13},"manufacturer":{"short":"Vaccine manufacturer","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Organization"],"index":14},"lotNumber":{"short":"Vaccine lot number","type":"string","index":15},"expirationDate":{"short":"Vaccine expiration date","type":"date","index":16},"site":{"short":"Body site vaccine was administered","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/immunization-site","bindingName":"ImmunizationSite"},"index":17},"route":{"short":"How vaccine entered body","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/immunization-route","bindingName":"ImmunizationRoute"},"index":18},"doseQuantity":{"short":"Amount of vaccine administered","type":"Quantity","index":19},"performer":{"short":"Who performed event","type":"BackboneElement","isSummary":true,"array":true,"index":20,"elements":{"function":{"short":"What type of performance was done","type":"CodeableConcept","isSummary":true,"binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/ValueSet/immunization-function","bindingName":"ImmunizationFunction"},"index":21},"actor":{"short":"Individual or organization who was performing","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Organization","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole"],"index":22}},"required":["actor"]},"note":{"short":"Additional immunization notes","type":"Annotation","isSummary":true,"array":true,"index":23},"reasonCode":{"short":"Why immunization occurred","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/immunization-reason","bindingName":"ImmunizationReason"},"array":true,"index":24},"reasonReference":{"short":"Why immunization occurred","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Condition","http://hl7.org/fhir/StructureDefinition/DiagnosticReport","http://hl7.org/fhir/StructureDefinition/Observation"],"array":true,"index":25},"isSubpotent":{"short":"Dose potency","type":"boolean","meaningWhenMissing":"By default, a dose should be considered to be potent.","isModifier":true,"isModifierReason":"This element is labeled as a modifier because an immunization event with a subpotent vaccine doesn't protect the patient the same way as a potent dose.","isSummary":true,"index":26},"subpotentReason":{"short":"Reason for being subpotent","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/immunization-subpotent-reason","bindingName":"SubpotentReason"},"array":true,"index":27},"education":{"short":"Educational material presented to patient","type":"BackboneElement","constraint":{"imm-1":{"expression":"documentType.exists() or reference.exists()","human":"One of documentType or reference SHALL be present","severity":"error"}},"array":true,"index":28,"elements":{"documentType":{"short":"Educational material document identifier","type":"string","index":29},"reference":{"short":"Educational material reference pointer","type":"uri","index":30},"publicationDate":{"short":"Educational material publication date","type":"dateTime","index":31},"presentationDate":{"short":"Educational material presentation date","type":"dateTime","index":32}}},"programEligibility":{"short":"Patient eligibility for a vaccination program","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/immunization-program-eligibility","bindingName":"ProgramEligibility"},"array":true,"index":33},"fundingSource":{"short":"Funding source for the vaccine","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/immunization-funding-source","bindingName":"FundingSource"},"index":34},"reaction":{"short":"Details of a reaction that follows immunization","type":"BackboneElement","array":true,"index":35,"elements":{"date":{"short":"When reaction started","type":"dateTime","index":36},"detail":{"short":"Additional information on reaction","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Observation"],"index":37},"reported":{"short":"Indicates self-reported reaction","type":"boolean","index":38}}},"protocolApplied":{"short":"Protocol followed by the provider","type":"BackboneElement","array":true,"index":39,"elements":{"series":{"short":"Name of vaccine series","type":"string","index":40},"authority":{"short":"Who is responsible for publishing the recommendations","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Organization"],"index":41},"targetDisease":{"short":"Vaccine preventatable disease being targetted","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/immunization-target-disease","bindingName":"TargetDisease"},"array":true,"index":42},"doseNumber":{"short":"Dose number within series","choices":["doseNumberPositiveInt","doseNumberString"],"index":44},"doseNumberPositiveInt":{"short":"Dose number within series","type":"positiveInt","choiceOf":"doseNumber","index":45},"doseNumberString":{"short":"Dose number within series","type":"string","choiceOf":"doseNumber","index":46},"seriesDoses":{"short":"Recommended number of doses for immunity","choices":["seriesDosesPositiveInt","seriesDosesString"],"index":48},"seriesDosesPositiveInt":{"short":"Recommended number of doses for immunity","type":"positiveInt","choiceOf":"seriesDoses","index":49},"seriesDosesString":{"short":"Recommended number of doses for immunity","type":"string","choiceOf":"seriesDoses","index":50}},"required":["doseNumber"]}},"required":["occurrence","patient","status","vaccineCode"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} @@ -1034,55 +1034,55 @@ exports[`IntrospectionWriter - Fhir Schema Output Check all introspection data i {"name":"InsurancePlan","type":"InsurancePlan","kind":"resource","class":"resource","url":"http://hl7.org/fhir/StructureDefinition/InsurancePlan","version":"4.0.1","description":"Details of a Health Insurance product/plan provided by an organization.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/DomainResource","elements":{"identifier":{"short":"Business Identifier for Product","type":"Identifier","isSummary":true,"array":true,"index":0},"status":{"short":"draft | active | retired | unknown","type":"code","meaningWhenMissing":"Default interpretation is active.","isModifier":true,"isModifierReason":"This element is labeled as a modifier because it is a status element that contains codes which means that the resource should not be treated as valid","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/publication-status|4.0.1","bindingName":"PublicationStatus"},"index":1},"type":{"short":"Kind of product","type":"CodeableConcept","isSummary":true,"binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/insuranceplan-type","bindingName":"InsurancePlanType"},"array":true,"index":2},"name":{"short":"Official name","type":"string","isSummary":true,"index":3},"alias":{"short":"Alternate names","type":"string","array":true,"index":4},"period":{"short":"When the product is available","type":"Period","index":5},"ownedBy":{"short":"Plan issuer","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Organization"],"index":6},"administeredBy":{"short":"Product administrator","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Organization"],"index":7},"coverageArea":{"short":"Where product applies","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Location"],"array":true,"index":8},"contact":{"short":"Contact for the product","type":"BackboneElement","array":true,"index":9,"elements":{"purpose":{"short":"The type of contact","type":"CodeableConcept","binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/ValueSet/contactentity-type","bindingName":"ContactPartyType"},"index":10},"name":{"short":"A name associated with the contact","type":"HumanName","index":11},"telecom":{"short":"Contact details (telephone, email, etc.) for a contact","type":"ContactPoint","array":true,"index":12},"address":{"short":"Visiting or postal addresses for the contact","type":"Address","index":13}}},"endpoint":{"short":"Technical endpoint","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Endpoint"],"array":true,"index":14},"network":{"short":"What networks are Included","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Organization"],"array":true,"index":15},"coverage":{"short":"Coverage details","type":"BackboneElement","array":true,"index":16,"elements":{"type":{"short":"Type of coverage","type":"CodeableConcept","index":17},"network":{"short":"What networks provide coverage","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Organization"],"array":true,"index":18},"benefit":{"short":"List of benefits","type":"BackboneElement","array":true,"min":1,"index":19,"elements":{"type":{"short":"Type of benefit","type":"CodeableConcept","index":20},"requirement":{"short":"Referral requirements","type":"string","index":21},"limit":{"short":"Benefit limits","type":"BackboneElement","array":true,"index":22,"elements":{"value":{"short":"Maximum value allowed","type":"Quantity","index":23},"code":{"short":"Benefit limit details","type":"CodeableConcept","index":24}}}},"required":["type"]}},"required":["benefit","type"]},"plan":{"short":"Plan details","type":"BackboneElement","array":true,"index":25,"elements":{"identifier":{"short":"Business Identifier for Product","type":"Identifier","isSummary":true,"array":true,"index":26},"type":{"short":"Type of plan","type":"CodeableConcept","index":27},"coverageArea":{"short":"Where product applies","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Location"],"array":true,"index":28},"network":{"short":"What networks provide coverage","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Organization"],"array":true,"index":29},"generalCost":{"short":"Overall costs","type":"BackboneElement","array":true,"index":30,"elements":{"type":{"short":"Type of cost","type":"CodeableConcept","index":31},"groupSize":{"short":"Number of enrollees","type":"positiveInt","index":32},"cost":{"short":"Cost value","type":"Money","index":33},"comment":{"short":"Additional cost information","type":"string","index":34}}},"specificCost":{"short":"Specific costs","type":"BackboneElement","array":true,"index":35,"elements":{"category":{"short":"General category of benefit","type":"CodeableConcept","index":36},"benefit":{"short":"Benefits list","type":"BackboneElement","array":true,"index":37,"elements":{"type":{"short":"Type of specific benefit","type":"CodeableConcept","index":38},"cost":{"short":"List of the costs","type":"BackboneElement","array":true,"index":39,"elements":{"type":{"short":"Type of cost","type":"CodeableConcept","index":40},"applicability":{"short":"in-network | out-of-network | other","type":"CodeableConcept","binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/insuranceplan-applicability|4.0.1","bindingName":"BenefitCostApplicability"},"index":41},"qualifiers":{"short":"Additional information about the cost","type":"CodeableConcept","array":true,"index":42},"value":{"short":"The actual cost value","type":"Quantity","index":43}},"required":["type"]}},"required":["type"]}},"required":["category"]}}}},"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"integer","type":"integer","kind":"primitive-type","class":"primitive-type","url":"http://hl7.org/fhir/StructureDefinition/integer","version":"4.0.1","description":"Base StructureDefinition for integer Type: A whole number","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/Element","package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"Invoice","type":"Invoice","kind":"resource","class":"resource","url":"http://hl7.org/fhir/StructureDefinition/Invoice","version":"4.0.1","description":"Invoice containing collected ChargeItems from an Account with calculated individual and total price for Billing purpose.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/DomainResource","elements":{"identifier":{"short":"Business Identifier for item","type":"Identifier","isSummary":true,"array":true,"index":0},"status":{"short":"draft | issued | balanced | cancelled | entered-in-error","type":"code","isModifier":true,"isModifierReason":"This element is labelled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/invoice-status|4.0.1","bindingName":"InvoiceStatus"},"index":1},"cancelledReason":{"short":"Reason for cancellation of this Invoice","type":"string","isSummary":false,"index":2},"type":{"short":"Type of Invoice","type":"CodeableConcept","isSummary":true,"index":3},"subject":{"short":"Recipient(s) of goods and services","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Group","http://hl7.org/fhir/StructureDefinition/Patient"],"index":4},"recipient":{"short":"Recipient of this invoice","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Organization","http://hl7.org/fhir/StructureDefinition/Patient","http://hl7.org/fhir/StructureDefinition/RelatedPerson"],"index":5},"date":{"short":"Invoice date / posting date","type":"dateTime","isSummary":true,"index":6},"participant":{"short":"Participant in creation of this Invoice","type":"BackboneElement","isSummary":false,"array":true,"index":7,"elements":{"role":{"short":"Type of involvement in creation of this Invoice","type":"CodeableConcept","isSummary":false,"index":8},"actor":{"short":"Individual who was involved","type":"Reference","isSummary":false,"refers":["http://hl7.org/fhir/StructureDefinition/Device","http://hl7.org/fhir/StructureDefinition/Organization","http://hl7.org/fhir/StructureDefinition/Patient","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole","http://hl7.org/fhir/StructureDefinition/RelatedPerson"],"index":9}},"required":["actor"]},"issuer":{"short":"Issuing Organization of Invoice","type":"Reference","isSummary":false,"refers":["http://hl7.org/fhir/StructureDefinition/Organization"],"index":10},"account":{"short":"Account that is being balanced","type":"Reference","isSummary":false,"refers":["http://hl7.org/fhir/StructureDefinition/Account"],"index":11},"lineItem":{"short":"Line items of this Invoice","type":"BackboneElement","isSummary":false,"array":true,"index":12,"elements":{"sequence":{"short":"Sequence number of line item","type":"positiveInt","isSummary":false,"index":13},"chargeItem":{"short":"Reference to ChargeItem containing details of this line item or an inline billing code","isSummary":false,"choices":["chargeItemReference","chargeItemCodeableConcept"],"index":15},"chargeItemReference":{"short":"Reference to ChargeItem containing details of this line item or an inline billing code","type":"Reference","isSummary":false,"choiceOf":"chargeItem","refers":["http://hl7.org/fhir/StructureDefinition/ChargeItem"],"index":16},"chargeItemCodeableConcept":{"short":"Reference to ChargeItem containing details of this line item or an inline billing code","type":"CodeableConcept","isSummary":false,"choiceOf":"chargeItem","index":17},"priceComponent":{"short":"Components of total line item price","type":"BackboneElement","isSummary":false,"array":true,"index":18,"elements":{"type":{"short":"base | surcharge | deduction | discount | tax | informational","type":"code","isSummary":false,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/invoice-priceComponentType|4.0.1","bindingName":"InvoicePriceComponentType"},"index":19},"code":{"short":"Code identifying the specific component","type":"CodeableConcept","isSummary":false,"index":20},"factor":{"short":"Factor used for calculating this component","type":"decimal","isSummary":false,"index":21},"amount":{"short":"Monetary amount associated with this component","type":"Money","isSummary":false,"index":22}},"required":["type"]}},"required":["chargeItem"]},"totalPriceComponent":{"short":"Components of Invoice total","isSummary":false,"elementReference":["http://hl7.org/fhir/StructureDefinition/Invoice","elements","lineItem","elements","priceComponent"],"array":true,"index":23},"totalNet":{"short":"Net total of this Invoice","type":"Money","isSummary":true,"index":24},"totalGross":{"short":"Gross total of this Invoice","type":"Money","isSummary":true,"index":25},"paymentTerms":{"short":"Payment details","type":"markdown","isSummary":false,"index":26},"note":{"short":"Comments made about the invoice","type":"Annotation","isSummary":false,"array":true,"index":27}},"required":["status"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"AD-use","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/iso21090-AD-use","version":"4.0.1","description":"Uses of Addresses - codes not defined as part of Address.use.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/iso21090-AD-use"},"type":"uri","index":1},"value":{"choices":["valueCode"],"index":3},"valueCode":{"type":"code","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"ADXP-additionalLocator","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator","version":"4.0.1","description":"This can be a unit designator, such as apartment number, suite number, or floor. There may be several unit designators in an address (e.g., \\"3rd floor, Appt. 342\\"). This can also be a designator pointing away from the location, rather than specifying a smaller location within some larger one (e.g., Dutch \\"t.o.\\" means \\"opposite to\\" for house boats located across the street facing houses).","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"},"type":"uri","index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"ADXP-buildingNumberSuffix","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-buildingNumberSuffix","version":"4.0.1","description":"Any alphabetic character, fraction or other text that may appear after the numeric portion of a building number.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-buildingNumberSuffix"},"type":"uri","index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"ADXP-careOf","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-careOf","version":"4.0.1","description":"The name of the party who will take receipt at the specified address, and will take on responsibility for ensuring delivery to the target recipient.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-careOf"},"type":"uri","index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"ADXP-censusTract","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-censusTract","version":"4.0.1","description":"A geographic sub-unit delineated for demographic purposes.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-censusTract"},"type":"uri","index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"ADXP-delimiter","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-delimiter","version":"4.0.1","description":"Delimiters are printed without framing white space. If no value component is provided, the delimiter appears as a line break.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-delimiter"},"type":"uri","index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"ADXP-deliveryAddressLine","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryAddressLine","version":"4.0.1","description":"A delivery address line is frequently used instead of breaking out delivery mode, delivery installation, etc. An address generally has only a delivery address line or a street address line, but not both.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryAddressLine"},"type":"uri","index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"ADXP-deliveryInstallationArea","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryInstallationArea","version":"4.0.1","description":"The location of the delivery installation, usually a town or city, and is only required if the area is different from the municipality. Area to which mail delivery service is provided from any postal facility or service such as an individual letter carrier, rural route, or postal route.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryInstallationArea"},"type":"uri","index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"ADXP-deliveryInstallationQualifier","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryInstallationQualifier","version":"4.0.1","description":"A number, letter or name identifying a delivery installation. For example, for Station A, the delivery installation qualifier would be 'A'.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryInstallationQualifier"},"type":"uri","index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"ADXP-deliveryInstallationType","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryInstallationType","version":"4.0.1","description":"Indicates the type of delivery installation (the facility to which the mail will be delivered prior to final shipping via the delivery mode.) Example: post office, letter carrier depot, community mail center, station, etc.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryInstallationType"},"type":"uri","index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"ADXP-deliveryMode","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryMode","version":"4.0.1","description":"Indicates the type of service offered, method of delivery. For example: post office box, rural route, general delivery, etc.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryMode"},"type":"uri","index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"ADXP-deliveryModeIdentifier","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryModeIdentifier","version":"4.0.1","description":"Represents the routing information such as a letter carrier route number. It is the identifying number of the designator (the box number or rural route number).","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryModeIdentifier"},"type":"uri","index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"ADXP-direction","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-direction","version":"4.0.1","description":"Direction (e.g., N, S, W, E).","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-direction"},"type":"uri","index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"ADXP-houseNumber","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber","version":"4.0.1","description":"The number of a building, house or lot alongside the street. Also known as \\"primary street number\\". This does not number the street but rather the building.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"},"type":"uri","index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"ADXP-houseNumberNumeric","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumberNumeric","version":"4.0.1","description":"The numeric portion of a building number.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumberNumeric"},"type":"uri","index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"ADXP-postBox","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-postBox","version":"4.0.1","description":"A numbered box located in a post station.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-postBox"},"type":"uri","index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"ADXP-precinct","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-precinct","version":"4.0.1","description":"A subsection of a municipality.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-precinct"},"type":"uri","index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"ADXP-streetAddressLine","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetAddressLine","version":"4.0.1","description":"A street address line is frequently used instead of breaking out building number, street name, street type, etc. An address generally has only a delivery address line or a street address line, but not both.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetAddressLine"},"type":"uri","index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"ADXP-streetName","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName","version":"4.0.1","description":"streetName.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"},"type":"uri","index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"ADXP-streetNameBase","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetNameBase","version":"4.0.1","description":"The base name of a roadway or artery recognized by a municipality (excluding street type and direction).","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetNameBase"},"type":"uri","index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"ADXP-streetNameType","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetNameType","version":"4.0.1","description":"The designation given to the street. (e.g. Street, Avenue, Crescent, etc.).","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetNameType"},"type":"uri","index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"ADXP-unitID","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-unitID","version":"4.0.1","description":"The number or name of a specific unit contained within a building or complex, as assigned by that building or complex.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-unitID"},"type":"uri","index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"ADXP-unitType","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-unitType","version":"4.0.1","description":"Indicates the type of specific unit contained within a building or complex. E.g. Appartment, Floor.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-unitType"},"type":"uri","index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"EN-qualifier","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier","version":"4.0.1","description":"A set of codes each of which specifies a certain subcategory of the name part in addition to the main name part type.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"},"type":"uri","index":1},"value":{"choices":["valueCode"],"index":3},"valueCode":{"type":"code","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"EN-representation","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/iso21090-EN-representation","version":"4.0.1","description":"Name Representation.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/iso21090-EN-representation"},"type":"uri","index":1},"value":{"choices":["valueCode"],"index":3},"valueCode":{"type":"code","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"EN-use","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/iso21090-EN-use","version":"4.0.1","description":"A set of codes advising a system or user which name in a set of names to select for a given purpose.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/iso21090-EN-use"},"type":"uri","index":1},"value":{"choices":["valueCode"],"index":3},"valueCode":{"type":"code","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"nullFlavor","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/iso21090-nullFlavor","version":"4.0.1","description":"If the value is not a proper value, indicates the reason.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/iso21090-nullFlavor"},"type":"uri","index":1},"value":{"choices":["valueCode"],"index":3},"valueCode":{"type":"code","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"PQ-translation","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/iso21090-PQ-translation","version":"4.0.1","description":"An alternative representation of the same physical quantity expressed in a different unit from a different unit code system and possibly with a different value.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/iso21090-PQ-translation"},"type":"uri","index":1},"value":{"choices":["valueQuantity"],"index":3},"valueQuantity":{"type":"Quantity","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"preferred","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/iso21090-preferred","version":"4.0.1","description":"Flag denoting whether parent item is preferred - e.g., a preferred address or telephone number.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/iso21090-preferred"},"type":"uri","index":1},"value":{"choices":["valueBoolean"],"index":3},"valueBoolean":{"type":"boolean","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"SC-coding","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/iso21090-SC-coding","version":"4.0.1","description":"Provides a coded expression for the content represented in a string.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/iso21090-SC-coding"},"type":"uri","index":1},"value":{"choices":["valueCoding"],"index":3},"valueCoding":{"type":"Coding","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"TEL-address","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/iso21090-TEL-address","version":"4.0.1","description":"A V3 compliant, RFC 3966 conformant URI version of the telephone or fax number.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/iso21090-TEL-address"},"type":"uri","index":1},"value":{"choices":["valueUrl"],"index":3},"valueUrl":{"type":"url","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"uncertainty","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/iso21090-uncertainty","version":"4.0.1","description":"The primary measure of variance/uncertainty of the value (the square root of the sum of the squares of the differences between all data points and the mean).","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/iso21090-uncertainty"},"type":"uri","index":1},"value":{"choices":["valueDecimal"],"index":3},"valueDecimal":{"type":"decimal","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"uncertaintyType","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/iso21090-uncertaintyType","version":"4.0.1","description":"A code specifying the type of probability distribution for the uncertainty.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/iso21090-uncertaintyType"},"type":"uri","index":1},"value":{"choices":["valueCode"],"index":3},"valueCode":{"type":"code","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"Human Language","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/language","version":"4.0.1","description":"The Human Language of the item.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/language"},"type":"uri","index":1},"value":{"choices":["valueCode"],"index":3},"valueCode":{"type":"code","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"Example Lipid Profile","type":"Observation","kind":"resource","class":"profile","url":"http://hl7.org/fhir/StructureDefinition/ldlcholesterol","version":"4.0.1","description":"LDL Cholesterol Result","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Observation","elements":{"code":{"short":"LDL Cholesterol -measured or calculated per code","type":"CodeableConcept","mustSupport":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/ldlcholesterol-codes|4.0.1","bindingName":"LDLCodes"},"index":0},"valueQuantity":{"short":"LDL Cholesterol value","type":"Quantity","mustSupport":true,"index":1},"interpretation":{"short":"+ | ++ | +++ | - | -- | ---","type":"CodeableConcept","mustSupport":true,"index":2},"note":{"short":"Comments about result","type":"Annotation","mustSupport":true,"array":true,"index":3},"referenceRange":{"mustSupport":true,"index":4,"elements":{"low":{"index":5},"high":{"type":"Quantity","pattern":{"type":"Quantity","value":{"value":3}},"index":6},"type":{"type":"CodeableConcept","index":7},"appliesTo":{"type":"CodeableConcept","index":8},"age":{"type":"Range","index":9}},"required":["high"]},"hasMember":{"index":10},"derivedFrom":{"index":11}},"required":["code","referenceRange"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"AD-use","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/iso21090-AD-use","version":"4.0.1","description":"Uses of Addresses - codes not defined as part of Address.use.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/iso21090-AD-use"},"index":1},"value":{"choices":["valueCode"],"index":3},"valueCode":{"type":"code","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"ADXP-additionalLocator","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator","version":"4.0.1","description":"This can be a unit designator, such as apartment number, suite number, or floor. There may be several unit designators in an address (e.g., \\"3rd floor, Appt. 342\\"). This can also be a designator pointing away from the location, rather than specifying a smaller location within some larger one (e.g., Dutch \\"t.o.\\" means \\"opposite to\\" for house boats located across the street facing houses).","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-additionalLocator"},"index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"ADXP-buildingNumberSuffix","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-buildingNumberSuffix","version":"4.0.1","description":"Any alphabetic character, fraction or other text that may appear after the numeric portion of a building number.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-buildingNumberSuffix"},"index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"ADXP-careOf","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-careOf","version":"4.0.1","description":"The name of the party who will take receipt at the specified address, and will take on responsibility for ensuring delivery to the target recipient.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-careOf"},"index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"ADXP-censusTract","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-censusTract","version":"4.0.1","description":"A geographic sub-unit delineated for demographic purposes.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-censusTract"},"index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"ADXP-delimiter","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-delimiter","version":"4.0.1","description":"Delimiters are printed without framing white space. If no value component is provided, the delimiter appears as a line break.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-delimiter"},"index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"ADXP-deliveryAddressLine","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryAddressLine","version":"4.0.1","description":"A delivery address line is frequently used instead of breaking out delivery mode, delivery installation, etc. An address generally has only a delivery address line or a street address line, but not both.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryAddressLine"},"index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"ADXP-deliveryInstallationArea","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryInstallationArea","version":"4.0.1","description":"The location of the delivery installation, usually a town or city, and is only required if the area is different from the municipality. Area to which mail delivery service is provided from any postal facility or service such as an individual letter carrier, rural route, or postal route.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryInstallationArea"},"index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"ADXP-deliveryInstallationQualifier","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryInstallationQualifier","version":"4.0.1","description":"A number, letter or name identifying a delivery installation. For example, for Station A, the delivery installation qualifier would be 'A'.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryInstallationQualifier"},"index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"ADXP-deliveryInstallationType","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryInstallationType","version":"4.0.1","description":"Indicates the type of delivery installation (the facility to which the mail will be delivered prior to final shipping via the delivery mode.) Example: post office, letter carrier depot, community mail center, station, etc.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryInstallationType"},"index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"ADXP-deliveryMode","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryMode","version":"4.0.1","description":"Indicates the type of service offered, method of delivery. For example: post office box, rural route, general delivery, etc.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryMode"},"index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"ADXP-deliveryModeIdentifier","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryModeIdentifier","version":"4.0.1","description":"Represents the routing information such as a letter carrier route number. It is the identifying number of the designator (the box number or rural route number).","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-deliveryModeIdentifier"},"index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"ADXP-direction","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-direction","version":"4.0.1","description":"Direction (e.g., N, S, W, E).","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-direction"},"index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"ADXP-houseNumber","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber","version":"4.0.1","description":"The number of a building, house or lot alongside the street. Also known as \\"primary street number\\". This does not number the street but rather the building.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumber"},"index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"ADXP-houseNumberNumeric","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumberNumeric","version":"4.0.1","description":"The numeric portion of a building number.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-houseNumberNumeric"},"index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"ADXP-postBox","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-postBox","version":"4.0.1","description":"A numbered box located in a post station.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-postBox"},"index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"ADXP-precinct","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-precinct","version":"4.0.1","description":"A subsection of a municipality.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-precinct"},"index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"ADXP-streetAddressLine","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetAddressLine","version":"4.0.1","description":"A street address line is frequently used instead of breaking out building number, street name, street type, etc. An address generally has only a delivery address line or a street address line, but not both.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetAddressLine"},"index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"ADXP-streetName","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName","version":"4.0.1","description":"streetName.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetName"},"index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"ADXP-streetNameBase","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetNameBase","version":"4.0.1","description":"The base name of a roadway or artery recognized by a municipality (excluding street type and direction).","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetNameBase"},"index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"ADXP-streetNameType","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetNameType","version":"4.0.1","description":"The designation given to the street. (e.g. Street, Avenue, Crescent, etc.).","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-streetNameType"},"index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"ADXP-unitID","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-unitID","version":"4.0.1","description":"The number or name of a specific unit contained within a building or complex, as assigned by that building or complex.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-unitID"},"index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"ADXP-unitType","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-unitType","version":"4.0.1","description":"Indicates the type of specific unit contained within a building or complex. E.g. Appartment, Floor.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/iso21090-ADXP-unitType"},"index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"EN-qualifier","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier","version":"4.0.1","description":"A set of codes each of which specifies a certain subcategory of the name part in addition to the main name part type.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/iso21090-EN-qualifier"},"index":1},"value":{"choices":["valueCode"],"index":3},"valueCode":{"type":"code","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"EN-representation","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/iso21090-EN-representation","version":"4.0.1","description":"Name Representation.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/iso21090-EN-representation"},"index":1},"value":{"choices":["valueCode"],"index":3},"valueCode":{"type":"code","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"EN-use","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/iso21090-EN-use","version":"4.0.1","description":"A set of codes advising a system or user which name in a set of names to select for a given purpose.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/iso21090-EN-use"},"index":1},"value":{"choices":["valueCode"],"index":3},"valueCode":{"type":"code","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"nullFlavor","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/iso21090-nullFlavor","version":"4.0.1","description":"If the value is not a proper value, indicates the reason.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/iso21090-nullFlavor"},"index":1},"value":{"choices":["valueCode"],"index":3},"valueCode":{"type":"code","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"PQ-translation","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/iso21090-PQ-translation","version":"4.0.1","description":"An alternative representation of the same physical quantity expressed in a different unit from a different unit code system and possibly with a different value.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/iso21090-PQ-translation"},"index":1},"value":{"choices":["valueQuantity"],"index":3},"valueQuantity":{"type":"Quantity","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"preferred","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/iso21090-preferred","version":"4.0.1","description":"Flag denoting whether parent item is preferred - e.g., a preferred address or telephone number.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/iso21090-preferred"},"index":1},"value":{"choices":["valueBoolean"],"index":3},"valueBoolean":{"type":"boolean","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"SC-coding","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/iso21090-SC-coding","version":"4.0.1","description":"Provides a coded expression for the content represented in a string.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/iso21090-SC-coding"},"index":1},"value":{"choices":["valueCoding"],"index":3},"valueCoding":{"type":"Coding","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"TEL-address","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/iso21090-TEL-address","version":"4.0.1","description":"A V3 compliant, RFC 3966 conformant URI version of the telephone or fax number.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/iso21090-TEL-address"},"index":1},"value":{"choices":["valueUrl"],"index":3},"valueUrl":{"type":"url","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"uncertainty","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/iso21090-uncertainty","version":"4.0.1","description":"The primary measure of variance/uncertainty of the value (the square root of the sum of the squares of the differences between all data points and the mean).","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/iso21090-uncertainty"},"index":1},"value":{"choices":["valueDecimal"],"index":3},"valueDecimal":{"type":"decimal","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"uncertaintyType","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/iso21090-uncertaintyType","version":"4.0.1","description":"A code specifying the type of probability distribution for the uncertainty.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/iso21090-uncertaintyType"},"index":1},"value":{"choices":["valueCode"],"index":3},"valueCode":{"type":"code","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"Human Language","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/language","version":"4.0.1","description":"The Human Language of the item.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/language"},"index":1},"value":{"choices":["valueCode"],"index":3},"valueCode":{"type":"code","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"Example Lipid Profile","type":"Observation","kind":"resource","class":"profile","url":"http://hl7.org/fhir/StructureDefinition/ldlcholesterol","version":"4.0.1","description":"LDL Cholesterol Result","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Observation","elements":{"code":{"short":"LDL Cholesterol -measured or calculated per code","type":"CodeableConcept","mustSupport":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/ldlcholesterol-codes|4.0.1","bindingName":"LDLCodes"},"index":0},"valueQuantity":{"short":"LDL Cholesterol value","type":"Quantity","mustSupport":true,"index":1},"interpretation":{"short":"+ | ++ | +++ | - | -- | ---","type":"CodeableConcept","mustSupport":true,"index":2},"note":{"short":"Comments about result","type":"Annotation","mustSupport":true,"array":true,"index":3},"referenceRange":{"mustSupport":true,"index":4,"elements":{"low":{"index":5},"high":{"type":"Quantity","fixed":{"type":"Quantity","value":{"value":3}},"index":6},"type":{"type":"CodeableConcept","index":7},"appliesTo":{"type":"CodeableConcept","index":8},"age":{"type":"Range","index":9}},"required":["high"]},"hasMember":{"index":10},"derivedFrom":{"index":11}},"required":["code","referenceRange"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"Library","type":"Library","kind":"resource","class":"resource","url":"http://hl7.org/fhir/StructureDefinition/Library","version":"4.0.1","description":"The Library resource is a general-purpose container for knowledge asset definitions. It can be used to describe and expose existing knowledge assets such as logic libraries and information model descriptions, as well as to describe a collection of knowledge assets.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/DomainResource","elements":{"url":{"short":"Canonical identifier for this library, represented as a URI (globally unique)","type":"uri","isSummary":true,"index":0},"identifier":{"short":"Additional identifier for the library","type":"Identifier","isSummary":true,"array":true,"index":1},"version":{"short":"Business version of the library","type":"string","isSummary":true,"index":2},"name":{"short":"Name for this library (computer friendly)","type":"string","isSummary":true,"index":3},"title":{"short":"Name for this library (human friendly)","type":"string","isSummary":true,"index":4},"subtitle":{"short":"Subordinate title of the library","type":"string","index":5},"status":{"short":"draft | active | retired | unknown","type":"code","isModifier":true,"isModifierReason":"This is labeled as \\"Is Modifier\\" because applications should not use a retired {{title}} without due consideration","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/publication-status|4.0.1","bindingName":"PublicationStatus"},"index":6},"experimental":{"short":"For testing purposes, not real usage","type":"boolean","isSummary":true,"index":7},"type":{"short":"logic-library | model-definition | asset-collection | module-definition","type":"CodeableConcept","isSummary":true,"binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/ValueSet/library-type","bindingName":"LibraryType"},"index":8},"subject":{"short":"Type of individual the library content is focused on","meaningWhenMissing":"Patient","choices":["subjectCodeableConcept","subjectReference"],"index":10},"subjectCodeableConcept":{"short":"Type of individual the library content is focused on","type":"CodeableConcept","meaningWhenMissing":"Patient","choiceOf":"subject","index":11},"subjectReference":{"short":"Type of individual the library content is focused on","type":"Reference","meaningWhenMissing":"Patient","choiceOf":"subject","refers":["http://hl7.org/fhir/StructureDefinition/Group"],"index":12},"date":{"short":"Date last changed","type":"dateTime","isSummary":true,"index":13},"publisher":{"short":"Name of the publisher (organization or individual)","type":"string","isSummary":true,"index":14},"contact":{"short":"Contact details for the publisher","type":"ContactDetail","isSummary":true,"array":true,"index":15},"description":{"short":"Natural language description of the library","type":"markdown","isSummary":true,"index":16},"useContext":{"short":"The context that the content is intended to support","type":"UsageContext","isSummary":true,"array":true,"index":17},"jurisdiction":{"short":"Intended jurisdiction for library (if applicable)","type":"CodeableConcept","isSummary":true,"binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/ValueSet/jurisdiction","bindingName":"Jurisdiction"},"array":true,"index":18},"purpose":{"short":"Why this library is defined","type":"markdown","index":19},"usage":{"short":"Describes the clinical usage of the library","type":"string","index":20},"copyright":{"short":"Use and/or publishing restrictions","type":"markdown","index":21},"approvalDate":{"short":"When the library was approved by publisher","type":"date","index":22},"lastReviewDate":{"short":"When the library was last reviewed","type":"date","index":23},"effectivePeriod":{"short":"When the library is expected to be used","type":"Period","isSummary":true,"index":24},"topic":{"short":"E.g. Education, Treatment, Assessment, etc.","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/definition-topic","bindingName":"DefinitionTopic"},"array":true,"index":25},"author":{"short":"Who authored the content","type":"ContactDetail","array":true,"index":26},"editor":{"short":"Who edited the content","type":"ContactDetail","array":true,"index":27},"reviewer":{"short":"Who reviewed the content","type":"ContactDetail","array":true,"index":28},"endorser":{"short":"Who endorsed the content","type":"ContactDetail","array":true,"index":29},"relatedArtifact":{"short":"Additional documentation, citations, etc.","type":"RelatedArtifact","array":true,"index":30},"parameter":{"short":"Parameters defined by the library","type":"ParameterDefinition","array":true,"index":31},"dataRequirement":{"short":"What data is referenced by this library","type":"DataRequirement","array":true,"index":32},"content":{"short":"Contents of the library, either embedded or referenced","type":"Attachment","isSummary":true,"array":true,"index":33}},"required":["status","type"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"Linkage","type":"Linkage","kind":"resource","class":"resource","url":"http://hl7.org/fhir/StructureDefinition/Linkage","version":"4.0.1","description":"Identifies two or more records (resource instances) that refer to the same real-world \\"occurrence\\".","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/DomainResource","elements":{"active":{"short":"Whether this linkage assertion is active or not","type":"boolean","meaningWhenMissing":"This resource is generally assumed to be active if no value is provided for the active element","isSummary":true,"index":0},"author":{"short":"Who is responsible for linkages","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Organization","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole"],"index":1},"item":{"short":"Item to be linked","type":"BackboneElement","isSummary":true,"array":true,"min":1,"index":2,"elements":{"type":{"short":"source | alternate | historical","type":"code","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/linkage-type|4.0.1","bindingName":"LinkageType"},"index":3},"resource":{"short":"Resource being linked","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Resource"],"index":4}},"required":["resource","type"]}},"required":["item"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"Example Lipid Profile","type":"DiagnosticReport","kind":"resource","class":"profile","url":"http://hl7.org/fhir/StructureDefinition/lipidprofile","version":"4.0.1","description":"Lipid Lab Report","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/DiagnosticReport","elements":{"code":{"short":"LOINC Code for Lipid Panel with LDL","type":"CodeableConcept","pattern":{"type":"CodeableConcept","value":{"coding":[{"system":"http://loinc.org","code":"57698-3","display":"Lipid panel with direct LDL - Serum or Plasma"}]}},"index":0},"result":{"array":true,"min":3,"max":4,"index":1,"slicing":{"discriminator":[{"type":"value","path":"resolve().code"}],"ordered":true,"rules":"closed","min":3,"max":4,"slices":{"Cholesterol":{"match":{},"schema":{"short":"Cholesterol Result","type":"Reference","mustSupport":true,"refers":["http://hl7.org/fhir/StructureDefinition/cholesterol"],"_required":true,"index":2},"min":1,"max":1},"Triglyceride":{"match":{},"schema":{"short":"Triglyceride Result","type":"Reference","mustSupport":true,"refers":["http://hl7.org/fhir/StructureDefinition/triglyceride"],"_required":true,"index":3},"min":1,"max":1},"HDLCholesterol":{"match":{},"schema":{"short":"HDL Cholesterol Result","type":"Reference","mustSupport":true,"refers":["http://hl7.org/fhir/StructureDefinition/hdlcholesterol"],"_required":true,"index":4},"min":1,"max":1},"LDLCholesterol":{"match":{},"schema":{"short":"LDL Cholesterol result, if reported","type":"Reference","mustSupport":true,"refers":["http://hl7.org/fhir/StructureDefinition/ldlcholesterol"],"index":5},"max":1}}}},"conclusion":{"short":"Clinical Interpretation of Lipid Panel","type":"string","mustSupport":true,"index":6},"conclusionCode":{"short":"No codes for a lipid panel","type":"CodeableConcept","index":7}},"required":["code"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"changeBase","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/list-changeBase","version":"4.0.1","description":"Reference to the List that a \\"change\\" list is asserting changes with respect to.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/list-changeBase"},"type":"uri","index":1},"value":{"choices":["valueReference"],"index":3},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/List"],"index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"Example Lipid Profile","type":"DiagnosticReport","kind":"resource","class":"profile","url":"http://hl7.org/fhir/StructureDefinition/lipidprofile","version":"4.0.1","description":"Lipid Lab Report","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/DiagnosticReport","elements":{"code":{"short":"LOINC Code for Lipid Panel with LDL","type":"CodeableConcept","fixed":{"type":"CodeableConcept","value":{"coding":[{"system":"http://loinc.org","code":"57698-3","display":"Lipid panel with direct LDL - Serum or Plasma"}]}},"index":0},"result":{"array":true,"min":3,"max":4,"index":1,"slicing":{"discriminator":[{"type":"value","path":"resolve().code"}],"ordered":true,"rules":"closed","min":3,"max":4,"slices":{"Cholesterol":{"match":{},"schema":{"short":"Cholesterol Result","type":"Reference","mustSupport":true,"refers":["http://hl7.org/fhir/StructureDefinition/cholesterol"],"_required":true,"index":2},"min":1,"max":1},"Triglyceride":{"match":{},"schema":{"short":"Triglyceride Result","type":"Reference","mustSupport":true,"refers":["http://hl7.org/fhir/StructureDefinition/triglyceride"],"_required":true,"index":3},"min":1,"max":1},"HDLCholesterol":{"match":{},"schema":{"short":"HDL Cholesterol Result","type":"Reference","mustSupport":true,"refers":["http://hl7.org/fhir/StructureDefinition/hdlcholesterol"],"_required":true,"index":4},"min":1,"max":1},"LDLCholesterol":{"match":{},"schema":{"short":"LDL Cholesterol result, if reported","type":"Reference","mustSupport":true,"refers":["http://hl7.org/fhir/StructureDefinition/ldlcholesterol"],"index":5},"max":1}}}},"conclusion":{"short":"Clinical Interpretation of Lipid Panel","type":"string","mustSupport":true,"index":6},"conclusionCode":{"short":"No codes for a lipid panel","type":"CodeableConcept","index":7}},"required":["code"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"changeBase","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/list-changeBase","version":"4.0.1","description":"Reference to the List that a \\"change\\" list is asserting changes with respect to.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/list-changeBase"},"index":1},"value":{"choices":["valueReference"],"index":3},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/List"],"index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"List","type":"List","kind":"resource","class":"resource","url":"http://hl7.org/fhir/StructureDefinition/List","version":"4.0.1","description":"A list is a curated collection of resources.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/DomainResource","elements":{"identifier":{"short":"Business identifier","type":"Identifier","array":true,"index":0},"status":{"short":"current | retired | entered-in-error","type":"code","isModifier":true,"isModifierReason":"This element is labeled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/list-status|4.0.1","bindingName":"ListStatus"},"index":1},"mode":{"short":"working | snapshot | changes","type":"code","isModifier":true,"isModifierReason":"If set to \\"changes\\", the list is considered incomplete, while the other two codes indicate the list is complete, which changes the understanding of the elements listed","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/list-mode|4.0.1","bindingName":"ListMode"},"index":2},"title":{"short":"Descriptive name for the list","type":"string","isSummary":true,"index":3},"code":{"short":"What the purpose of this list is","type":"CodeableConcept","isSummary":true,"binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/list-example-codes","bindingName":"ListPurpose"},"index":4},"subject":{"short":"If all resources have the same subject","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Device","http://hl7.org/fhir/StructureDefinition/Group","http://hl7.org/fhir/StructureDefinition/Location","http://hl7.org/fhir/StructureDefinition/Patient"],"index":5},"encounter":{"short":"Context in which list created","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Encounter"],"index":6},"date":{"short":"When the list was prepared","type":"dateTime","isSummary":true,"index":7},"source":{"short":"Who and/or what defined the list contents (aka Author)","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Device","http://hl7.org/fhir/StructureDefinition/Patient","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole"],"index":8},"orderedBy":{"short":"What order the list has","type":"CodeableConcept","binding":{"strength":"preferred","valueSet":"http://hl7.org/fhir/ValueSet/list-order","bindingName":"ListOrder"},"index":9},"note":{"short":"Comments about the list","type":"Annotation","array":true,"index":10},"entry":{"short":"Entries in the list","type":"BackboneElement","array":true,"index":11,"elements":{"flag":{"short":"Status/Workflow information about this item","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/list-item-flag","bindingName":"ListItemFlag"},"index":12},"deleted":{"short":"If this item is actually marked as deleted","type":"boolean","meaningWhenMissing":"List items are generally only treated as deleted when this element explicitly carries a value of true. Systems SHOULD always populate this value when mode is 'changes'","isModifier":true,"isModifierReason":"If deleted is true, then the item included in the list isn't actually part of the list anymore","index":13},"date":{"short":"When item added to list","type":"dateTime","index":14},"item":{"short":"Actual entry","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Resource"],"index":15}},"required":["item"]},"emptyReason":{"short":"Why list is empty","type":"CodeableConcept","binding":{"strength":"preferred","valueSet":"http://hl7.org/fhir/ValueSet/list-empty-reason","bindingName":"ListEmptyReason"},"index":16}},"required":["mode","status"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"boundary-geojson","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/location-boundary-geojson","version":"4.0.1","description":"A boundary shape that represents the outside edge of the location (in GeoJSON format) This shape may have holes, and disconnected shapes.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/location-boundary-geojson"},"type":"uri","index":1},"value":{"choices":["valueAttachment"],"index":3},"valueAttachment":{"type":"Attachment","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"location-distance","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/location-distance","version":"4.0.1","description":"A calculated distance between the resource and a provided location.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/location-distance"},"type":"uri","index":1},"value":{"choices":["valueDistance"],"index":3},"valueDistance":{"type":"Distance","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"boundary-geojson","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/location-boundary-geojson","version":"4.0.1","description":"A boundary shape that represents the outside edge of the location (in GeoJSON format) This shape may have holes, and disconnected shapes.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/location-boundary-geojson"},"index":1},"value":{"choices":["valueAttachment"],"index":3},"valueAttachment":{"type":"Attachment","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"location-distance","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/location-distance","version":"4.0.1","description":"A calculated distance between the resource and a provided location.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/location-distance"},"index":1},"value":{"choices":["valueDistance"],"index":3},"valueDistance":{"type":"Distance","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"Location","type":"Location","kind":"resource","class":"resource","url":"http://hl7.org/fhir/StructureDefinition/Location","version":"4.0.1","description":"Details and position information for a physical place where services are provided and resources and participants may be stored, found, contained, or accommodated.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/DomainResource","elements":{"identifier":{"short":"Unique code or number identifying the location to its users","type":"Identifier","isSummary":true,"array":true,"index":0},"status":{"short":"active | suspended | inactive","type":"code","isModifier":true,"isModifierReason":"This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/location-status|4.0.1","bindingName":"LocationStatus"},"index":1},"operationalStatus":{"short":"The operational status of the location (typically only for a bed/room)","type":"Coding","isSummary":true,"binding":{"strength":"preferred","valueSet":"http://terminology.hl7.org/ValueSet/v2-0116","bindingName":"OperationalStatus"},"index":2},"name":{"short":"Name of the location as used by humans","type":"string","isSummary":true,"index":3},"alias":{"short":"A list of alternate names that the location is known as, or was known as, in the past","type":"string","array":true,"index":4},"description":{"short":"Additional details about the location that could be displayed as further information to identify the location beyond its name","type":"string","isSummary":true,"index":5},"mode":{"short":"instance | kind","type":"code","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/location-mode|4.0.1","bindingName":"LocationMode"},"index":6},"type":{"short":"Type of function performed","type":"CodeableConcept","isSummary":true,"binding":{"strength":"extensible","valueSet":"http://terminology.hl7.org/ValueSet/v3-ServiceDeliveryLocationRoleType","bindingName":"LocationType"},"array":true,"index":7},"telecom":{"short":"Contact details of the location","type":"ContactPoint","array":true,"index":8},"address":{"short":"Physical location","type":"Address","index":9},"physicalType":{"short":"Physical form of the location","type":"CodeableConcept","isSummary":true,"binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/location-physical-type","bindingName":"PhysicalType"},"index":10},"position":{"short":"The absolute geographic location","type":"BackboneElement","index":11,"elements":{"longitude":{"short":"Longitude with WGS84 datum","type":"decimal","index":12},"latitude":{"short":"Latitude with WGS84 datum","type":"decimal","index":13},"altitude":{"short":"Altitude with WGS84 datum","type":"decimal","index":14}},"required":["latitude","longitude"]},"managingOrganization":{"short":"Organization responsible for provisioning and upkeep","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Organization"],"index":15},"partOf":{"short":"Another Location this one is physically a part of","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Location"],"index":16},"hoursOfOperation":{"short":"What days/times during a week is this location usually open","type":"BackboneElement","array":true,"index":17,"elements":{"daysOfWeek":{"short":"mon | tue | wed | thu | fri | sat | sun","type":"code","binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/days-of-week|4.0.1","bindingName":"DaysOfWeek"},"array":true,"index":18},"allDay":{"short":"The Location is open all day","type":"boolean","index":19},"openingTime":{"short":"Time that the Location opens","type":"time","index":20},"closingTime":{"short":"Time that the Location closes","type":"time","index":21}}},"availabilityExceptions":{"short":"Description of availability exceptions","type":"string","index":22},"endpoint":{"short":"Technical endpoints providing access to services operated for the location","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Endpoint"],"array":true,"index":23}},"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"markdown","type":"markdown","kind":"primitive-type","class":"primitive-type","url":"http://hl7.org/fhir/StructureDefinition/markdown","version":"4.0.1","description":"Base StructureDefinition for markdown type: A string that may contain Github Flavored Markdown syntax for optional processing by a mark down presentation engine","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/string","package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"MarketingStatus","type":"MarketingStatus","kind":"complex-type","class":"complex-type","url":"http://hl7.org/fhir/StructureDefinition/MarketingStatus","version":"4.0.1","description":"Base StructureDefinition for MarketingStatus Type: The marketing status describes the date when a medicinal product is actually put on the market or the date as of which it is no longer available.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/BackboneElement","elements":{"country":{"short":"The country in which the marketing authorisation has been granted shall be specified It should be specified using the ISO 3166 ‑ 1 alpha-2 code elements","type":"CodeableConcept","isSummary":true,"index":0},"jurisdiction":{"short":"Where a Medicines Regulatory Agency has granted a marketing authorisation for which specific provisions within a jurisdiction apply, the jurisdiction can be specified using an appropriate controlled terminology The controlled term and the controlled term identifier shall be specified","type":"CodeableConcept","isSummary":true,"index":1},"status":{"short":"This attribute provides information on the status of the marketing of the medicinal product See ISO/TS 20443 for more information and examples","type":"CodeableConcept","isSummary":true,"index":2},"dateRange":{"short":"The date when the Medicinal Product is placed on the market by the Marketing Authorisation Holder (or where applicable, the manufacturer/distributor) in a country and/or jurisdiction shall be provided A complete date consisting of day, month and year shall be specified using the ISO 8601 date format NOTE “Placed on the market” refers to the release of the Medicinal Product into the distribution chain","type":"Period","isSummary":true,"index":3},"restoreDate":{"short":"The date when the Medicinal Product is placed on the market by the Marketing Authorisation Holder (or where applicable, the manufacturer/distributor) in a country and/or jurisdiction shall be provided A complete date consisting of day, month and year shall be specified using the ISO 8601 date format NOTE “Placed on the market” refers to the release of the Medicinal Product into the distribution chain","type":"dateTime","isSummary":true,"index":4}},"required":["country","dateRange","status"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"match-grade","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/match-grade","version":"4.0.1","description":"Assessment of resource match outcome - how likely this resource is to be a match.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/match-grade"},"type":"uri","index":1},"value":{"choices":["valueCode"],"index":3},"valueCode":{"type":"code","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"maxDecimalPlaces","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/maxDecimalPlaces","version":"4.0.1","description":"Identifies the maximum number of decimal places that may be specified for the data element.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/maxDecimalPlaces"},"type":"uri","index":1},"value":{"choices":["valueInteger"],"index":3},"valueInteger":{"type":"integer","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"maxSize","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/maxSize","version":"4.0.1","description":"For attachment answers, indicates the maximum size an attachment can be.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/maxSize"},"type":"uri","index":1},"value":{"choices":["valueDecimal"],"index":3},"valueDecimal":{"type":"decimal","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"maxValue","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/maxValue","version":"4.0.1","description":"The inclusive upper bound on the range of allowed values for the data element.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/maxValue"},"type":"uri","index":1},"value":{"choices":["valueDate","valueDateTime","valueTime","valueInstant","valueDecimal","valueInteger"],"index":3},"valueDate":{"type":"date","choiceOf":"value","index":4},"valueDateTime":{"type":"dateTime","choiceOf":"value","index":5},"valueTime":{"type":"time","choiceOf":"value","index":6},"valueInstant":{"type":"instant","choiceOf":"value","index":7},"valueDecimal":{"type":"decimal","choiceOf":"value","index":8},"valueInteger":{"type":"integer","choiceOf":"value","index":9}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"match-grade","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/match-grade","version":"4.0.1","description":"Assessment of resource match outcome - how likely this resource is to be a match.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/match-grade"},"index":1},"value":{"choices":["valueCode"],"index":3},"valueCode":{"type":"code","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"maxDecimalPlaces","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/maxDecimalPlaces","version":"4.0.1","description":"Identifies the maximum number of decimal places that may be specified for the data element.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/maxDecimalPlaces"},"index":1},"value":{"choices":["valueInteger"],"index":3},"valueInteger":{"type":"integer","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"maxSize","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/maxSize","version":"4.0.1","description":"For attachment answers, indicates the maximum size an attachment can be.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/maxSize"},"index":1},"value":{"choices":["valueDecimal"],"index":3},"valueDecimal":{"type":"decimal","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"maxValue","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/maxValue","version":"4.0.1","description":"The inclusive upper bound on the range of allowed values for the data element.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/maxValue"},"index":1},"value":{"choices":["valueDate","valueDateTime","valueTime","valueInstant","valueDecimal","valueInteger"],"index":3},"valueDate":{"type":"date","choiceOf":"value","index":4},"valueDateTime":{"type":"dateTime","choiceOf":"value","index":5},"valueTime":{"type":"time","choiceOf":"value","index":6},"valueInstant":{"type":"instant","choiceOf":"value","index":7},"valueDecimal":{"type":"decimal","choiceOf":"value","index":8},"valueInteger":{"type":"integer","choiceOf":"value","index":9}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"Measure","type":"Measure","kind":"resource","class":"resource","url":"http://hl7.org/fhir/StructureDefinition/Measure","version":"4.0.1","description":"The Measure resource provides the definition of a quality measure.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/DomainResource","elements":{"url":{"short":"Canonical identifier for this measure, represented as a URI (globally unique)","type":"uri","isSummary":true,"index":0},"identifier":{"short":"Additional identifier for the measure","type":"Identifier","isSummary":true,"array":true,"index":1},"version":{"short":"Business version of the measure","type":"string","isSummary":true,"index":2},"name":{"short":"Name for this measure (computer friendly)","type":"string","isSummary":true,"index":3},"title":{"short":"Name for this measure (human friendly)","type":"string","isSummary":true,"index":4},"subtitle":{"short":"Subordinate title of the measure","type":"string","index":5},"status":{"short":"draft | active | retired | unknown","type":"code","isModifier":true,"isModifierReason":"This is labeled as \\"Is Modifier\\" because applications should not use a retired {{title}} without due consideration","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/publication-status|4.0.1","bindingName":"PublicationStatus"},"index":6},"experimental":{"short":"For testing purposes, not real usage","type":"boolean","isSummary":true,"index":7},"subject":{"short":"E.g. Patient, Practitioner, RelatedPerson, Organization, Location, Device","meaningWhenMissing":"Patient","choices":["subjectCodeableConcept","subjectReference"],"index":9},"subjectCodeableConcept":{"short":"E.g. Patient, Practitioner, RelatedPerson, Organization, Location, Device","type":"CodeableConcept","meaningWhenMissing":"Patient","choiceOf":"subject","index":10},"subjectReference":{"short":"E.g. Patient, Practitioner, RelatedPerson, Organization, Location, Device","type":"Reference","meaningWhenMissing":"Patient","choiceOf":"subject","refers":["http://hl7.org/fhir/StructureDefinition/Group"],"index":11},"date":{"short":"Date last changed","type":"dateTime","isSummary":true,"index":12},"publisher":{"short":"Name of the publisher (organization or individual)","type":"string","isSummary":true,"index":13},"contact":{"short":"Contact details for the publisher","type":"ContactDetail","isSummary":true,"array":true,"index":14},"description":{"short":"Natural language description of the measure","type":"markdown","isSummary":true,"index":15},"useContext":{"short":"The context that the content is intended to support","type":"UsageContext","isSummary":true,"array":true,"index":16},"jurisdiction":{"short":"Intended jurisdiction for measure (if applicable)","type":"CodeableConcept","isSummary":true,"binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/ValueSet/jurisdiction","bindingName":"Jurisdiction"},"array":true,"index":17},"purpose":{"short":"Why this measure is defined","type":"markdown","index":18},"usage":{"short":"Describes the clinical usage of the measure","type":"string","index":19},"copyright":{"short":"Use and/or publishing restrictions","type":"markdown","index":20},"approvalDate":{"short":"When the measure was approved by publisher","type":"date","index":21},"lastReviewDate":{"short":"When the measure was last reviewed","type":"date","index":22},"effectivePeriod":{"short":"When the measure is expected to be used","type":"Period","isSummary":true,"index":23},"topic":{"short":"The category of the measure, such as Education, Treatment, Assessment, etc.","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/definition-topic","bindingName":"DefinitionTopic"},"array":true,"index":24},"author":{"short":"Who authored the content","type":"ContactDetail","array":true,"index":25},"editor":{"short":"Who edited the content","type":"ContactDetail","array":true,"index":26},"reviewer":{"short":"Who reviewed the content","type":"ContactDetail","array":true,"index":27},"endorser":{"short":"Who endorsed the content","type":"ContactDetail","array":true,"index":28},"relatedArtifact":{"short":"Additional documentation, citations, etc.","type":"RelatedArtifact","array":true,"index":29},"library":{"short":"Logic used by the measure","type":"canonical","array":true,"index":30},"disclaimer":{"short":"Disclaimer for use of the measure or its referenced content","type":"markdown","isSummary":true,"index":31},"scoring":{"short":"proportion | ratio | continuous-variable | cohort","type":"CodeableConcept","isSummary":true,"binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/ValueSet/measure-scoring","bindingName":"MeasureScoring"},"index":32},"compositeScoring":{"short":"opportunity | all-or-nothing | linear | weighted","type":"CodeableConcept","isSummary":true,"binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/ValueSet/composite-measure-scoring","bindingName":"CompositeMeasureScoring"},"index":33},"type":{"short":"process | outcome | structure | patient-reported-outcome | composite","type":"CodeableConcept","isSummary":true,"binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/ValueSet/measure-type","bindingName":"MeasureType"},"array":true,"index":34},"riskAdjustment":{"short":"How risk adjustment is applied for this measure","type":"string","isSummary":true,"index":35},"rateAggregation":{"short":"How is rate aggregation performed for this measure","type":"string","isSummary":true,"index":36},"rationale":{"short":"Detailed description of why the measure exists","type":"markdown","isSummary":true,"index":37},"clinicalRecommendationStatement":{"short":"Summary of clinical guidelines","type":"markdown","isSummary":true,"index":38},"improvementNotation":{"short":"increase | decrease","type":"CodeableConcept","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/measure-improvement-notation|4.0.1","bindingName":"MeasureImprovementNotation"},"index":39},"definition":{"short":"Defined terms used in the measure documentation","type":"markdown","isSummary":true,"array":true,"index":40},"guidance":{"short":"Additional guidance for implementers","type":"markdown","isSummary":true,"index":41},"group":{"short":"Population criteria group","type":"BackboneElement","array":true,"index":42,"elements":{"code":{"short":"Meaning of the group","type":"CodeableConcept","index":43},"description":{"short":"Summary description","type":"string","index":44},"population":{"short":"Population criteria","type":"BackboneElement","array":true,"index":45,"elements":{"code":{"short":"initial-population | numerator | numerator-exclusion | denominator | denominator-exclusion | denominator-exception | measure-population | measure-population-exclusion | measure-observation","type":"CodeableConcept","binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/ValueSet/measure-population","bindingName":"MeasurePopulationType"},"index":46},"description":{"short":"The human readable description of this population criteria","type":"string","index":47},"criteria":{"short":"The criteria that defines this population","type":"Expression","index":48}},"required":["criteria"]},"stratifier":{"short":"Stratifier criteria for the measure","type":"BackboneElement","array":true,"index":49,"elements":{"code":{"short":"Meaning of the stratifier","type":"CodeableConcept","index":50},"description":{"short":"The human readable description of this stratifier","type":"string","index":51},"criteria":{"short":"How the measure should be stratified","type":"Expression","index":52},"component":{"short":"Stratifier criteria component for the measure","type":"BackboneElement","array":true,"index":53,"elements":{"code":{"short":"Meaning of the stratifier component","type":"CodeableConcept","index":54},"description":{"short":"The human readable description of this stratifier component","type":"string","index":55},"criteria":{"short":"Component of how the measure should be stratified","type":"Expression","index":56}},"required":["criteria"]}}}}},"supplementalData":{"short":"What other data should be reported with the measure","type":"BackboneElement","array":true,"index":57,"elements":{"code":{"short":"Meaning of the supplemental data","type":"CodeableConcept","index":58},"usage":{"short":"supplemental-data | risk-adjustment-factor","type":"CodeableConcept","binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/ValueSet/measure-data-usage","bindingName":"MeasureDataUsage"},"array":true,"index":59},"description":{"short":"The human readable description of this supplemental data","type":"string","index":60},"criteria":{"short":"Expression describing additional data to be reported","type":"Expression","index":61}},"required":["criteria"]}},"required":["status"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"MeasureReport","type":"MeasureReport","kind":"resource","class":"resource","url":"http://hl7.org/fhir/StructureDefinition/MeasureReport","version":"4.0.1","description":"The MeasureReport resource contains the results of the calculation of a measure; and optionally a reference to the resources involved in that calculation.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/DomainResource","elements":{"identifier":{"short":"Additional identifier for the MeasureReport","type":"Identifier","isSummary":true,"array":true,"index":0},"status":{"short":"complete | pending | error","type":"code","isModifier":true,"isModifierReason":"This element is labelled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/measure-report-status|4.0.1","bindingName":"MeasureReportStatus"},"index":1},"type":{"short":"individual | subject-list | summary | data-collection","type":"code","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/measure-report-type|4.0.1","bindingName":"MeasureReportType"},"index":2},"measure":{"short":"What measure was calculated","type":"canonical","isSummary":true,"index":3},"subject":{"short":"What individual(s) the report is for","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Device","http://hl7.org/fhir/StructureDefinition/Group","http://hl7.org/fhir/StructureDefinition/Location","http://hl7.org/fhir/StructureDefinition/Patient","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole","http://hl7.org/fhir/StructureDefinition/RelatedPerson"],"index":4},"date":{"short":"When the report was generated","type":"dateTime","isSummary":true,"index":5},"reporter":{"short":"Who is reporting the data","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Location","http://hl7.org/fhir/StructureDefinition/Organization","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole"],"index":6},"period":{"short":"What period the report covers","type":"Period","isSummary":true,"index":7},"improvementNotation":{"short":"increase | decrease","type":"CodeableConcept","isModifier":true,"isModifierReason":"Improvement notation determines how to interpret the measure score (i.e. whether an increase is an improvement)","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/measure-improvement-notation|4.0.1","bindingName":"MeasureImprovementNotation"},"index":8},"group":{"short":"Measure results for each group","type":"BackboneElement","array":true,"index":9,"elements":{"code":{"short":"Meaning of the group","type":"CodeableConcept","isSummary":true,"index":10},"population":{"short":"The populations in the group","type":"BackboneElement","array":true,"index":11,"elements":{"code":{"short":"initial-population | numerator | numerator-exclusion | denominator | denominator-exclusion | denominator-exception | measure-population | measure-population-exclusion | measure-observation","type":"CodeableConcept","isSummary":true,"binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/ValueSet/measure-population","bindingName":"MeasurePopulation"},"index":12},"count":{"short":"Size of the population","type":"integer","index":13},"subjectResults":{"short":"For subject-list reports, the subject results in this population","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/List"],"index":14}}},"measureScore":{"short":"What score this group achieved","type":"Quantity","isSummary":true,"index":15},"stratifier":{"short":"Stratification results","type":"BackboneElement","array":true,"index":16,"elements":{"code":{"short":"What stratifier of the group","type":"CodeableConcept","array":true,"index":17},"stratum":{"short":"Stratum results, one for each unique value, or set of values, in the stratifier, or stratifier components","type":"BackboneElement","array":true,"index":18,"elements":{"value":{"short":"The stratum value, e.g. male","type":"CodeableConcept","index":19},"component":{"short":"Stratifier component values","type":"BackboneElement","array":true,"index":20,"elements":{"code":{"short":"What stratifier component of the group","type":"CodeableConcept","index":21},"value":{"short":"The stratum component value, e.g. male","type":"CodeableConcept","index":22}},"required":["code","value"]},"population":{"short":"Population results in this stratum","type":"BackboneElement","array":true,"index":23,"elements":{"code":{"short":"initial-population | numerator | numerator-exclusion | denominator | denominator-exclusion | denominator-exception | measure-population | measure-population-exclusion | measure-observation","type":"CodeableConcept","binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/ValueSet/measure-population","bindingName":"MeasurePopulation"},"index":24},"count":{"short":"Size of the population","type":"integer","index":25},"subjectResults":{"short":"For subject-list reports, the subject results in this population","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/List"],"index":26}}},"measureScore":{"short":"What score this stratum achieved","type":"Quantity","index":27}}}}}}},"evaluatedResource":{"short":"What data was used to calculate the measure score","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Resource"],"array":true,"index":28}},"required":["measure","period","status","type"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"Media","type":"Media","kind":"resource","class":"resource","url":"http://hl7.org/fhir/StructureDefinition/Media","version":"4.0.1","description":"A photo, video, or audio recording acquired or used in healthcare. The actual content may be inline or provided by direct reference.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/DomainResource","elements":{"identifier":{"short":"Identifier(s) for the image","type":"Identifier","isSummary":true,"array":true,"index":0},"basedOn":{"short":"Procedure that caused this media to be created","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/CarePlan","http://hl7.org/fhir/StructureDefinition/ServiceRequest"],"array":true,"index":1},"partOf":{"short":"Part of referenced event","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Resource"],"array":true,"index":2},"status":{"short":"preparation | in-progress | not-done | on-hold | stopped | completed | entered-in-error | unknown","type":"code","isModifier":true,"isModifierReason":"This element is labelled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/event-status|4.0.1","bindingName":"MediaStatus"},"index":3},"type":{"short":"Classification of media as image, video, or audio","type":"CodeableConcept","isSummary":true,"binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/ValueSet/media-type","bindingName":"MediaType"},"index":4},"modality":{"short":"The type of acquisition equipment/process","type":"CodeableConcept","isSummary":true,"binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/media-modality","bindingName":"MediaModality"},"index":5},"view":{"short":"Imaging view, e.g. Lateral or Antero-posterior","type":"CodeableConcept","isSummary":true,"binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/media-view","bindingName":"MediaView"},"index":6},"subject":{"short":"Who/What this Media is a record of","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Device","http://hl7.org/fhir/StructureDefinition/Group","http://hl7.org/fhir/StructureDefinition/Location","http://hl7.org/fhir/StructureDefinition/Patient","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole","http://hl7.org/fhir/StructureDefinition/Specimen"],"index":7},"encounter":{"short":"Encounter associated with media","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Encounter"],"index":8},"created":{"short":"When Media was collected","isSummary":true,"choices":["createdDateTime","createdPeriod"],"index":10},"createdDateTime":{"short":"When Media was collected","type":"dateTime","isSummary":true,"choiceOf":"created","index":11},"createdPeriod":{"short":"When Media was collected","type":"Period","isSummary":true,"choiceOf":"created","index":12},"issued":{"short":"Date/Time this version was made available","type":"instant","isSummary":true,"index":13},"operator":{"short":"The person who generated the image","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/CareTeam","http://hl7.org/fhir/StructureDefinition/Device","http://hl7.org/fhir/StructureDefinition/Organization","http://hl7.org/fhir/StructureDefinition/Patient","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole","http://hl7.org/fhir/StructureDefinition/RelatedPerson"],"index":14},"reasonCode":{"short":"Why was event performed?","type":"CodeableConcept","isSummary":true,"binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/procedure-reason","bindingName":"MediaReason"},"array":true,"index":15},"bodySite":{"short":"Observed body part","type":"CodeableConcept","isSummary":true,"binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/body-site","bindingName":"BodySite"},"index":16},"deviceName":{"short":"Name of the device/manufacturer","type":"string","isSummary":true,"index":17},"device":{"short":"Observing Device","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Device","http://hl7.org/fhir/StructureDefinition/DeviceMetric"],"index":18},"height":{"short":"Height of the image in pixels (photo/video)","type":"positiveInt","isSummary":true,"index":19},"width":{"short":"Width of the image in pixels (photo/video)","type":"positiveInt","isSummary":true,"index":20},"frames":{"short":"Number of frames if > 1 (photo)","type":"positiveInt","isSummary":true,"index":21},"duration":{"short":"Length in seconds (audio / video)","type":"decimal","isSummary":true,"index":22},"content":{"short":"Actual Media - reference or data","type":"Attachment","isSummary":true,"index":23},"note":{"short":"Comments made about the media","type":"Annotation","array":true,"index":24}},"required":["content","status"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} @@ -1103,91 +1103,91 @@ exports[`IntrospectionWriter - Fhir Schema Output Check all introspection data i {"name":"MedicinalProductPharmaceutical","type":"MedicinalProductPharmaceutical","kind":"resource","class":"resource","url":"http://hl7.org/fhir/StructureDefinition/MedicinalProductPharmaceutical","version":"4.0.1","description":"A pharmaceutical product described in terms of its composition and dose form.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/DomainResource","elements":{"identifier":{"short":"An identifier for the pharmaceutical medicinal product","type":"Identifier","isSummary":true,"array":true,"index":0},"administrableDoseForm":{"short":"The administrable dose form, after necessary reconstitution","type":"CodeableConcept","isSummary":true,"index":1},"unitOfPresentation":{"short":"Todo","type":"CodeableConcept","isSummary":true,"index":2},"ingredient":{"short":"Ingredient","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/MedicinalProductIngredient"],"array":true,"index":3},"device":{"short":"Accompanying device","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/DeviceDefinition"],"array":true,"index":4},"characteristics":{"short":"Characteristics e.g. a products onset of action","type":"BackboneElement","isSummary":true,"array":true,"index":5,"elements":{"code":{"short":"A coded characteristic","type":"CodeableConcept","isSummary":true,"index":6},"status":{"short":"The status of characteristic e.g. assigned or pending","type":"CodeableConcept","isSummary":true,"index":7}},"required":["code"]},"routeOfAdministration":{"short":"The path by which the pharmaceutical product is taken into or makes contact with the body","type":"BackboneElement","isSummary":true,"array":true,"min":1,"index":8,"elements":{"code":{"short":"Coded expression for the route","type":"CodeableConcept","isSummary":true,"index":9},"firstDose":{"short":"The first dose (dose quantity) administered in humans can be specified, for a product under investigation, using a numerical value and its unit of measurement","type":"Quantity","isSummary":true,"index":10},"maxSingleDose":{"short":"The maximum single dose that can be administered as per the protocol of a clinical trial can be specified using a numerical value and its unit of measurement","type":"Quantity","isSummary":true,"index":11},"maxDosePerDay":{"short":"The maximum dose per day (maximum dose quantity to be administered in any one 24-h period) that can be administered as per the protocol referenced in the clinical trial authorisation","type":"Quantity","isSummary":true,"index":12},"maxDosePerTreatmentPeriod":{"short":"The maximum dose per treatment period that can be administered as per the protocol referenced in the clinical trial authorisation","type":"Ratio","isSummary":true,"index":13},"maxTreatmentPeriod":{"short":"The maximum treatment period during which an Investigational Medicinal Product can be administered as per the protocol referenced in the clinical trial authorisation","type":"Duration","isSummary":true,"index":14},"targetSpecies":{"short":"A species for which this route applies","type":"BackboneElement","isSummary":true,"array":true,"index":15,"elements":{"code":{"short":"Coded expression for the species","type":"CodeableConcept","isSummary":true,"index":16},"withdrawalPeriod":{"short":"A species specific time during which consumption of animal product is not appropriate","type":"BackboneElement","isSummary":true,"array":true,"index":17,"elements":{"tissue":{"short":"Coded expression for the type of tissue for which the withdrawal period applues, e.g. meat, milk","type":"CodeableConcept","isSummary":true,"index":18},"value":{"short":"A value for the time","type":"Quantity","isSummary":true,"index":19},"supportingInformation":{"short":"Extra information about the withdrawal period","type":"string","isSummary":true,"index":20}},"required":["tissue","value"]}},"required":["code"]}},"required":["code"]}},"required":["administrableDoseForm","routeOfAdministration"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"MedicinalProductUndesirableEffect","type":"MedicinalProductUndesirableEffect","kind":"resource","class":"resource","url":"http://hl7.org/fhir/StructureDefinition/MedicinalProductUndesirableEffect","version":"4.0.1","description":"Describe the undesirable effects of the medicinal product.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/DomainResource","elements":{"subject":{"short":"The medication for which this is an indication","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Medication","http://hl7.org/fhir/StructureDefinition/MedicinalProduct"],"array":true,"index":0},"symptomConditionEffect":{"short":"The symptom, condition or undesirable effect","type":"CodeableConcept","isSummary":true,"index":1},"classification":{"short":"Classification of the effect","type":"CodeableConcept","isSummary":true,"index":2},"frequencyOfOccurrence":{"short":"The frequency of occurrence of the effect","type":"CodeableConcept","isSummary":true,"index":3},"population":{"short":"The population group to which this applies","type":"Population","isSummary":true,"array":true,"index":4}},"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"MessageDefinition","type":"MessageDefinition","kind":"resource","class":"resource","url":"http://hl7.org/fhir/StructureDefinition/MessageDefinition","version":"4.0.1","description":"Defines the characteristics of a message that can be shared between systems, including the type of event that initiates the message, the content to be transmitted and what response(s), if any, are permitted.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/DomainResource","elements":{"url":{"short":"Business Identifier for a given MessageDefinition","type":"uri","isSummary":true,"index":0},"identifier":{"short":"Primary key for the message definition on a given server","type":"Identifier","isSummary":true,"array":true,"index":1},"version":{"short":"Business version of the message definition","type":"string","isSummary":true,"index":2},"name":{"short":"Name for this message definition (computer friendly)","type":"string","isSummary":true,"index":3},"title":{"short":"Name for this message definition (human friendly)","type":"string","isSummary":true,"index":4},"replaces":{"short":"Takes the place of","type":"canonical","isSummary":true,"array":true,"index":5},"status":{"short":"draft | active | retired | unknown","type":"code","isModifier":true,"isModifierReason":"This is labeled as \\"Is Modifier\\" because applications should not use a retired {{title}} without due consideration","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/publication-status|4.0.1","bindingName":"PublicationStatus"},"index":6},"experimental":{"short":"For testing purposes, not real usage","type":"boolean","isSummary":true,"index":7},"date":{"short":"Date last changed","type":"dateTime","isSummary":true,"index":8},"publisher":{"short":"Name of the publisher (organization or individual)","type":"string","isSummary":true,"index":9},"contact":{"short":"Contact details for the publisher","type":"ContactDetail","isSummary":true,"array":true,"index":10},"description":{"short":"Natural language description of the message definition","type":"markdown","isSummary":true,"index":11},"useContext":{"short":"The context that the content is intended to support","type":"UsageContext","isSummary":true,"array":true,"index":12},"jurisdiction":{"short":"Intended jurisdiction for message definition (if applicable)","type":"CodeableConcept","isSummary":true,"binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/ValueSet/jurisdiction","bindingName":"Jurisdiction"},"array":true,"index":13},"purpose":{"short":"Why this message definition is defined","type":"markdown","isSummary":true,"index":14},"copyright":{"short":"Use and/or publishing restrictions","type":"markdown","index":15},"base":{"short":"Definition this one is based on","type":"canonical","isSummary":true,"index":16},"parent":{"short":"Protocol/workflow this is part of","type":"canonical","isSummary":true,"array":true,"index":17},"event":{"short":"Event code or link to the EventDefinition","isSummary":true,"choices":["eventCoding","eventUri"],"index":19},"eventCoding":{"short":"Event code or link to the EventDefinition","type":"Coding","isSummary":true,"choiceOf":"event","index":20},"eventUri":{"short":"Event code or link to the EventDefinition","type":"uri","isSummary":true,"choiceOf":"event","index":21},"category":{"short":"consequence | currency | notification","type":"code","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/message-significance-category|4.0.1","bindingName":"MessageSignificanceCategory"},"index":22},"focus":{"short":"Resource(s) that are the subject of the event","type":"BackboneElement","constraint":{"md-1":{"expression":"max='*' or (max.toInteger() > 0)","human":"Max must be postive int or *","severity":"error"}},"isSummary":true,"array":true,"index":23,"elements":{"code":{"short":"Type of resource","type":"code","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/resource-types|4.0.1","bindingName":"ResourceType"},"index":24},"profile":{"short":"Profile that must be adhered to by focus","type":"canonical","index":25},"min":{"short":"Minimum number of focuses of this type","type":"unsignedInt","isSummary":true,"index":26},"max":{"short":"Maximum number of focuses of this type","type":"string","index":27}},"required":["code","min"]},"responseRequired":{"short":"always | on-error | never | on-success","type":"code","binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/messageheader-response-request|4.0.1","bindingName":"messageheader-response-request"},"index":28},"allowedResponse":{"short":"Responses to this message","type":"BackboneElement","array":true,"index":29,"elements":{"message":{"short":"Reference to allowed message definition response","type":"canonical","index":30},"situation":{"short":"When should this response be used","type":"markdown","index":31}},"required":["message"]},"graph":{"short":"Canonical reference to a GraphDefinition","type":"canonical","array":true,"index":32}},"required":["date","event","status"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"messageheader-response-request","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/messageheader-response-request","version":"4.0.1","description":"This extension enables the capability currently available through MSH-16 (Application Level acknowledgement) in HL7 Version 2 to declare at a message instance level whether a response is required or only upon error or success, or never.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/messageheader-response-request"},"type":"uri","index":1},"value":{"choices":["valueCode"],"index":3},"valueCode":{"type":"code","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"messageheader-response-request","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/messageheader-response-request","version":"4.0.1","description":"This extension enables the capability currently available through MSH-16 (Application Level acknowledgement) in HL7 Version 2 to declare at a message instance level whether a response is required or only upon error or success, or never.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/messageheader-response-request"},"index":1},"value":{"choices":["valueCode"],"index":3},"valueCode":{"type":"code","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"MessageHeader","type":"MessageHeader","kind":"resource","class":"resource","url":"http://hl7.org/fhir/StructureDefinition/MessageHeader","version":"4.0.1","description":"The header for a message exchange that is either requesting or responding to an action. The reference(s) that are the subject of the action as well as other information related to the action are typically transmitted in a bundle in which the MessageHeader resource instance is the first resource in the bundle.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/DomainResource","elements":{"event":{"short":"Code for the event this message represents or link to event definition","isSummary":true,"choices":["eventCoding","eventUri"],"index":1},"eventCoding":{"short":"Code for the event this message represents or link to event definition","type":"Coding","isSummary":true,"choiceOf":"event","index":2},"eventUri":{"short":"Code for the event this message represents or link to event definition","type":"uri","isSummary":true,"choiceOf":"event","index":3},"destination":{"short":"Message destination application(s)","type":"BackboneElement","isSummary":true,"array":true,"index":4,"elements":{"name":{"short":"Name of system","type":"string","isSummary":true,"index":5},"target":{"short":"Particular delivery destination within the destination","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Device"],"index":6},"endpoint":{"short":"Actual destination address or id","type":"url","isSummary":true,"index":7},"receiver":{"short":"Intended \\"real-world\\" recipient for the data","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Organization","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole"],"index":8}},"required":["endpoint"]},"sender":{"short":"Real world sender of the message","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Organization","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole"],"index":9},"enterer":{"short":"The source of the data entry","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole"],"index":10},"author":{"short":"The source of the decision","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole"],"index":11},"source":{"short":"Message source application","type":"BackboneElement","isSummary":true,"index":12,"elements":{"name":{"short":"Name of system","type":"string","isSummary":true,"index":13},"software":{"short":"Name of software running the system","type":"string","isSummary":true,"index":14},"version":{"short":"Version of software running","type":"string","isSummary":true,"index":15},"contact":{"short":"Human contact for problems","type":"ContactPoint","isSummary":true,"index":16},"endpoint":{"short":"Actual message source address or id","type":"url","isSummary":true,"index":17}},"required":["endpoint"]},"responsible":{"short":"Final responsibility for event","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Organization","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole"],"index":18},"reason":{"short":"Cause of event","type":"CodeableConcept","isSummary":true,"binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/message-reason-encounter","bindingName":"EventReason"},"index":19},"response":{"short":"If this is a reply to prior message","type":"BackboneElement","isSummary":true,"index":20,"elements":{"identifier":{"short":"Id of original message","type":"id","isSummary":true,"index":21},"code":{"short":"ok | transient-error | fatal-error","type":"code","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/response-code|4.0.1","bindingName":"ResponseType"},"index":22},"details":{"short":"Specific list of hints/warnings/errors","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/OperationOutcome"],"index":23}},"required":["code","identifier"]},"focus":{"short":"The actual content of the message","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Resource"],"array":true,"index":24},"definition":{"short":"Link to the definition for this message","type":"canonical","isSummary":true,"index":25}},"required":["event","source"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"Meta","type":"Meta","kind":"complex-type","class":"complex-type","url":"http://hl7.org/fhir/StructureDefinition/Meta","version":"4.0.1","description":"Base StructureDefinition for Meta Type: The metadata about a resource. This is content in the resource that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/Element","elements":{"versionId":{"short":"Version specific identifier","type":"id","isSummary":true,"index":0},"lastUpdated":{"short":"When the resource version last changed","type":"instant","isSummary":true,"index":1},"source":{"short":"Identifies where the resource comes from","type":"uri","isSummary":true,"index":2},"profile":{"short":"Profiles this resource claims to conform to","type":"canonical","isSummary":true,"array":true,"index":3},"security":{"short":"Security Labels applied to this resource","type":"Coding","isSummary":true,"binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/ValueSet/security-labels","bindingName":"SecurityLabels"},"array":true,"index":4},"tag":{"short":"Tags applied to this resource","type":"Coding","isSummary":true,"binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/common-tags","bindingName":"Tags"},"array":true,"index":5}},"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"MetadataResource","type":"MetadataResource","kind":"logical","class":"logical","url":"http://hl7.org/fhir/StructureDefinition/MetadataResource","version":"4.0.1","description":"Common Ancestor declaration for conformance and knowledge artifact resources.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/DomainResource","elements":{"url":{"short":"Canonical identifier for this metadata resource, represented as a URI (globally unique)","type":"uri","isSummary":true,"index":0},"version":{"short":"Business version of the metadata resource","type":"string","isSummary":true,"index":1},"name":{"short":"Name for this metadata resource (computer friendly)","type":"string","isSummary":true,"index":2},"title":{"short":"Name for this metadata resource (human friendly)","type":"string","isSummary":true,"index":3},"status":{"short":"draft | active | retired | unknown","type":"code","isModifier":true,"isModifierReason":"This is labeled as \\"Is Modifier\\" because applications should not use a retired {{title}} without due consideration","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/publication-status|4.0.1","bindingName":"PublicationStatus"},"index":4},"experimental":{"short":"For testing purposes, not real usage","type":"boolean","isSummary":true,"index":5},"date":{"short":"Date last changed","type":"dateTime","isSummary":true,"index":6},"publisher":{"short":"Name of the publisher (organization or individual)","type":"string","isSummary":true,"index":7},"contact":{"short":"Contact details for the publisher","type":"ContactDetail","isSummary":true,"array":true,"index":8},"description":{"short":"Natural language description of the metadata resource","type":"markdown","index":9},"useContext":{"short":"The context that the content is intended to support","type":"UsageContext","isSummary":true,"array":true,"index":10},"jurisdiction":{"short":"Intended jurisdiction for metadata resource (if applicable)","type":"CodeableConcept","isSummary":true,"binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/ValueSet/jurisdiction","bindingName":"Jurisdiction"},"array":true,"index":11}},"required":["status"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"mimeType","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/mimeType","version":"4.0.1","description":"Identifies the kind(s) of attachment allowed to be sent for an element.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/mimeType"},"type":"uri","index":1},"value":{"choices":["valueCode"],"index":3},"valueCode":{"type":"code","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"minLength","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/minLength","version":"4.0.1","description":"The minimum number of characters that must be present in the simple data type to be considered a \\"valid\\" instance.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/minLength"},"type":"uri","index":1},"value":{"choices":["valueInteger"],"index":3},"valueInteger":{"type":"integer","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"minValue","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/minValue","version":"4.0.1","description":"The inclusive lower bound on the range of allowed values for the data element.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/minValue"},"type":"uri","index":1},"value":{"choices":["valueDate","valueDateTime","valueTime","valueDecimal","valueInteger"],"index":3},"valueDate":{"type":"date","choiceOf":"value","index":4},"valueDateTime":{"type":"dateTime","choiceOf":"value","index":5},"valueTime":{"type":"time","choiceOf":"value","index":6},"valueDecimal":{"type":"decimal","choiceOf":"value","index":7},"valueInteger":{"type":"integer","choiceOf":"value","index":8}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"mimeType","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/mimeType","version":"4.0.1","description":"Identifies the kind(s) of attachment allowed to be sent for an element.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/mimeType"},"index":1},"value":{"choices":["valueCode"],"index":3},"valueCode":{"type":"code","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"minLength","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/minLength","version":"4.0.1","description":"The minimum number of characters that must be present in the simple data type to be considered a \\"valid\\" instance.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/minLength"},"index":1},"value":{"choices":["valueInteger"],"index":3},"valueInteger":{"type":"integer","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"minValue","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/minValue","version":"4.0.1","description":"The inclusive lower bound on the range of allowed values for the data element.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/minValue"},"index":1},"value":{"choices":["valueDate","valueDateTime","valueTime","valueDecimal","valueInteger"],"index":3},"valueDate":{"type":"date","choiceOf":"value","index":4},"valueDateTime":{"type":"dateTime","choiceOf":"value","index":5},"valueTime":{"type":"time","choiceOf":"value","index":6},"valueDecimal":{"type":"decimal","choiceOf":"value","index":7},"valueInteger":{"type":"integer","choiceOf":"value","index":8}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"MolecularSequence","type":"MolecularSequence","kind":"resource","class":"resource","url":"http://hl7.org/fhir/StructureDefinition/MolecularSequence","version":"4.0.1","description":"Raw data describing a biological sequence.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/DomainResource","elements":{"identifier":{"short":"Unique ID for this particular sequence. This is a FHIR-defined id","type":"Identifier","isSummary":true,"array":true,"index":0},"type":{"short":"aa | dna | rna","type":"code","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/sequence-type|4.0.1","bindingName":"sequenceType"},"index":1},"coordinateSystem":{"short":"Base number of coordinate system (0 for 0-based numbering or coordinates, inclusive start, exclusive end, 1 for 1-based numbering, inclusive start, inclusive end)","type":"integer","isSummary":true,"index":2},"patient":{"short":"Who and/or what this is about","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Patient"],"index":3},"specimen":{"short":"Specimen used for sequencing","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Specimen"],"index":4},"device":{"short":"The method for sequencing","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Device"],"index":5},"performer":{"short":"Who should be responsible for test result","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Organization"],"index":6},"quantity":{"short":"The number of copies of the sequence of interest. (RNASeq)","type":"Quantity","isSummary":true,"index":7},"referenceSeq":{"short":"A sequence used as reference","type":"BackboneElement","constraint":{"msq-6":{"expression":"(genomeBuild.count()+referenceSeqId.count()+ referenceSeqPointer.count()+ referenceSeqString.count()) = 1","human":"Have and only have one of the following elements in referenceSeq : 1. genomeBuild ; 2 referenceSeqId; 3. referenceSeqPointer; 4. referenceSeqString;","severity":"error"},"msq-5":{"expression":"(chromosome.empty() and genomeBuild.empty()) or (chromosome.exists() and genomeBuild.exists())","human":"GenomeBuild and chromosome must be both contained if either one of them is contained","severity":"error"}},"isSummary":true,"index":8,"elements":{"chromosome":{"short":"Chromosome containing genetic finding","type":"CodeableConcept","isSummary":true,"binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/chromosome-human","bindingName":"chromosome-human"},"index":9},"genomeBuild":{"short":"The Genome Build used for reference, following GRCh build versions e.g. 'GRCh 37'","type":"string","isSummary":true,"index":10},"orientation":{"short":"sense | antisense","type":"code","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/orientation-type|4.0.1","bindingName":"orientationType"},"index":11},"referenceSeqId":{"short":"Reference identifier","type":"CodeableConcept","isSummary":true,"binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/sequence-referenceSeq","bindingName":"sequenceReference"},"index":12},"referenceSeqPointer":{"short":"A pointer to another MolecularSequence entity as reference sequence","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/MolecularSequence"],"index":13},"referenceSeqString":{"short":"A string to represent reference sequence","type":"string","isSummary":true,"index":14},"strand":{"short":"watson | crick","type":"code","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/strand-type|4.0.1","bindingName":"strandType"},"index":15},"windowStart":{"short":"Start position of the window on the reference sequence","type":"integer","isSummary":true,"index":16},"windowEnd":{"short":"End position of the window on the reference sequence","type":"integer","isSummary":true,"index":17}}},"variant":{"short":"Variant in sequence","type":"BackboneElement","isSummary":true,"array":true,"index":18,"elements":{"start":{"short":"Start position of the variant on the reference sequence","type":"integer","isSummary":true,"index":19},"end":{"short":"End position of the variant on the reference sequence","type":"integer","isSummary":true,"index":20},"observedAllele":{"short":"Allele that was observed","type":"string","isSummary":true,"index":21},"referenceAllele":{"short":"Allele in the reference sequence","type":"string","isSummary":true,"index":22},"cigar":{"short":"Extended CIGAR string for aligning the sequence with reference bases","type":"string","isSummary":true,"index":23},"variantPointer":{"short":"Pointer to observed variant information","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Observation"],"index":24}}},"observedSeq":{"short":"Sequence that was observed","type":"string","isSummary":true,"index":25},"quality":{"short":"An set of value as quality of sequence","type":"BackboneElement","isSummary":true,"array":true,"index":26,"elements":{"type":{"short":"indel | snp | unknown","type":"code","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/quality-type|4.0.1","bindingName":"qualityType"},"index":27},"standardSequence":{"short":"Standard sequence for comparison","type":"CodeableConcept","isSummary":true,"binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/sequence-quality-standardSequence","bindingName":"qualityStandardSequence"},"index":28},"start":{"short":"Start position of the sequence","type":"integer","isSummary":true,"index":29},"end":{"short":"End position of the sequence","type":"integer","isSummary":true,"index":30},"score":{"short":"Quality score for the comparison","type":"Quantity","isSummary":true,"index":31},"method":{"short":"Method to get quality","type":"CodeableConcept","isSummary":true,"binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/sequence-quality-method","bindingName":"qualityMethod"},"index":32},"truthTP":{"short":"True positives from the perspective of the truth data","type":"decimal","isSummary":true,"index":33},"queryTP":{"short":"True positives from the perspective of the query data","type":"decimal","isSummary":true,"index":34},"truthFN":{"short":"False negatives","type":"decimal","isSummary":true,"index":35},"queryFP":{"short":"False positives","type":"decimal","isSummary":true,"index":36},"gtFP":{"short":"False positives where the non-REF alleles in the Truth and Query Call Sets match","type":"decimal","isSummary":true,"index":37},"precision":{"short":"Precision of comparison","type":"decimal","isSummary":true,"index":38},"recall":{"short":"Recall of comparison","type":"decimal","isSummary":true,"index":39},"fScore":{"short":"F-score","type":"decimal","isSummary":true,"index":40},"roc":{"short":"Receiver Operator Characteristic (ROC) Curve","type":"BackboneElement","isSummary":true,"index":41,"elements":{"score":{"short":"Genotype quality score","type":"integer","isSummary":true,"array":true,"index":42},"numTP":{"short":"Roc score true positive numbers","type":"integer","isSummary":true,"array":true,"index":43},"numFP":{"short":"Roc score false positive numbers","type":"integer","isSummary":true,"array":true,"index":44},"numFN":{"short":"Roc score false negative numbers","type":"integer","isSummary":true,"array":true,"index":45},"precision":{"short":"Precision of the GQ score","type":"decimal","isSummary":true,"array":true,"index":46},"sensitivity":{"short":"Sensitivity of the GQ score","type":"decimal","isSummary":true,"array":true,"index":47},"fMeasure":{"short":"FScore of the GQ score","type":"decimal","isSummary":true,"array":true,"index":48}}}},"required":["type"]},"readCoverage":{"short":"Average number of reads representing a given nucleotide in the reconstructed sequence","type":"integer","isSummary":true,"index":49},"repository":{"short":"External repository which contains detailed report related with observedSeq in this resource","type":"BackboneElement","isSummary":true,"array":true,"index":50,"elements":{"type":{"short":"directlink | openapi | login | oauth | other","type":"code","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/repository-type|4.0.1","bindingName":"repositoryType"},"index":51},"url":{"short":"URI of the repository","type":"uri","isSummary":true,"index":52},"name":{"short":"Repository's name","type":"string","isSummary":true,"index":53},"datasetId":{"short":"Id of the dataset that used to call for dataset in repository","type":"string","isSummary":true,"index":54},"variantsetId":{"short":"Id of the variantset that used to call for variantset in repository","type":"string","isSummary":true,"index":55},"readsetId":{"short":"Id of the read","type":"string","isSummary":true,"index":56}},"required":["type"]},"pointer":{"short":"Pointer to next atomic sequence","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/MolecularSequence"],"array":true,"index":57},"structureVariant":{"short":"Structural variant","type":"BackboneElement","isSummary":true,"array":true,"index":58,"elements":{"variantType":{"short":"Structural variant change type","type":"CodeableConcept","isSummary":true,"binding":{"strength":"required","valueSet":"http://loinc.org/vs/LL379-9|4.0.1","bindingName":"LOINC LL379-9 answerlist"},"index":59},"exact":{"short":"Does the structural variant have base pair resolution breakpoints?","type":"boolean","isSummary":true,"index":60},"length":{"short":"Structural variant length","type":"integer","isSummary":true,"index":61},"outer":{"short":"Structural variant outer","type":"BackboneElement","isSummary":true,"index":62,"elements":{"start":{"short":"Structural variant outer start","type":"integer","isSummary":true,"index":63},"end":{"short":"Structural variant outer end","type":"integer","isSummary":true,"index":64}}},"inner":{"short":"Structural variant inner","type":"BackboneElement","isSummary":true,"index":65,"elements":{"start":{"short":"Structural variant inner start","type":"integer","isSummary":true,"index":66},"end":{"short":"Structural variant inner end","type":"integer","isSummary":true,"index":67}}}}}},"required":["coordinateSystem"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"Money","type":"Money","kind":"complex-type","class":"complex-type","url":"http://hl7.org/fhir/StructureDefinition/Money","version":"4.0.1","description":"Base StructureDefinition for Money Type: An amount of economic utility in some recognized currency.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/Element","elements":{"value":{"short":"Numerical value (with implicit precision)","type":"decimal","isSummary":true,"index":0},"currency":{"short":"ISO 4217 Currency Code","type":"code","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/currencies|4.0.1","bindingName":"CurrencyCode"},"index":1}},"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"MoneyQuantity","type":"Quantity","kind":"complex-type","class":"complex-type","url":"http://hl7.org/fhir/StructureDefinition/MoneyQuantity","version":"4.0.1","description":"An amount of money. With regard to precision, see [Decimal Precision](datatypes.html#precision)","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Quantity","package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"NamingSystem","type":"NamingSystem","kind":"resource","class":"resource","url":"http://hl7.org/fhir/StructureDefinition/NamingSystem","version":"4.0.1","description":"A curated namespace that issues unique symbols within that namespace for the identification of concepts, people, devices, etc. Represents a \\"System\\" used within the Identifier and Coding data types.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/DomainResource","elements":{"name":{"short":"Name for this naming system (computer friendly)","type":"string","isSummary":true,"index":0},"status":{"short":"draft | active | retired | unknown","type":"code","isModifier":true,"isModifierReason":"This is labeled as \\"Is Modifier\\" because applications should not use a retired {{title}} without due consideration","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/publication-status|4.0.1","bindingName":"PublicationStatus"},"index":1},"kind":{"short":"codesystem | identifier | root","type":"code","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/namingsystem-type|4.0.1","bindingName":"NamingSystemType"},"index":2},"date":{"short":"Date last changed","type":"dateTime","isSummary":true,"index":3},"publisher":{"short":"Name of the publisher (organization or individual)","type":"string","isSummary":true,"index":4},"contact":{"short":"Contact details for the publisher","type":"ContactDetail","isSummary":true,"array":true,"index":5},"responsible":{"short":"Who maintains system namespace?","type":"string","index":6},"type":{"short":"e.g. driver, provider, patient, bank etc.","type":"CodeableConcept","binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/ValueSet/identifier-type","bindingName":"IdentifierType"},"index":7},"description":{"short":"Natural language description of the naming system","type":"markdown","index":8},"useContext":{"short":"The context that the content is intended to support","type":"UsageContext","isSummary":true,"array":true,"index":9},"jurisdiction":{"short":"Intended jurisdiction for naming system (if applicable)","type":"CodeableConcept","isSummary":true,"binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/ValueSet/jurisdiction","bindingName":"Jurisdiction"},"array":true,"index":10},"usage":{"short":"How/where is it used","type":"string","index":11},"uniqueId":{"short":"Unique identifiers used for system","type":"BackboneElement","isSummary":true,"array":true,"min":1,"index":12,"elements":{"type":{"short":"oid | uuid | uri | other","type":"code","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/namingsystem-identifier-type|4.0.1","bindingName":"NamingSystemIdentifierType"},"index":13},"value":{"short":"The unique identifier","type":"string","isSummary":true,"index":14},"preferred":{"short":"Is this the id that should be used for this type","type":"boolean","meaningWhenMissing":"If there are multiple ids, and one is labeled \\"preferred\\", then the assumption is that the others are not preferred. In the absence of any id marked as preferred, no inference can be drawn","index":15},"comment":{"short":"Notes about identifier usage","type":"string","index":16},"period":{"short":"When is identifier valid?","type":"Period","index":17}},"required":["type","value"]}},"required":["date","kind","name","status","uniqueId"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"Narrative","type":"Narrative","kind":"complex-type","class":"complex-type","url":"http://hl7.org/fhir/StructureDefinition/Narrative","version":"4.0.1","description":"Base StructureDefinition for Narrative Type: A human-readable summary of the resource conveying the essential clinical and business information for the resource.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/Element","elements":{"status":{"short":"generated | extensions | additional | empty","type":"code","binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/narrative-status|4.0.1","bindingName":"NarrativeStatus"},"index":0},"div":{"short":"Limited xhtml content","type":"xhtml","constraint":{"txt-1":{"expression":"htmlChecks()","human":"The narrative SHALL contain only the basic html formatting elements and attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, elements (either name or href), images and internally contained style attributes","severity":"error"},"txt-2":{"expression":"htmlChecks()","human":"The narrative SHALL have some non-whitespace content","severity":"error"}},"index":1}},"required":["div","status"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"Narrative Link","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/narrativeLink","version":"4.0.1","description":"A human language representation of the concept (resource/element), as a url that is a reference to a portion of the narrative of a resource ([DomainResource.text](narrative.html)).","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/narrativeLink"},"type":"uri","index":1},"value":{"choices":["valueUrl"],"index":3},"valueUrl":{"type":"url","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"adaptiveFeedingDevice","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/nutritionorder-adaptiveFeedingDevice","version":"4.0.1","description":"Materials used or needed to feed the patient.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/nutritionorder-adaptiveFeedingDevice"},"type":"uri","index":1},"value":{"choices":["valueCodeableConcept"],"index":3},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"Narrative Link","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/narrativeLink","version":"4.0.1","description":"A human language representation of the concept (resource/element), as a url that is a reference to a portion of the narrative of a resource ([DomainResource.text](narrative.html)).","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/narrativeLink"},"index":1},"value":{"choices":["valueUrl"],"index":3},"valueUrl":{"type":"url","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"adaptiveFeedingDevice","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/nutritionorder-adaptiveFeedingDevice","version":"4.0.1","description":"Materials used or needed to feed the patient.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/nutritionorder-adaptiveFeedingDevice"},"index":1},"value":{"choices":["valueCodeableConcept"],"index":3},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"NutritionOrder","type":"NutritionOrder","kind":"resource","class":"resource","url":"http://hl7.org/fhir/StructureDefinition/NutritionOrder","version":"4.0.1","description":"A request to supply a diet, formula feeding (enteral) or oral nutritional supplement to a patient/resident.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/DomainResource","elements":{"identifier":{"short":"Identifiers assigned to this order","type":"Identifier","array":true,"index":0},"instantiatesCanonical":{"short":"Instantiates FHIR protocol or definition","type":"canonical","isSummary":true,"array":true,"index":1},"instantiatesUri":{"short":"Instantiates external protocol or definition","type":"uri","isSummary":true,"array":true,"index":2},"instantiates":{"short":"Instantiates protocol or definition","type":"uri","array":true,"index":3},"status":{"short":"draft | active | on-hold | revoked | completed | entered-in-error | unknown","type":"code","isModifier":true,"isModifierReason":"This element is labeled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/request-status|4.0.1","bindingName":"NutritionOrderStatus"},"index":4},"intent":{"short":"proposal | plan | directive | order | original-order | reflex-order | filler-order | instance-order | option","type":"code","isModifier":true,"isModifierReason":"This element changes the interpretation of all descriptive attributes. For example \\"the time the request is recommended to occur\\" vs. \\"the time the request is authorized to occur\\" or \\"who is recommended to perform the request\\" vs. \\"who is authorized to perform the request","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/request-intent|4.0.1","bindingName":"NutritiionOrderIntent"},"index":5},"patient":{"short":"The person who requires the diet, formula or nutritional supplement","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Patient"],"index":6},"encounter":{"short":"The encounter associated with this nutrition order","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Encounter"],"index":7},"dateTime":{"short":"Date and time the nutrition order was requested","type":"dateTime","isSummary":true,"index":8},"orderer":{"short":"Who ordered the diet, formula or nutritional supplement","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole"],"index":9},"allergyIntolerance":{"short":"List of the patient's food and nutrition-related allergies and intolerances","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/AllergyIntolerance"],"array":true,"index":10},"foodPreferenceModifier":{"short":"Order-specific modifier about the type of food that should be given","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/encounter-diet","bindingName":"PatientDiet"},"array":true,"index":11},"excludeFoodModifier":{"short":"Order-specific modifier about the type of food that should not be given","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/food-type","bindingName":"FoodType"},"array":true,"index":12},"oralDiet":{"short":"Oral diet components","type":"BackboneElement","index":13,"elements":{"type":{"short":"Type of oral diet or diet restrictions that describe what can be consumed orally","type":"CodeableConcept","isSummary":true,"binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/diet-type","bindingName":"OralDiet"},"array":true,"index":14},"schedule":{"short":"Scheduled frequency of diet","type":"Timing","array":true,"index":15},"nutrient":{"short":"Required nutrient modifications","type":"BackboneElement","array":true,"index":16,"elements":{"modifier":{"short":"Type of nutrient that is being modified","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/nutrient-code","bindingName":"NutrientModifier"},"index":17},"amount":{"short":"Quantity of the specified nutrient","type":"Quantity","index":18}}},"texture":{"short":"Required texture modifications","type":"BackboneElement","array":true,"index":19,"elements":{"modifier":{"short":"Code to indicate how to alter the texture of the foods, e.g. pureed","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/texture-code","bindingName":"TextureModifier"},"index":20},"foodType":{"short":"Concepts that are used to identify an entity that is ingested for nutritional purposes","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/modified-foodtype","bindingName":"TextureModifiedFoodType"},"index":21}}},"fluidConsistencyType":{"short":"The required consistency of fluids and liquids provided to the patient","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/consistency-type","bindingName":"FluidConsistencyType"},"array":true,"index":22},"instruction":{"short":"Instructions or additional information about the oral diet","type":"string","isSummary":true,"index":23}}},"supplement":{"short":"Supplement components","type":"BackboneElement","array":true,"index":24,"elements":{"type":{"short":"Type of supplement product requested","type":"CodeableConcept","isSummary":true,"binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/supplement-type","bindingName":"SupplementType"},"index":25},"productName":{"short":"Product or brand name of the nutritional supplement","type":"string","index":26},"schedule":{"short":"Scheduled frequency of supplement","type":"Timing","array":true,"index":27},"quantity":{"short":"Amount of the nutritional supplement","type":"Quantity","index":28},"instruction":{"short":"Instructions or additional information about the oral supplement","type":"string","isSummary":true,"index":29}}},"enteralFormula":{"short":"Enteral formula components","type":"BackboneElement","index":30,"elements":{"baseFormulaType":{"short":"Type of enteral or infant formula","type":"CodeableConcept","isSummary":true,"binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/entformula-type","bindingName":"EnteralFormulaType"},"index":31},"baseFormulaProductName":{"short":"Product or brand name of the enteral or infant formula","type":"string","index":32},"additiveType":{"short":"Type of modular component to add to the feeding","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/entformula-additive","bindingName":"EnteralFormulaAdditiveType"},"index":33},"additiveProductName":{"short":"Product or brand name of the modular additive","type":"string","index":34},"caloricDensity":{"short":"Amount of energy per specified volume that is required","type":"Quantity","index":35},"routeofAdministration":{"short":"How the formula should enter the patient's gastrointestinal tract","type":"CodeableConcept","binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/ValueSet/enteral-route","bindingName":"EnteralRouteOfAdministration"},"index":36},"administration":{"short":"Formula feeding instruction as structured data","type":"BackboneElement","array":true,"index":37,"elements":{"schedule":{"short":"Scheduled frequency of enteral feeding","type":"Timing","index":38},"quantity":{"short":"The volume of formula to provide","type":"Quantity","index":39},"rate":{"short":"Speed with which the formula is provided per period of time","choices":["rateQuantity","rateRatio"],"index":41},"rateQuantity":{"short":"Speed with which the formula is provided per period of time","type":"Quantity","choiceOf":"rate","index":42},"rateRatio":{"short":"Speed with which the formula is provided per period of time","type":"Ratio","choiceOf":"rate","index":43}}},"maxVolumeToDeliver":{"short":"Upper limit on formula volume per unit of time","type":"Quantity","index":44},"administrationInstruction":{"short":"Formula feeding instructions expressed as text","type":"string","isSummary":true,"index":45}}},"note":{"short":"Comments","type":"Annotation","array":true,"index":46}},"required":["dateTime","intent","patient","status"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"oauth-uris","type":"Extension","kind":"complex-type","class":"extension","url":"http://fhir-registry.smarthealthit.org/StructureDefinition/oauth-uris","version":"4.0.1","description":"Supports automated discovery of OAuth2 endpoints.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{"authorize":{"min":1,"max":1,"short":"OAuth2 \\"authorize\\" endpoint","_required":true,"index":0,"extensions":{},"required":["value"]},"token":{"min":1,"max":1,"short":"OAuth2 \\"token\\" endpoint","_required":true,"index":6,"extensions":{},"required":["value"]},"register":{"max":1,"short":"OAuth2 dynamic registration endpoint","index":12,"extensions":{},"required":["value"]},"manage":{"max":1,"short":"User-facing authorization management entry point","index":18,"extensions":{},"required":["value"]}},"elements":{"extension":{"short":"OAuth2 \\"authorize\\" endpoint","type":"Extension","index":0,"slicing":{"slices":{"authorize":{"match":{},"schema":{"short":"OAuth2 \\"authorize\\" endpoint","type":"Extension","_required":true,"index":0,"extensions":"[Circular Reference]","elements":{"extension":{"index":1},"url":{"type":"uri","pattern":{"type":"uri","value":"authorize"},"index":2},"value":{"choices":["valueUri"],"index":4},"valueUri":{"type":"uri","choiceOf":"value","index":5}},"required":["value"]},"min":1,"max":1},"token":{"match":{},"schema":{"short":"OAuth2 \\"token\\" endpoint","type":"Extension","_required":true,"index":6,"extensions":"[Circular Reference]","elements":{"extension":{"index":7},"url":{"type":"uri","pattern":{"type":"uri","value":"token"},"index":8},"value":{"choices":["valueUri"],"index":10},"valueUri":{"type":"uri","choiceOf":"value","index":11}},"required":["value"]},"min":1,"max":1},"register":{"match":{},"schema":{"short":"OAuth2 dynamic registration endpoint","type":"Extension","index":12,"extensions":"[Circular Reference]","elements":{"extension":{"index":13},"url":{"type":"uri","pattern":{"type":"uri","value":"register"},"index":14},"value":{"choices":["valueUri"],"index":16},"valueUri":{"type":"uri","choiceOf":"value","index":17}},"required":["value"]},"max":1},"manage":{"match":{},"schema":{"short":"User-facing authorization management entry point","type":"Extension","index":18,"extensions":"[Circular Reference]","elements":{"extension":{"index":19},"url":{"type":"uri","pattern":{"type":"uri","value":"manage"},"index":20},"value":{"choices":["valueUri"],"index":22},"valueUri":{"type":"uri","choiceOf":"value","index":23}},"required":["value"]},"max":1}}}},"url":{"pattern":{"type":"uri","value":"http://fhir-registry.smarthealthit.org/StructureDefinition/oauth-uris"},"type":"uri","index":24}},"required":["extension"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"bodyPosition","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/observation-bodyPosition","version":"4.0.1","description":"The position of the body when the observation was done, e.g. standing, sitting. To be used only when the body position in not precoordinated in the observation code.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/observation-bodyPosition"},"type":"uri","index":1},"value":{"choices":["valueCodeableConcept"],"index":3},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"delta","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/observation-delta","version":"4.0.1","description":"The qualitative change in the value relative to the previous measurement. Usually only recorded if the change is clinically significant.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/observation-delta"},"type":"uri","index":1},"value":{"choices":["valueCodeableConcept"],"index":3},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"deviceCode","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/observation-deviceCode","version":"4.0.1","description":"A code representing the the type of device used for this observation. Should only be used if not implicit in the code found in \`Observation.code\`.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/observation-deviceCode"},"type":"uri","index":1},"value":{"choices":["valueCodeableConcept"],"index":3},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"focusCode","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/observation-focusCode","version":"4.0.1","description":"A code representing the focus of an observation when the focus is not the patient of record. In other words, the focus of the observation is different from \`Observation.subject\`. An example use case would be using the *Observation* resource to capture whether the mother is trained to change her child's tracheostomy tube. In this example, the child is the patient of record and the mother is focal subject referenced using this extension. Other example focal subjects include spouses, related persons, feti, or donors.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/observation-focusCode"},"type":"uri","index":1},"value":{"choices":["valueCodeableConcept"],"index":3},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"gatewayDevice","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/observation-gatewayDevice","version":"4.0.1","description":"The Provenance/AuditEvent resources can represent the same information. Note that the Provenance/AuditEvent resources can represent the same information.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/observation-gatewayDevice"},"type":"uri","index":1},"value":{"choices":["valueReference"],"index":3},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/Device"],"index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"oauth-uris","type":"Extension","kind":"complex-type","class":"extension","url":"http://fhir-registry.smarthealthit.org/StructureDefinition/oauth-uris","version":"4.0.1","description":"Supports automated discovery of OAuth2 endpoints.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{"authorize":{"min":1,"max":1,"short":"OAuth2 \\"authorize\\" endpoint","_required":true,"index":0,"extensions":{},"required":["value"]},"token":{"min":1,"max":1,"short":"OAuth2 \\"token\\" endpoint","_required":true,"index":6,"extensions":{},"required":["value"]},"register":{"max":1,"short":"OAuth2 dynamic registration endpoint","index":12,"extensions":{},"required":["value"]},"manage":{"max":1,"short":"User-facing authorization management entry point","index":18,"extensions":{},"required":["value"]}},"elements":{"extension":{"short":"OAuth2 \\"authorize\\" endpoint","type":"Extension","index":0,"slicing":{"slices":{"authorize":{"match":{},"schema":{"short":"OAuth2 \\"authorize\\" endpoint","type":"Extension","_required":true,"index":0,"extensions":"[Circular Reference]","elements":{"extension":{"index":1},"url":{"type":"uri","fixed":{"type":"uri","value":"authorize"},"index":2},"value":{"choices":["valueUri"],"index":4},"valueUri":{"type":"uri","choiceOf":"value","index":5}},"required":["value"]},"min":1,"max":1},"token":{"match":{},"schema":{"short":"OAuth2 \\"token\\" endpoint","type":"Extension","_required":true,"index":6,"extensions":"[Circular Reference]","elements":{"extension":{"index":7},"url":{"type":"uri","fixed":{"type":"uri","value":"token"},"index":8},"value":{"choices":["valueUri"],"index":10},"valueUri":{"type":"uri","choiceOf":"value","index":11}},"required":["value"]},"min":1,"max":1},"register":{"match":{},"schema":{"short":"OAuth2 dynamic registration endpoint","type":"Extension","index":12,"extensions":"[Circular Reference]","elements":{"extension":{"index":13},"url":{"type":"uri","fixed":{"type":"uri","value":"register"},"index":14},"value":{"choices":["valueUri"],"index":16},"valueUri":{"type":"uri","choiceOf":"value","index":17}},"required":["value"]},"max":1},"manage":{"match":{},"schema":{"short":"User-facing authorization management entry point","type":"Extension","index":18,"extensions":"[Circular Reference]","elements":{"extension":{"index":19},"url":{"type":"uri","fixed":{"type":"uri","value":"manage"},"index":20},"value":{"choices":["valueUri"],"index":22},"valueUri":{"type":"uri","choiceOf":"value","index":23}},"required":["value"]},"max":1}}}},"url":{"fixed":{"type":"uri","value":"http://fhir-registry.smarthealthit.org/StructureDefinition/oauth-uris"},"index":24}},"required":["extension"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"bodyPosition","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/observation-bodyPosition","version":"4.0.1","description":"The position of the body when the observation was done, e.g. standing, sitting. To be used only when the body position in not precoordinated in the observation code.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/observation-bodyPosition"},"index":1},"value":{"choices":["valueCodeableConcept"],"index":3},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"delta","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/observation-delta","version":"4.0.1","description":"The qualitative change in the value relative to the previous measurement. Usually only recorded if the change is clinically significant.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/observation-delta"},"index":1},"value":{"choices":["valueCodeableConcept"],"index":3},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"deviceCode","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/observation-deviceCode","version":"4.0.1","description":"A code representing the the type of device used for this observation. Should only be used if not implicit in the code found in \`Observation.code\`.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/observation-deviceCode"},"index":1},"value":{"choices":["valueCodeableConcept"],"index":3},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"focusCode","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/observation-focusCode","version":"4.0.1","description":"A code representing the focus of an observation when the focus is not the patient of record. In other words, the focus of the observation is different from \`Observation.subject\`. An example use case would be using the *Observation* resource to capture whether the mother is trained to change her child's tracheostomy tube. In this example, the child is the patient of record and the mother is focal subject referenced using this extension. Other example focal subjects include spouses, related persons, feti, or donors.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/observation-focusCode"},"index":1},"value":{"choices":["valueCodeableConcept"],"index":3},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"gatewayDevice","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/observation-gatewayDevice","version":"4.0.1","description":"The Provenance/AuditEvent resources can represent the same information. Note that the Provenance/AuditEvent resources can represent the same information.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/observation-gatewayDevice"},"index":1},"value":{"choices":["valueReference"],"index":3},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/Device"],"index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"Observation-genetics","type":"Observation","kind":"resource","class":"profile","url":"http://hl7.org/fhir/StructureDefinition/observation-genetics","version":"4.0.1","description":"Describes how the observation resource is used to report structured genetic test results","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Observation","extensions":{"Gene":{"max":1,"short":"HGNC gene symbol","url":"http://hl7.org/fhir/StructureDefinition/observation-geneticsGene","index":0},"DNARegionName":{"max":1,"short":"DNA region name","url":"http://hl7.org/fhir/StructureDefinition/observation-geneticsDNARegionName","index":1},"CopyNumberEvent":{"max":1,"short":"Copy number variation","url":"http://hl7.org/fhir/StructureDefinition/observation-geneticsCopyNumberEvent","index":2},"GenomicSourceClass":{"max":1,"short":"Genomic source class","url":"http://hl7.org/fhir/StructureDefinition/observation-geneticsGenomicSourceClass","index":3},"Interpretation":{"max":1,"short":"Clinical interpretations for variant","url":"http://hl7.org/fhir/StructureDefinition/observation-geneticsInterpretation","index":4},"Variant":{"max":1,"short":"Variant","url":"http://hl7.org/fhir/StructureDefinition/observation-geneticsVariant","index":5},"AminoAcidChange":{"max":1,"short":"AminoAcidChange","url":"http://hl7.org/fhir/StructureDefinition/observation-geneticsAminoAcidChange","index":6},"Allele":{"max":1,"short":"Allele","url":"http://hl7.org/fhir/StructureDefinition/observation-geneticsAllele","index":7},"Ancestry":{"max":1,"short":"Ancestry","url":"http://hl7.org/fhir/StructureDefinition/observation-geneticsAncestry","index":8},"PhaseSet":{"short":"Phase set","max":"*","url":"http://hl7.org/fhir/StructureDefinition/observation-geneticsPhaseSet","index":9}},"elements":{"extension":{"short":"HGNC gene symbol","min":0,"max":1,"type":"Extension","url":"http://hl7.org/fhir/StructureDefinition/observation-geneticsGene","index":0,"slicing":{"slices":{"Gene":{"match":{},"schema":{"short":"HGNC gene symbol","min":0,"max":1,"type":"Extension","url":"http://hl7.org/fhir/StructureDefinition/observation-geneticsGene","index":0},"max":1},"DNARegionName":{"match":{},"schema":{"short":"DNA region name","min":0,"max":1,"type":"Extension","url":"http://hl7.org/fhir/StructureDefinition/observation-geneticsDNARegionName","index":1},"max":1},"CopyNumberEvent":{"match":{},"schema":{"short":"Copy number variation","min":0,"max":1,"type":"Extension","url":"http://hl7.org/fhir/StructureDefinition/observation-geneticsCopyNumberEvent","index":2},"max":1},"GenomicSourceClass":{"match":{},"schema":{"short":"Genomic source class","min":0,"max":1,"type":"Extension","url":"http://hl7.org/fhir/StructureDefinition/observation-geneticsGenomicSourceClass","index":3},"max":1},"Interpretation":{"match":{},"schema":{"short":"Clinical interpretations for variant","min":0,"max":1,"type":"Extension","url":"http://hl7.org/fhir/StructureDefinition/observation-geneticsInterpretation","index":4},"max":1},"Variant":{"match":{},"schema":{"short":"Variant","min":0,"max":1,"type":"Extension","url":"http://hl7.org/fhir/StructureDefinition/observation-geneticsVariant","index":5},"max":1},"AminoAcidChange":{"match":{},"schema":{"short":"AminoAcidChange","min":0,"max":1,"type":"Extension","url":"http://hl7.org/fhir/StructureDefinition/observation-geneticsAminoAcidChange","index":6},"max":1},"Allele":{"match":{},"schema":{"short":"Allele","min":0,"max":1,"type":"Extension","url":"http://hl7.org/fhir/StructureDefinition/observation-geneticsAllele","index":7},"max":1},"Ancestry":{"match":{},"schema":{"short":"Ancestry","min":0,"max":1,"type":"Extension","url":"http://hl7.org/fhir/StructureDefinition/observation-geneticsAncestry","index":8},"max":1},"PhaseSet":{"match":{},"schema":{"short":"Phase set","min":0,"max":"*","type":"Extension","url":"http://hl7.org/fhir/StructureDefinition/observation-geneticsPhaseSet","index":9}}}}}},"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"Allele","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/observation-geneticsAllele","version":"4.0.1","description":"Allele information.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{"Name":{"max":1,"short":"Name of allele","index":0,"extensions":{},"required":["value"]},"State":{"max":1,"short":"The level of occurrence of a single DNA sequence variant within a set of chromosomes: Heteroplasmic / Homoplasmic / Homozygous / Heterozygous / Hemizygous","index":6,"extensions":{},"required":["value"]},"Frequency":{"max":1,"short":"Allele frequency","index":12,"extensions":{},"required":["value"]}},"elements":{"extension":{"short":"Name of allele","type":"Extension","index":0,"slicing":{"slices":{"Name":{"match":{},"schema":{"short":"Name of allele","type":"Extension","index":0,"extensions":"[Circular Reference]","elements":{"extension":{"index":1},"url":{"type":"uri","pattern":{"type":"uri","value":"Name"},"index":2},"value":{"choices":["valueCodeableConcept"],"index":4},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":5}},"required":["value"]},"max":1},"State":{"match":{},"schema":{"short":"The level of occurrence of a single DNA sequence variant within a set of chromosomes: Heteroplasmic / Homoplasmic / Homozygous / Heterozygous / Hemizygous","type":"Extension","index":6,"extensions":"[Circular Reference]","elements":{"extension":{"index":7},"url":{"type":"uri","pattern":{"type":"uri","value":"State"},"index":8},"value":{"choices":["valueCodeableConcept"],"index":10},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":11}},"required":["value"]},"max":1},"Frequency":{"match":{},"schema":{"short":"Allele frequency","type":"Extension","index":12,"extensions":"[Circular Reference]","elements":{"extension":{"index":13},"url":{"type":"uri","pattern":{"type":"uri","value":"Frequency"},"index":14},"value":{"choices":["valueDecimal"],"index":16},"valueDecimal":{"type":"decimal","choiceOf":"value","index":17}},"required":["value"]},"max":1}}}},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/observation-geneticsAllele"},"type":"uri","index":18}},"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"AminoAcidChange","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/observation-geneticsAminoAcidChange","version":"4.0.1","description":"AminoAcidChange information.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{"Name":{"max":1,"short":"HGVS nomenclature for observed Amino Acid Change","index":0,"extensions":{},"required":["value"]},"Type":{"max":1,"short":"Amino Acid Change Type","index":6,"extensions":{},"required":["value"]}},"elements":{"extension":{"short":"HGVS nomenclature for observed Amino Acid Change","type":"Extension","index":0,"slicing":{"slices":{"Name":{"match":{},"schema":{"short":"HGVS nomenclature for observed Amino Acid Change","type":"Extension","index":0,"extensions":"[Circular Reference]","elements":{"extension":{"index":1},"url":{"type":"uri","pattern":{"type":"uri","value":"Name"},"index":2},"value":{"choices":["valueCodeableConcept"],"index":4},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":5}},"required":["value"]},"max":1},"Type":{"match":{},"schema":{"short":"Amino Acid Change Type","type":"Extension","index":6,"extensions":"[Circular Reference]","elements":{"extension":{"index":7},"url":{"type":"uri","pattern":{"type":"uri","value":"Type"},"index":8},"value":{"choices":["valueCodeableConcept"],"index":10},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":11}},"required":["value"]},"max":1}}}},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/observation-geneticsAminoAcidChange"},"type":"uri","index":12}},"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"Ancestry","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/observation-geneticsAncestry","version":"4.0.1","description":"Ancestry information.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{"Name":{"min":1,"max":1,"short":"Ancestry name","_required":true,"index":0,"extensions":{},"required":["value"]},"Percentage":{"max":1,"short":"Ancestry percentage","index":6,"extensions":{},"required":["value"]},"Source":{"max":1,"short":"Source of ancestry report","index":12,"extensions":{},"required":["value"]}},"elements":{"extension":{"short":"Ancestry name","type":"Extension","index":0,"slicing":{"slices":{"Name":{"match":{},"schema":{"short":"Ancestry name","type":"Extension","_required":true,"index":0,"extensions":"[Circular Reference]","elements":{"extension":{"index":1},"url":{"type":"uri","pattern":{"type":"uri","value":"Name"},"index":2},"value":{"choices":["valueCodeableConcept"],"index":4},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":5}},"required":["value"]},"min":1,"max":1},"Percentage":{"match":{},"schema":{"short":"Ancestry percentage","type":"Extension","index":6,"extensions":"[Circular Reference]","elements":{"extension":{"index":7},"url":{"type":"uri","pattern":{"type":"uri","value":"Percentage"},"index":8},"value":{"choices":["valueDecimal"],"index":10},"valueDecimal":{"type":"decimal","choiceOf":"value","index":11}},"required":["value"]},"max":1},"Source":{"match":{},"schema":{"short":"Source of ancestry report","type":"Extension","index":12,"extensions":"[Circular Reference]","elements":{"extension":{"index":13},"url":{"type":"uri","pattern":{"type":"uri","value":"Source"},"index":14},"value":{"choices":["valueCodeableConcept"],"index":16},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":17}},"required":["value"]},"max":1}}}},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/observation-geneticsAncestry"},"type":"uri","index":18}},"required":["extension"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"CopyNumberEvent","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/observation-geneticsCopyNumberEvent","version":"4.0.1","description":"A variation that increases or decreases the copy number of a given region ([SO:0001019](http://www.sequenceontology.org/browser/current_svn/term/SO:0001019)). Values: amplification/deletion/LOH.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/observation-geneticsCopyNumberEvent"},"type":"uri","index":1},"value":{"choices":["valueCodeableConcept"],"index":3},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"DNARegionName","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/observation-geneticsDNARegionName","version":"4.0.1","description":"A human readable name for the region of interest. Typically Exon #, Intron # or other. NOTE: This is not standardized and is mainly for convenience and display purposes. LOINC Code: ([47999-8](http://loinc.org/47999-8)).","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/observation-geneticsDNARegionName"},"type":"uri","index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"Gene","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/observation-geneticsGene","version":"4.0.1","description":"A region (or regions) that includes all of the sequence elements necessary to encode a functional transcript. A gene may include regulatory regions, transcribed regions and/or other functional sequence regions ([SO:0000704](http://www.sequenceontology.org/browser/current_svn/term/SO:0000704)). This element is the official gene symbol approved by the HGNC, which is a short abbreviated form of the gene name ([HGNC](http://www.genenames.org)). LOINC Code: ([48018-6](http://loinc.org/48018-6)).","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/observation-geneticsGene"},"type":"uri","index":1},"value":{"choices":["valueCodeableConcept"],"index":3},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"GenomicSourceClass","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/observation-geneticsGenomicSourceClass","version":"4.0.1","description":"Source of sample used to determine the sequence in sequencing lab -- germline, somatic, prenatal. LOINC Code: ([48002-0](http://loinc.org/48002-0)).","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/observation-geneticsGenomicSourceClass"},"type":"uri","index":1},"value":{"choices":["valueCodeableConcept"],"index":3},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"Interpretation","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/observation-geneticsInterpretation","version":"4.0.1","description":"Clinical Interpretations for variant. It's a reference to an Observation resource.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/observation-geneticsInterpretation"},"type":"uri","index":1},"value":{"choices":["valueReference"],"index":3},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/Observation"],"index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"PhaseSet","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/observation-geneticsPhaseSet","version":"4.0.1","description":"Phase set information.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{"Id":{"max":1,"short":"Phase set ID","index":0,"extensions":{},"required":["value"]},"MolecularSequence":{"min":1,"short":"Phase set sequence","array":true,"_required":true,"index":6,"extensions":{},"required":["value"]}},"elements":{"extension":{"short":"Phase set ID","type":"Extension","index":0,"slicing":{"slices":{"Id":{"match":{},"schema":{"short":"Phase set ID","type":"Extension","index":0,"extensions":"[Circular Reference]","elements":{"extension":{"index":1},"url":{"type":"uri","pattern":{"type":"uri","value":"Id"},"index":2},"value":{"choices":["valueUri"],"index":4},"valueUri":{"type":"uri","choiceOf":"value","index":5}},"required":["value"]},"max":1},"MolecularSequence":{"match":{},"schema":{"short":"Phase set sequence","type":"Extension","array":true,"min":1,"_required":true,"index":6,"extensions":"[Circular Reference]","elements":{"extension":{"index":7},"url":{"type":"uri","pattern":{"type":"uri","value":"MolecularSequence"},"index":8},"value":{"choices":["valueReference"],"index":10},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/MolecularSequence"],"index":11}},"required":["value"]},"min":1}}}},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/observation-geneticsPhaseSet"},"type":"uri","index":12}},"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"Variant","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/observation-geneticsVariant","version":"4.0.1","description":"Variant information.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{"Name":{"max":1,"short":"HGVS nomenclature for observed DNA sequence variant","index":0,"extensions":{},"required":["value"]},"Id":{"max":1,"short":"DNA sequence variant ID","index":6,"extensions":{},"required":["value"]},"Type":{"max":1,"short":"DNA sequence variant type","index":12,"extensions":{},"required":["value"]}},"elements":{"extension":{"short":"HGVS nomenclature for observed DNA sequence variant","type":"Extension","index":0,"slicing":{"slices":{"Name":{"match":{},"schema":{"short":"HGVS nomenclature for observed DNA sequence variant","type":"Extension","index":0,"extensions":"[Circular Reference]","elements":{"extension":{"index":1},"url":{"type":"uri","pattern":{"type":"uri","value":"Name"},"index":2},"value":{"choices":["valueCodeableConcept"],"index":4},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":5}},"required":["value"]},"max":1},"Id":{"match":{},"schema":{"short":"DNA sequence variant ID","type":"Extension","index":6,"extensions":"[Circular Reference]","elements":{"extension":{"index":7},"url":{"type":"uri","pattern":{"type":"uri","value":"Id"},"index":8},"value":{"choices":["valueCodeableConcept"],"index":10},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":11}},"required":["value"]},"max":1},"Type":{"match":{},"schema":{"short":"DNA sequence variant type","type":"Extension","index":12,"extensions":"[Circular Reference]","elements":{"extension":{"index":13},"url":{"type":"uri","pattern":{"type":"uri","value":"Type"},"index":14},"value":{"choices":["valueCodeableConcept"],"index":16},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":17}},"required":["value"]},"max":1}}}},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/observation-geneticsVariant"},"type":"uri","index":18}},"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"precondition","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/observation-precondition","version":"4.0.1","description":"Other preceding or concurrent observations that must be known to correctly interpret the the observation. For example an fiO2 measure taken alongside of a SpO2 measurement. See the [Observation notes](observation.html#notes) section for additional guidance.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/observation-precondition"},"type":"uri","index":1},"value":{"choices":["valueReference"],"index":3},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/Observation"],"index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"reagent","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/observation-reagent","version":"4.0.1","description":"Reference to reagents used to generate this observation. This is intended for this for in-lab transactions between instruments and Laboratory Information Systems (LIS).","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/observation-reagent"},"type":"uri","index":1},"value":{"choices":["valueReference"],"index":3},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/Substance"],"index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"replaces","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/observation-replaces","version":"4.0.1","description":"This observation replaces a previous observation (i.e. a revised value).","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/observation-replaces"},"type":"uri","index":1},"value":{"choices":["valueReference"],"index":3},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/Observation"],"index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"secondaryFinding","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/observation-secondaryFinding","version":"4.0.1","description":"Secondary findings are genetic test results that provide information about variants in a gene unrelated to the primary purpose for the testing, most often discovered when [Whole Exome Sequencing (WES)](https://en.wikipedia.org/wiki/Exome_sequencing) or [Whole Genome Sequencing (WGS)](https://en.wikipedia.org/wiki/Whole_genome_sequencing) is performed. This extension should be used to denote when a genetic finding is being shared as a secondary finding, and ideally refer to a corresponding guideline or policy statement.\\n\\nFor more detail, please see:\\nhttps://ghr.nlm.nih.gov/primer/testing/secondaryfindings.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/observation-secondaryFinding"},"type":"uri","index":1},"value":{"choices":["valueCodeableConcept"],"index":3},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"sequelTo","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/observation-sequelTo","version":"4.0.1","description":"This observation follows the target observation (e.g. timed tests such as Glucose Tolerance Test).","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/observation-sequelTo"},"type":"uri","index":1},"value":{"choices":["valueReference"],"index":3},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/Observation"],"index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"specimenCode","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/observation-specimenCode","version":"4.0.1","description":"A code representing the the type of specimen used for this observation. Should only be used if not implicit in the code found in \`Observation.code\`.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/observation-specimenCode"},"type":"uri","index":1},"value":{"choices":["valueCodeableConcept"],"index":3},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"timeOffset","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/observation-timeOffset","version":"4.0.1","description":"A specific offset time in milliseconds from the stated time in the Observation.appliesDateTime to allow for representation of sequential recording of sampled data from the same lead or data stream. For example, an ECG recorder may record sequentially 3 leads four time to receive 12-lead ECG, see [ISO 22077](https://www.iso.org/obp/ui/#iso:std:61871:en).","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/observation-timeOffset"},"type":"uri","index":1},"value":{"choices":["valueInteger"],"index":3},"valueInteger":{"type":"integer","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"Allele","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/observation-geneticsAllele","version":"4.0.1","description":"Allele information.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{"Name":{"max":1,"short":"Name of allele","index":0,"extensions":{},"required":["value"]},"State":{"max":1,"short":"The level of occurrence of a single DNA sequence variant within a set of chromosomes: Heteroplasmic / Homoplasmic / Homozygous / Heterozygous / Hemizygous","index":6,"extensions":{},"required":["value"]},"Frequency":{"max":1,"short":"Allele frequency","index":12,"extensions":{},"required":["value"]}},"elements":{"extension":{"short":"Name of allele","type":"Extension","index":0,"slicing":{"slices":{"Name":{"match":{},"schema":{"short":"Name of allele","type":"Extension","index":0,"extensions":"[Circular Reference]","elements":{"extension":{"index":1},"url":{"type":"uri","fixed":{"type":"uri","value":"Name"},"index":2},"value":{"choices":["valueCodeableConcept"],"index":4},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":5}},"required":["value"]},"max":1},"State":{"match":{},"schema":{"short":"The level of occurrence of a single DNA sequence variant within a set of chromosomes: Heteroplasmic / Homoplasmic / Homozygous / Heterozygous / Hemizygous","type":"Extension","index":6,"extensions":"[Circular Reference]","elements":{"extension":{"index":7},"url":{"type":"uri","fixed":{"type":"uri","value":"State"},"index":8},"value":{"choices":["valueCodeableConcept"],"index":10},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":11}},"required":["value"]},"max":1},"Frequency":{"match":{},"schema":{"short":"Allele frequency","type":"Extension","index":12,"extensions":"[Circular Reference]","elements":{"extension":{"index":13},"url":{"type":"uri","fixed":{"type":"uri","value":"Frequency"},"index":14},"value":{"choices":["valueDecimal"],"index":16},"valueDecimal":{"type":"decimal","choiceOf":"value","index":17}},"required":["value"]},"max":1}}}},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/observation-geneticsAllele"},"index":18}},"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"AminoAcidChange","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/observation-geneticsAminoAcidChange","version":"4.0.1","description":"AminoAcidChange information.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{"Name":{"max":1,"short":"HGVS nomenclature for observed Amino Acid Change","index":0,"extensions":{},"required":["value"]},"Type":{"max":1,"short":"Amino Acid Change Type","index":6,"extensions":{},"required":["value"]}},"elements":{"extension":{"short":"HGVS nomenclature for observed Amino Acid Change","type":"Extension","index":0,"slicing":{"slices":{"Name":{"match":{},"schema":{"short":"HGVS nomenclature for observed Amino Acid Change","type":"Extension","index":0,"extensions":"[Circular Reference]","elements":{"extension":{"index":1},"url":{"type":"uri","fixed":{"type":"uri","value":"Name"},"index":2},"value":{"choices":["valueCodeableConcept"],"index":4},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":5}},"required":["value"]},"max":1},"Type":{"match":{},"schema":{"short":"Amino Acid Change Type","type":"Extension","index":6,"extensions":"[Circular Reference]","elements":{"extension":{"index":7},"url":{"type":"uri","fixed":{"type":"uri","value":"Type"},"index":8},"value":{"choices":["valueCodeableConcept"],"index":10},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":11}},"required":["value"]},"max":1}}}},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/observation-geneticsAminoAcidChange"},"index":12}},"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"Ancestry","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/observation-geneticsAncestry","version":"4.0.1","description":"Ancestry information.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{"Name":{"min":1,"max":1,"short":"Ancestry name","_required":true,"index":0,"extensions":{},"required":["value"]},"Percentage":{"max":1,"short":"Ancestry percentage","index":6,"extensions":{},"required":["value"]},"Source":{"max":1,"short":"Source of ancestry report","index":12,"extensions":{},"required":["value"]}},"elements":{"extension":{"short":"Ancestry name","type":"Extension","index":0,"slicing":{"slices":{"Name":{"match":{},"schema":{"short":"Ancestry name","type":"Extension","_required":true,"index":0,"extensions":"[Circular Reference]","elements":{"extension":{"index":1},"url":{"type":"uri","fixed":{"type":"uri","value":"Name"},"index":2},"value":{"choices":["valueCodeableConcept"],"index":4},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":5}},"required":["value"]},"min":1,"max":1},"Percentage":{"match":{},"schema":{"short":"Ancestry percentage","type":"Extension","index":6,"extensions":"[Circular Reference]","elements":{"extension":{"index":7},"url":{"type":"uri","fixed":{"type":"uri","value":"Percentage"},"index":8},"value":{"choices":["valueDecimal"],"index":10},"valueDecimal":{"type":"decimal","choiceOf":"value","index":11}},"required":["value"]},"max":1},"Source":{"match":{},"schema":{"short":"Source of ancestry report","type":"Extension","index":12,"extensions":"[Circular Reference]","elements":{"extension":{"index":13},"url":{"type":"uri","fixed":{"type":"uri","value":"Source"},"index":14},"value":{"choices":["valueCodeableConcept"],"index":16},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":17}},"required":["value"]},"max":1}}}},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/observation-geneticsAncestry"},"index":18}},"required":["extension"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"CopyNumberEvent","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/observation-geneticsCopyNumberEvent","version":"4.0.1","description":"A variation that increases or decreases the copy number of a given region ([SO:0001019](http://www.sequenceontology.org/browser/current_svn/term/SO:0001019)). Values: amplification/deletion/LOH.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/observation-geneticsCopyNumberEvent"},"index":1},"value":{"choices":["valueCodeableConcept"],"index":3},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"DNARegionName","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/observation-geneticsDNARegionName","version":"4.0.1","description":"A human readable name for the region of interest. Typically Exon #, Intron # or other. NOTE: This is not standardized and is mainly for convenience and display purposes. LOINC Code: ([47999-8](http://loinc.org/47999-8)).","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/observation-geneticsDNARegionName"},"index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"Gene","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/observation-geneticsGene","version":"4.0.1","description":"A region (or regions) that includes all of the sequence elements necessary to encode a functional transcript. A gene may include regulatory regions, transcribed regions and/or other functional sequence regions ([SO:0000704](http://www.sequenceontology.org/browser/current_svn/term/SO:0000704)). This element is the official gene symbol approved by the HGNC, which is a short abbreviated form of the gene name ([HGNC](http://www.genenames.org)). LOINC Code: ([48018-6](http://loinc.org/48018-6)).","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/observation-geneticsGene"},"index":1},"value":{"choices":["valueCodeableConcept"],"index":3},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"GenomicSourceClass","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/observation-geneticsGenomicSourceClass","version":"4.0.1","description":"Source of sample used to determine the sequence in sequencing lab -- germline, somatic, prenatal. LOINC Code: ([48002-0](http://loinc.org/48002-0)).","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/observation-geneticsGenomicSourceClass"},"index":1},"value":{"choices":["valueCodeableConcept"],"index":3},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"Interpretation","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/observation-geneticsInterpretation","version":"4.0.1","description":"Clinical Interpretations for variant. It's a reference to an Observation resource.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/observation-geneticsInterpretation"},"index":1},"value":{"choices":["valueReference"],"index":3},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/Observation"],"index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"PhaseSet","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/observation-geneticsPhaseSet","version":"4.0.1","description":"Phase set information.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{"Id":{"max":1,"short":"Phase set ID","index":0,"extensions":{},"required":["value"]},"MolecularSequence":{"min":1,"short":"Phase set sequence","array":true,"_required":true,"index":6,"extensions":{},"required":["value"]}},"elements":{"extension":{"short":"Phase set ID","type":"Extension","index":0,"slicing":{"slices":{"Id":{"match":{},"schema":{"short":"Phase set ID","type":"Extension","index":0,"extensions":"[Circular Reference]","elements":{"extension":{"index":1},"url":{"type":"uri","fixed":{"type":"uri","value":"Id"},"index":2},"value":{"choices":["valueUri"],"index":4},"valueUri":{"type":"uri","choiceOf":"value","index":5}},"required":["value"]},"max":1},"MolecularSequence":{"match":{},"schema":{"short":"Phase set sequence","type":"Extension","array":true,"min":1,"_required":true,"index":6,"extensions":"[Circular Reference]","elements":{"extension":{"index":7},"url":{"type":"uri","fixed":{"type":"uri","value":"MolecularSequence"},"index":8},"value":{"choices":["valueReference"],"index":10},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/MolecularSequence"],"index":11}},"required":["value"]},"min":1}}}},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/observation-geneticsPhaseSet"},"index":12}},"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"Variant","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/observation-geneticsVariant","version":"4.0.1","description":"Variant information.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{"Name":{"max":1,"short":"HGVS nomenclature for observed DNA sequence variant","index":0,"extensions":{},"required":["value"]},"Id":{"max":1,"short":"DNA sequence variant ID","index":6,"extensions":{},"required":["value"]},"Type":{"max":1,"short":"DNA sequence variant type","index":12,"extensions":{},"required":["value"]}},"elements":{"extension":{"short":"HGVS nomenclature for observed DNA sequence variant","type":"Extension","index":0,"slicing":{"slices":{"Name":{"match":{},"schema":{"short":"HGVS nomenclature for observed DNA sequence variant","type":"Extension","index":0,"extensions":"[Circular Reference]","elements":{"extension":{"index":1},"url":{"type":"uri","fixed":{"type":"uri","value":"Name"},"index":2},"value":{"choices":["valueCodeableConcept"],"index":4},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":5}},"required":["value"]},"max":1},"Id":{"match":{},"schema":{"short":"DNA sequence variant ID","type":"Extension","index":6,"extensions":"[Circular Reference]","elements":{"extension":{"index":7},"url":{"type":"uri","fixed":{"type":"uri","value":"Id"},"index":8},"value":{"choices":["valueCodeableConcept"],"index":10},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":11}},"required":["value"]},"max":1},"Type":{"match":{},"schema":{"short":"DNA sequence variant type","type":"Extension","index":12,"extensions":"[Circular Reference]","elements":{"extension":{"index":13},"url":{"type":"uri","fixed":{"type":"uri","value":"Type"},"index":14},"value":{"choices":["valueCodeableConcept"],"index":16},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":17}},"required":["value"]},"max":1}}}},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/observation-geneticsVariant"},"index":18}},"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"precondition","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/observation-precondition","version":"4.0.1","description":"Other preceding or concurrent observations that must be known to correctly interpret the the observation. For example an fiO2 measure taken alongside of a SpO2 measurement. See the [Observation notes](observation.html#notes) section for additional guidance.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/observation-precondition"},"index":1},"value":{"choices":["valueReference"],"index":3},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/Observation"],"index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"reagent","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/observation-reagent","version":"4.0.1","description":"Reference to reagents used to generate this observation. This is intended for this for in-lab transactions between instruments and Laboratory Information Systems (LIS).","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/observation-reagent"},"index":1},"value":{"choices":["valueReference"],"index":3},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/Substance"],"index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"replaces","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/observation-replaces","version":"4.0.1","description":"This observation replaces a previous observation (i.e. a revised value).","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/observation-replaces"},"index":1},"value":{"choices":["valueReference"],"index":3},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/Observation"],"index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"secondaryFinding","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/observation-secondaryFinding","version":"4.0.1","description":"Secondary findings are genetic test results that provide information about variants in a gene unrelated to the primary purpose for the testing, most often discovered when [Whole Exome Sequencing (WES)](https://en.wikipedia.org/wiki/Exome_sequencing) or [Whole Genome Sequencing (WGS)](https://en.wikipedia.org/wiki/Whole_genome_sequencing) is performed. This extension should be used to denote when a genetic finding is being shared as a secondary finding, and ideally refer to a corresponding guideline or policy statement.\\n\\nFor more detail, please see:\\nhttps://ghr.nlm.nih.gov/primer/testing/secondaryfindings.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/observation-secondaryFinding"},"index":1},"value":{"choices":["valueCodeableConcept"],"index":3},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"sequelTo","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/observation-sequelTo","version":"4.0.1","description":"This observation follows the target observation (e.g. timed tests such as Glucose Tolerance Test).","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/observation-sequelTo"},"index":1},"value":{"choices":["valueReference"],"index":3},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/Observation"],"index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"specimenCode","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/observation-specimenCode","version":"4.0.1","description":"A code representing the the type of specimen used for this observation. Should only be used if not implicit in the code found in \`Observation.code\`.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/observation-specimenCode"},"index":1},"value":{"choices":["valueCodeableConcept"],"index":3},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"timeOffset","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/observation-timeOffset","version":"4.0.1","description":"A specific offset time in milliseconds from the stated time in the Observation.appliesDateTime to allow for representation of sequential recording of sampled data from the same lead or data stream. For example, an ECG recorder may record sequentially 3 leads four time to receive 12-lead ECG, see [ISO 22077](https://www.iso.org/obp/ui/#iso:std:61871:en).","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/observation-timeOffset"},"index":1},"value":{"choices":["valueInteger"],"index":3},"valueInteger":{"type":"integer","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"Observation","type":"Observation","kind":"resource","class":"resource","url":"http://hl7.org/fhir/StructureDefinition/Observation","version":"4.0.1","description":"Measurements and simple assertions made about a patient, device or other subject.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/DomainResource","elements":{"identifier":{"short":"Business Identifier for observation","type":"Identifier","isSummary":true,"array":true,"index":0},"basedOn":{"short":"Fulfills plan, proposal or order","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/CarePlan","http://hl7.org/fhir/StructureDefinition/DeviceRequest","http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation","http://hl7.org/fhir/StructureDefinition/MedicationRequest","http://hl7.org/fhir/StructureDefinition/NutritionOrder","http://hl7.org/fhir/StructureDefinition/ServiceRequest"],"array":true,"index":1},"partOf":{"short":"Part of referenced event","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/ImagingStudy","http://hl7.org/fhir/StructureDefinition/Immunization","http://hl7.org/fhir/StructureDefinition/MedicationAdministration","http://hl7.org/fhir/StructureDefinition/MedicationDispense","http://hl7.org/fhir/StructureDefinition/MedicationStatement","http://hl7.org/fhir/StructureDefinition/Procedure"],"array":true,"index":2},"status":{"short":"registered | preliminary | final | amended +","type":"code","isModifier":true,"isModifierReason":"This element is labeled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/observation-status|4.0.1","bindingName":"ObservationStatus"},"index":3},"category":{"short":"Classification of type of observation","type":"CodeableConcept","binding":{"strength":"preferred","valueSet":"http://hl7.org/fhir/ValueSet/observation-category","bindingName":"ObservationCategory"},"array":true,"index":4},"code":{"short":"Type of observation (code / type)","type":"CodeableConcept","isSummary":true,"binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/observation-codes","bindingName":"ObservationCode"},"index":5},"subject":{"short":"Who and/or what the observation is about","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Device","http://hl7.org/fhir/StructureDefinition/Group","http://hl7.org/fhir/StructureDefinition/Location","http://hl7.org/fhir/StructureDefinition/Patient"],"index":6},"focus":{"short":"What the observation is about, when it is not about the subject of record","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Resource"],"array":true,"index":7},"encounter":{"short":"Healthcare event during which this observation is made","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Encounter"],"index":8},"effective":{"short":"Clinically relevant time/time-period for observation","isSummary":true,"choices":["effectiveDateTime","effectivePeriod","effectiveTiming","effectiveInstant"],"index":10},"effectiveDateTime":{"short":"Clinically relevant time/time-period for observation","type":"dateTime","isSummary":true,"choiceOf":"effective","index":11},"effectivePeriod":{"short":"Clinically relevant time/time-period for observation","type":"Period","isSummary":true,"choiceOf":"effective","index":12},"effectiveTiming":{"short":"Clinically relevant time/time-period for observation","type":"Timing","isSummary":true,"choiceOf":"effective","index":13},"effectiveInstant":{"short":"Clinically relevant time/time-period for observation","type":"instant","isSummary":true,"choiceOf":"effective","index":14},"issued":{"short":"Date/Time this version was made available","type":"instant","isSummary":true,"index":15},"performer":{"short":"Who is responsible for the observation","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/CareTeam","http://hl7.org/fhir/StructureDefinition/Organization","http://hl7.org/fhir/StructureDefinition/Patient","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole","http://hl7.org/fhir/StructureDefinition/RelatedPerson"],"array":true,"index":16},"value":{"short":"Actual result","isSummary":true,"choices":["valueQuantity","valueCodeableConcept","valueString","valueBoolean","valueInteger","valueRange","valueRatio","valueSampledData","valueTime","valueDateTime","valuePeriod"],"index":18},"valueQuantity":{"short":"Actual result","type":"Quantity","isSummary":true,"choiceOf":"value","index":19},"valueCodeableConcept":{"short":"Actual result","type":"CodeableConcept","isSummary":true,"choiceOf":"value","index":20},"valueString":{"short":"Actual result","type":"string","isSummary":true,"choiceOf":"value","index":21},"valueBoolean":{"short":"Actual result","type":"boolean","isSummary":true,"choiceOf":"value","index":22},"valueInteger":{"short":"Actual result","type":"integer","isSummary":true,"choiceOf":"value","index":23},"valueRange":{"short":"Actual result","type":"Range","isSummary":true,"choiceOf":"value","index":24},"valueRatio":{"short":"Actual result","type":"Ratio","isSummary":true,"choiceOf":"value","index":25},"valueSampledData":{"short":"Actual result","type":"SampledData","isSummary":true,"choiceOf":"value","index":26},"valueTime":{"short":"Actual result","type":"time","isSummary":true,"choiceOf":"value","index":27},"valueDateTime":{"short":"Actual result","type":"dateTime","isSummary":true,"choiceOf":"value","index":28},"valuePeriod":{"short":"Actual result","type":"Period","isSummary":true,"choiceOf":"value","index":29},"dataAbsentReason":{"short":"Why the result is missing","type":"CodeableConcept","binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/ValueSet/data-absent-reason","bindingName":"ObservationValueAbsentReason"},"index":30},"interpretation":{"short":"High, low, normal, etc.","type":"CodeableConcept","binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/ValueSet/observation-interpretation","bindingName":"ObservationInterpretation"},"array":true,"index":31},"note":{"short":"Comments about the observation","type":"Annotation","array":true,"index":32},"bodySite":{"short":"Observed body part","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/body-site","bindingName":"BodySite"},"index":33},"method":{"short":"How it was done","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/observation-methods","bindingName":"ObservationMethod"},"index":34},"specimen":{"short":"Specimen used for this observation","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Specimen"],"index":35},"device":{"short":"(Measurement) Device","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Device","http://hl7.org/fhir/StructureDefinition/DeviceMetric"],"index":36},"referenceRange":{"short":"Provides guide for interpretation","type":"BackboneElement","constraint":{"obs-3":{"expression":"low.exists() or high.exists() or text.exists()","human":"Must have at least a low or a high or text","severity":"error"}},"array":true,"index":37,"elements":{"low":{"short":"Low Range, if relevant","type":"Quantity","index":38},"high":{"short":"High Range, if relevant","type":"Quantity","index":39},"type":{"short":"Reference range qualifier","type":"CodeableConcept","binding":{"strength":"preferred","valueSet":"http://hl7.org/fhir/ValueSet/referencerange-meaning","bindingName":"ObservationRangeMeaning"},"index":40},"appliesTo":{"short":"Reference range population","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/referencerange-appliesto","bindingName":"ObservationRangeType"},"array":true,"index":41},"age":{"short":"Applicable age range, if relevant","type":"Range","index":42},"text":{"short":"Text based reference range in an observation","type":"string","index":43}}},"hasMember":{"short":"Related resource that belongs to the Observation group","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/MolecularSequence","http://hl7.org/fhir/StructureDefinition/Observation","http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse"],"array":true,"index":44},"derivedFrom":{"short":"Related measurements the observation is made from","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/DocumentReference","http://hl7.org/fhir/StructureDefinition/ImagingStudy","http://hl7.org/fhir/StructureDefinition/Media","http://hl7.org/fhir/StructureDefinition/MolecularSequence","http://hl7.org/fhir/StructureDefinition/Observation","http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse"],"array":true,"index":45},"component":{"short":"Component results","type":"BackboneElement","isSummary":true,"array":true,"index":46,"elements":{"code":{"short":"Type of component observation (code / type)","type":"CodeableConcept","isSummary":true,"binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/observation-codes","bindingName":"ObservationCode"},"index":47},"value":{"short":"Actual component result","isSummary":true,"choices":["valueQuantity","valueCodeableConcept","valueString","valueBoolean","valueInteger","valueRange","valueRatio","valueSampledData","valueTime","valueDateTime","valuePeriod"],"index":49},"valueQuantity":{"short":"Actual component result","type":"Quantity","isSummary":true,"choiceOf":"value","index":50},"valueCodeableConcept":{"short":"Actual component result","type":"CodeableConcept","isSummary":true,"choiceOf":"value","index":51},"valueString":{"short":"Actual component result","type":"string","isSummary":true,"choiceOf":"value","index":52},"valueBoolean":{"short":"Actual component result","type":"boolean","isSummary":true,"choiceOf":"value","index":53},"valueInteger":{"short":"Actual component result","type":"integer","isSummary":true,"choiceOf":"value","index":54},"valueRange":{"short":"Actual component result","type":"Range","isSummary":true,"choiceOf":"value","index":55},"valueRatio":{"short":"Actual component result","type":"Ratio","isSummary":true,"choiceOf":"value","index":56},"valueSampledData":{"short":"Actual component result","type":"SampledData","isSummary":true,"choiceOf":"value","index":57},"valueTime":{"short":"Actual component result","type":"time","isSummary":true,"choiceOf":"value","index":58},"valueDateTime":{"short":"Actual component result","type":"dateTime","isSummary":true,"choiceOf":"value","index":59},"valuePeriod":{"short":"Actual component result","type":"Period","isSummary":true,"choiceOf":"value","index":60},"dataAbsentReason":{"short":"Why the component result is missing","type":"CodeableConcept","binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/ValueSet/data-absent-reason","bindingName":"ObservationValueAbsentReason"},"index":61},"interpretation":{"short":"High, low, normal, etc.","type":"CodeableConcept","binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/ValueSet/observation-interpretation","bindingName":"ObservationInterpretation"},"array":true,"index":62},"referenceRange":{"short":"Provides guide for interpretation of component result","elementReference":["http://hl7.org/fhir/StructureDefinition/Observation","elements","referenceRange"],"array":true,"index":63}},"required":["code"]}},"required":["code","status"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"ObservationDefinition","type":"ObservationDefinition","kind":"resource","class":"resource","url":"http://hl7.org/fhir/StructureDefinition/ObservationDefinition","version":"4.0.1","description":"Set of definitional characteristics for a kind of observation or measurement produced or consumed by an orderable health care service.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/DomainResource","elements":{"category":{"short":"Category of observation","type":"CodeableConcept","isSummary":true,"binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/observation-category","bindingName":"ObservationCategory"},"array":true,"index":0},"code":{"short":"Type of observation (code / type)","type":"CodeableConcept","isSummary":true,"binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/observation-codes","bindingName":"ObservationCode"},"index":1},"identifier":{"short":"Business identifier for this ObservationDefinition instance","type":"Identifier","isSummary":true,"array":true,"index":2},"permittedDataType":{"short":"Quantity | CodeableConcept | string | boolean | integer | Range | Ratio | SampledData | time | dateTime | Period","type":"code","binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/permitted-data-type|4.0.1","bindingName":"ObservationDataType"},"array":true,"index":3},"multipleResultsAllowed":{"short":"Multiple results allowed","type":"boolean","index":4},"method":{"short":"Method used to produce the observation","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/observation-methods","bindingName":"ObservationMethod"},"index":5},"preferredReportName":{"short":"Preferred report name","type":"string","index":6},"quantitativeDetails":{"short":"Characteristics of quantitative results","type":"BackboneElement","index":7,"elements":{"customaryUnit":{"short":"Customary unit for quantitative results","type":"CodeableConcept","binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/ValueSet/ucum-units","bindingName":"ObservationUnit"},"index":8},"unit":{"short":"SI unit for quantitative results","type":"CodeableConcept","binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/ValueSet/ucum-units","bindingName":"ObservationUnit"},"index":9},"conversionFactor":{"short":"SI to Customary unit conversion factor","type":"decimal","index":10},"decimalPrecision":{"short":"Decimal precision of observation quantitative results","type":"integer","index":11}}},"qualifiedInterval":{"short":"Qualified range for continuous and ordinal observation results","type":"BackboneElement","array":true,"index":12,"elements":{"category":{"short":"reference | critical | absolute","type":"code","binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/observation-range-category|4.0.1","bindingName":"ObservationRangeCategory"},"index":13},"range":{"short":"The interval itself, for continuous or ordinal observations","type":"Range","index":14},"context":{"short":"Range context qualifier","type":"CodeableConcept","binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/ValueSet/referencerange-meaning","bindingName":"ObservationRangeMeaning"},"index":15},"appliesTo":{"short":"Targetted population of the range","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/referencerange-appliesto","bindingName":"ObservationRangeAppliesTo"},"array":true,"index":16},"gender":{"short":"male | female | other | unknown","type":"code","binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/administrative-gender|4.0.1","bindingName":"AdministrativeGender"},"index":17},"age":{"short":"Applicable age range, if relevant","type":"Range","index":18},"gestationalAge":{"short":"Applicable gestational age range, if relevant","type":"Range","index":19},"condition":{"short":"Condition associated with the reference range","type":"string","index":20}}},"validCodedValueSet":{"short":"Value set of valid coded values for the observations conforming to this ObservationDefinition","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/ValueSet"],"index":21},"normalCodedValueSet":{"short":"Value set of normal coded values for the observations conforming to this ObservationDefinition","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/ValueSet"],"index":22},"abnormalCodedValueSet":{"short":"Value set of abnormal coded values for the observations conforming to this ObservationDefinition","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/ValueSet"],"index":23},"criticalCodedValueSet":{"short":"Value set of critical coded values for the observations conforming to this ObservationDefinition","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/ValueSet"],"index":24}},"required":["code"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"oid","type":"oid","kind":"primitive-type","class":"primitive-type","url":"http://hl7.org/fhir/StructureDefinition/oid","version":"4.0.1","description":"Base StructureDefinition for oid type: An OID represented as a URI","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/uri","package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"administration","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/openEHR-administration","version":"4.0.1","description":"Link to an actual medication administration record with the full details of the administration, if a link is known.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/openEHR-administration"},"type":"uri","index":1},"value":{"choices":["valueReference"],"index":3},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/MedicationAdministration"],"index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"careplan","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/openEHR-careplan","version":"4.0.1","description":"Additional details about the clinical management provided for this Reaction Event.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/openEHR-careplan"},"type":"uri","index":1},"value":{"choices":["valueReference"],"index":3},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/CarePlan"],"index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"exposureDate","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/openEHR-exposureDate","version":"4.0.1","description":"Record of the date and/or time of the first exposure to the Substance for this Reaction Event.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/openEHR-exposureDate"},"type":"uri","index":1},"value":{"choices":["valueDateTime"],"index":3},"valueDateTime":{"type":"dateTime","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"exposureDescription","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/openEHR-exposureDescription","version":"4.0.1","description":"Text description about exposure to the Substance.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/openEHR-exposureDescription"},"type":"uri","index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"exposureDuration","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/openEHR-exposureDuration","version":"4.0.1","description":"The amount of time the individual was exposed to the Substance.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/openEHR-exposureDuration"},"type":"uri","index":1},"value":{"choices":["valueDuration"],"index":3},"valueDuration":{"type":"Duration","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"location","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/openEHR-location","version":"4.0.1","description":"The anatomical location / body site(s) where the symptoms manifested.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/openEHR-location"},"type":"uri","index":1},"value":{"choices":["valueCodeableConcept"],"index":3},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"management","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/openEHR-management","version":"4.0.1","description":"Text description about the clinical management provided.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/openEHR-management"},"type":"uri","index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"test","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/openEHR-test","version":"4.0.1","description":"Observations that confirm or refute the risk and/or the substance.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/openEHR-test"},"type":"uri","index":1},"value":{"choices":["valueReference"],"index":3},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/DiagnosticReport","http://hl7.org/fhir/StructureDefinition/Observation"],"index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"allowed-type","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/operationdefinition-allowed-type","version":"4.0.1","description":"When the base type is an abstract type (e.g. Resource or Element) then this extension defines which concrete types are allowed to be used for a parameter. In the absence of this extension, any type is allowed.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/operationdefinition-allowed-type"},"type":"uri","index":1},"value":{"choices":["valueUri"],"index":3},"valueUri":{"type":"uri","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"profile","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/operationdefinition-profile","version":"4.0.1","description":"Identifies a profile structure or implementation Guide that applies to the datatype this element refers to. If any profiles are specified, then the content must conform to at least one of them. The URL can be a local reference - to a contained StructureDefinition, or a reference to another StructureDefinition or Implementation Guide by a canonical URL. When an implementation guide is specified, the type SHALL conform to at least one profile defined in the implementation guide.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/operationdefinition-profile"},"type":"uri","index":1},"value":{"choices":["valueUri"],"index":3},"valueUri":{"type":"uri","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"administration","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/openEHR-administration","version":"4.0.1","description":"Link to an actual medication administration record with the full details of the administration, if a link is known.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/openEHR-administration"},"index":1},"value":{"choices":["valueReference"],"index":3},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/MedicationAdministration"],"index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"careplan","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/openEHR-careplan","version":"4.0.1","description":"Additional details about the clinical management provided for this Reaction Event.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/openEHR-careplan"},"index":1},"value":{"choices":["valueReference"],"index":3},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/CarePlan"],"index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"exposureDate","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/openEHR-exposureDate","version":"4.0.1","description":"Record of the date and/or time of the first exposure to the Substance for this Reaction Event.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/openEHR-exposureDate"},"index":1},"value":{"choices":["valueDateTime"],"index":3},"valueDateTime":{"type":"dateTime","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"exposureDescription","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/openEHR-exposureDescription","version":"4.0.1","description":"Text description about exposure to the Substance.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/openEHR-exposureDescription"},"index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"exposureDuration","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/openEHR-exposureDuration","version":"4.0.1","description":"The amount of time the individual was exposed to the Substance.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/openEHR-exposureDuration"},"index":1},"value":{"choices":["valueDuration"],"index":3},"valueDuration":{"type":"Duration","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"location","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/openEHR-location","version":"4.0.1","description":"The anatomical location / body site(s) where the symptoms manifested.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/openEHR-location"},"index":1},"value":{"choices":["valueCodeableConcept"],"index":3},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"management","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/openEHR-management","version":"4.0.1","description":"Text description about the clinical management provided.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/openEHR-management"},"index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"test","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/openEHR-test","version":"4.0.1","description":"Observations that confirm or refute the risk and/or the substance.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/openEHR-test"},"index":1},"value":{"choices":["valueReference"],"index":3},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/DiagnosticReport","http://hl7.org/fhir/StructureDefinition/Observation"],"index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"allowed-type","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/operationdefinition-allowed-type","version":"4.0.1","description":"When the base type is an abstract type (e.g. Resource or Element) then this extension defines which concrete types are allowed to be used for a parameter. In the absence of this extension, any type is allowed.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/operationdefinition-allowed-type"},"index":1},"value":{"choices":["valueUri"],"index":3},"valueUri":{"type":"uri","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"profile","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/operationdefinition-profile","version":"4.0.1","description":"Identifies a profile structure or implementation Guide that applies to the datatype this element refers to. If any profiles are specified, then the content must conform to at least one of them. The URL can be a local reference - to a contained StructureDefinition, or a reference to another StructureDefinition or Implementation Guide by a canonical URL. When an implementation guide is specified, the type SHALL conform to at least one profile defined in the implementation guide.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/operationdefinition-profile"},"index":1},"value":{"choices":["valueUri"],"index":3},"valueUri":{"type":"uri","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"OperationDefinition","type":"OperationDefinition","kind":"resource","class":"resource","url":"http://hl7.org/fhir/StructureDefinition/OperationDefinition","version":"4.0.1","description":"A formal computable definition of an operation (on the RESTful interface) or a named query (using the search interaction).","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/DomainResource","elements":{"url":{"short":"Canonical identifier for this operation definition, represented as a URI (globally unique)","type":"uri","isSummary":true,"index":0},"version":{"short":"Business version of the operation definition","type":"string","isSummary":true,"index":1},"name":{"short":"Name for this operation definition (computer friendly)","type":"string","isSummary":true,"index":2},"title":{"short":"Name for this operation definition (human friendly)","type":"string","isSummary":true,"index":3},"status":{"short":"draft | active | retired | unknown","type":"code","isModifier":true,"isModifierReason":"This is labeled as \\"Is Modifier\\" because applications should not use a retired {{title}} without due consideration","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/publication-status|4.0.1","bindingName":"PublicationStatus"},"index":4},"kind":{"short":"operation | query","type":"code","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/operation-kind|4.0.1","bindingName":"OperationKind"},"index":5},"experimental":{"short":"For testing purposes, not real usage","type":"boolean","isSummary":true,"index":6},"date":{"short":"Date last changed","type":"dateTime","isSummary":true,"index":7},"publisher":{"short":"Name of the publisher (organization or individual)","type":"string","isSummary":true,"index":8},"contact":{"short":"Contact details for the publisher","type":"ContactDetail","isSummary":true,"array":true,"index":9},"description":{"short":"Natural language description of the operation definition","type":"markdown","index":10},"useContext":{"short":"The context that the content is intended to support","type":"UsageContext","isSummary":true,"array":true,"index":11},"jurisdiction":{"short":"Intended jurisdiction for operation definition (if applicable)","type":"CodeableConcept","isSummary":true,"binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/ValueSet/jurisdiction","bindingName":"Jurisdiction"},"array":true,"index":12},"purpose":{"short":"Why this operation definition is defined","type":"markdown","index":13},"affectsState":{"short":"Whether content is changed by the operation","type":"boolean","isSummary":true,"index":14},"code":{"short":"Name used to invoke the operation","type":"code","isSummary":true,"index":15},"comment":{"short":"Additional information about use","type":"markdown","index":16},"base":{"short":"Marks this as a profile of the base","type":"canonical","isSummary":true,"index":17},"resource":{"short":"Types this operation applies to","type":"code","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/resource-types|4.0.1","bindingName":"ResourceType"},"array":true,"index":18},"system":{"short":"Invoke at the system level?","type":"boolean","isSummary":true,"index":19},"type":{"short":"Invoke at the type level?","type":"boolean","isSummary":true,"index":20},"instance":{"short":"Invoke on an instance?","type":"boolean","isSummary":true,"index":21},"inputProfile":{"short":"Validation information for in parameters","type":"canonical","index":22},"outputProfile":{"short":"Validation information for out parameters","type":"canonical","index":23},"parameter":{"short":"Parameters for the operation/query","type":"BackboneElement","constraint":{"opd-1":{"expression":"type.exists() or part.exists()","human":"Either a type must be provided, or parts","severity":"error"},"opd-2":{"expression":"searchType.exists() implies type = 'string'","human":"A search type can only be specified for parameters of type string","severity":"error"},"opd-3":{"expression":"targetProfile.exists() implies (type = 'Reference' or type = 'canonical')","human":"A targetProfile can only be specified for parameters of type Reference or Canonical","severity":"error"}},"array":true,"index":24,"elements":{"name":{"short":"Name in Parameters.parameter.name or in URL","type":"code","index":25},"use":{"short":"in | out","type":"code","binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/operation-parameter-use|4.0.1","bindingName":"OperationParameterUse"},"index":26},"min":{"short":"Minimum Cardinality","type":"integer","index":27},"max":{"short":"Maximum Cardinality (a number or *)","type":"string","index":28},"documentation":{"short":"Description of meaning/use","type":"string","index":29},"type":{"short":"What type this parameter has","type":"code","binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/all-types|4.0.1","bindingName":"FHIRAllTypes"},"index":30},"targetProfile":{"short":"If type is Reference | canonical, allowed targets","type":"canonical","array":true,"index":31},"searchType":{"short":"number | date | string | token | reference | composite | quantity | uri | special","type":"code","binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/search-param-type|4.0.1","bindingName":"SearchParamType"},"index":32},"binding":{"short":"ValueSet details if this is coded","type":"BackboneElement","index":33,"elements":{"strength":{"short":"required | extensible | preferred | example","type":"code","binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/binding-strength|4.0.1","bindingName":"BindingStrength"},"index":34},"valueSet":{"short":"Source of value set","type":"canonical","index":35}},"required":["strength","valueSet"]},"referencedFrom":{"short":"References to this parameter","type":"BackboneElement","array":true,"index":36,"elements":{"source":{"short":"Referencing parameter","type":"string","index":37},"sourceId":{"short":"Element id of reference","type":"string","index":38}},"required":["source"]},"part":{"short":"Parts of a nested Parameter","elementReference":["http://hl7.org/fhir/StructureDefinition/OperationDefinition","elements","parameter"],"array":true,"index":39}},"required":["max","min","name","use"]},"overload":{"short":"Define overloaded variants for when generating code","type":"BackboneElement","array":true,"index":40,"elements":{"parameterName":{"short":"Name of parameter to include in overload","type":"string","array":true,"index":41},"comment":{"short":"Comments to go on overload","type":"string","index":42}}}},"required":["code","instance","kind","name","status","system","type"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"authority","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/operationoutcome-authority","version":"4.0.1","description":"A reference to where the rule is defined (based on the authoritative URLs in the applicable conformance resources).","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/operationoutcome-authority"},"type":"uri","index":1},"value":{"choices":["valueUri"],"index":3},"valueUri":{"type":"uri","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"detectedIssue","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/operationoutcome-detectedIssue","version":"4.0.1","description":"A reference to a stored contraindication that is the basis for this issue. A recipient can expect that the item referenced in this extension is being retained for record keeping purposes.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/operationoutcome-detectedIssue"},"type":"uri","index":1},"value":{"choices":["valueReference"],"index":3},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/DetectedIssue"],"index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"issue-source","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-source","version":"4.0.1","description":"Helps a user track down the source of the problem.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-source"},"type":"uri","index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"authority","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/operationoutcome-authority","version":"4.0.1","description":"A reference to where the rule is defined (based on the authoritative URLs in the applicable conformance resources).","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/operationoutcome-authority"},"index":1},"value":{"choices":["valueUri"],"index":3},"valueUri":{"type":"uri","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"detectedIssue","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/operationoutcome-detectedIssue","version":"4.0.1","description":"A reference to a stored contraindication that is the basis for this issue. A recipient can expect that the item referenced in this extension is being retained for record keeping purposes.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/operationoutcome-detectedIssue"},"index":1},"value":{"choices":["valueReference"],"index":3},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/DetectedIssue"],"index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"issue-source","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-source","version":"4.0.1","description":"Helps a user track down the source of the problem.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/operationoutcome-issue-source"},"index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"OperationOutcome","type":"OperationOutcome","kind":"resource","class":"resource","url":"http://hl7.org/fhir/StructureDefinition/OperationOutcome","version":"4.0.1","description":"A collection of error, warning, or information messages that result from a system action.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/DomainResource","elements":{"issue":{"short":"A single issue associated with the action","type":"BackboneElement","isSummary":true,"array":true,"min":1,"index":0,"elements":{"severity":{"short":"fatal | error | warning | information","type":"code","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/issue-severity|4.0.1","bindingName":"IssueSeverity"},"index":1},"code":{"short":"Error or warning code","type":"code","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/issue-type|4.0.1","bindingName":"IssueType"},"index":2},"details":{"short":"Additional details about the error","type":"CodeableConcept","isSummary":true,"binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/operation-outcome","bindingName":"IssueDetails"},"index":3},"diagnostics":{"short":"Additional diagnostic information about the issue","type":"string","isSummary":true,"index":4},"location":{"short":"Deprecated: Path of element(s) related to issue","type":"string","isSummary":true,"array":true,"index":5},"expression":{"short":"FHIRPath of element(s) related to issue","type":"string","isSummary":true,"array":true,"index":6}},"required":["code","severity"]}},"required":["issue"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"Ordinal Value","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/ordinalValue","version":"4.0.1","description":"A numeric value that allows the comparison (less than, greater than) or other numerical \\nmanipulation of a concept (e.g. Adding up components of a score). Scores are usually a whole number, but occasionally decimals are encountered in scores.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/ordinalValue"},"type":"uri","index":1},"value":{"choices":["valueDecimal"],"index":3},"valueDecimal":{"type":"decimal","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"period","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/organization-period","version":"4.0.1","description":"The date range that this organization should be considered available.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/organization-period"},"type":"uri","index":1},"value":{"choices":["valuePeriod"],"index":3},"valuePeriod":{"type":"Period","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"preferredContact","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/organization-preferredContact","version":"4.0.1","description":"This Contact is the preferred contact at this organization for the purpose of the contact\\n\\nThere can be multiple contacts on an Organizations record with this value set to true, but these should all have different purpose values.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/organization-preferredContact"},"type":"uri","index":1},"value":{"choices":["valueBoolean"],"index":3},"valueBoolean":{"type":"boolean","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"Ordinal Value","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/ordinalValue","version":"4.0.1","description":"A numeric value that allows the comparison (less than, greater than) or other numerical \\nmanipulation of a concept (e.g. Adding up components of a score). Scores are usually a whole number, but occasionally decimals are encountered in scores.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/ordinalValue"},"index":1},"value":{"choices":["valueDecimal"],"index":3},"valueDecimal":{"type":"decimal","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"period","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/organization-period","version":"4.0.1","description":"The date range that this organization should be considered available.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/organization-period"},"index":1},"value":{"choices":["valuePeriod"],"index":3},"valuePeriod":{"type":"Period","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"preferredContact","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/organization-preferredContact","version":"4.0.1","description":"This Contact is the preferred contact at this organization for the purpose of the contact\\n\\nThere can be multiple contacts on an Organizations record with this value set to true, but these should all have different purpose values.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/organization-preferredContact"},"index":1},"value":{"choices":["valueBoolean"],"index":3},"valueBoolean":{"type":"boolean","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"Organization","type":"Organization","kind":"resource","class":"resource","url":"http://hl7.org/fhir/StructureDefinition/Organization","version":"4.0.1","description":"A formally or informally recognized grouping of people or organizations formed for the purpose of achieving some form of collective action. Includes companies, institutions, corporations, departments, community groups, healthcare practice groups, payer/insurer, etc.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/DomainResource","elements":{"identifier":{"short":"Identifies this organization across multiple systems","type":"Identifier","isSummary":true,"array":true,"index":0},"active":{"short":"Whether the organization's record is still in active use","type":"boolean","meaningWhenMissing":"This resource is generally assumed to be active if no value is provided for the active element","isModifier":true,"isModifierReason":"This element is labelled as a modifier because it is a status element that can indicate that a record should not be treated as valid","isSummary":true,"index":1},"type":{"short":"Kind of organization","type":"CodeableConcept","isSummary":true,"binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/organization-type","bindingName":"OrganizationType"},"array":true,"index":2},"name":{"short":"Name used for the organization","type":"string","isSummary":true,"index":3},"alias":{"short":"A list of alternate names that the organization is known as, or was known as in the past","type":"string","array":true,"index":4},"telecom":{"short":"A contact detail for the organization","type":"ContactPoint","constraint":{"org-3":{"expression":"where(use = 'home').empty()","human":"The telecom of an organization can never be of use 'home'","severity":"error"}},"array":true,"index":5},"address":{"short":"An address for the organization","type":"Address","constraint":{"org-2":{"expression":"where(use = 'home').empty()","human":"An address of an organization can never be of use 'home'","severity":"error"}},"array":true,"index":6},"partOf":{"short":"The organization of which this organization forms a part","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Organization"],"index":7},"contact":{"short":"Contact for the organization for a certain purpose","type":"BackboneElement","array":true,"index":8,"elements":{"purpose":{"short":"The type of contact","type":"CodeableConcept","binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/ValueSet/contactentity-type","bindingName":"ContactPartyType"},"index":9},"name":{"short":"A name associated with the contact","type":"HumanName","index":10},"telecom":{"short":"Contact details (telephone, email, etc.) for a contact","type":"ContactPoint","array":true,"index":11},"address":{"short":"Visiting or postal addresses for the contact","type":"Address","index":12}}},"endpoint":{"short":"Technical endpoints providing access to services operated for the organization","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Endpoint"],"array":true,"index":13}},"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"primaryInd","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/organizationaffiliation-primaryInd","version":"4.0.1","description":"Flag indicating if the specialty is the primary specialty of the provider. Normally, a practitioner will have one primary specialty, but in some cases more than one can be primary.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/organizationaffiliation-primaryInd"},"type":"uri","index":1},"value":{"choices":["valueBoolean"],"index":3},"valueBoolean":{"type":"boolean","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"primaryInd","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/organizationaffiliation-primaryInd","version":"4.0.1","description":"Flag indicating if the specialty is the primary specialty of the provider. Normally, a practitioner will have one primary specialty, but in some cases more than one can be primary.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/organizationaffiliation-primaryInd"},"index":1},"value":{"choices":["valueBoolean"],"index":3},"valueBoolean":{"type":"boolean","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"OrganizationAffiliation","type":"OrganizationAffiliation","kind":"resource","class":"resource","url":"http://hl7.org/fhir/StructureDefinition/OrganizationAffiliation","version":"4.0.1","description":"Defines an affiliation/assotiation/relationship between 2 distinct oganizations, that is not a part-of relationship/sub-division relationship.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/DomainResource","elements":{"identifier":{"short":"Business identifiers that are specific to this role","type":"Identifier","isSummary":true,"array":true,"index":0},"active":{"short":"Whether this organization affiliation record is in active use","type":"boolean","meaningWhenMissing":"This resource is generally assumed to be active if no value is provided for the active element","isSummary":true,"index":1},"period":{"short":"The period during which the participatingOrganization is affiliated with the primary organization","type":"Period","isSummary":true,"index":2},"organization":{"short":"Organization where the role is available","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Organization"],"index":3},"participatingOrganization":{"short":"Organization that provides/performs the role (e.g. providing services or is a member of)","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Organization"],"index":4},"network":{"short":"Health insurance provider network in which the participatingOrganization provides the role's services (if defined) at the indicated locations (if defined)","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Organization"],"array":true,"index":5},"code":{"short":"Definition of the role the participatingOrganization plays","type":"CodeableConcept","isSummary":true,"binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/organization-role","bindingName":"OrganizationAffiliation"},"array":true,"index":6},"specialty":{"short":"Specific specialty of the participatingOrganization in the context of the role","type":"CodeableConcept","isSummary":true,"binding":{"strength":"preferred","valueSet":"http://hl7.org/fhir/ValueSet/c80-practice-codes","bindingName":"OrganizationSpecialty"},"array":true,"index":7},"location":{"short":"The location(s) at which the role occurs","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Location"],"array":true,"index":8},"healthcareService":{"short":"Healthcare services provided through the role","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/HealthcareService"],"array":true,"index":9},"telecom":{"short":"Contact details at the participatingOrganization relevant to this Affiliation","type":"ContactPoint","isSummary":true,"array":true,"index":10},"endpoint":{"short":"Technical endpoints providing access to services operated for this role","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Endpoint"],"array":true,"index":11}},"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"Original Text","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/originalText","version":"4.0.1","description":"A human language representation of the concept (resource/element) as seen/selected/uttered by the user who entered the data and/or which represents the full intended meaning of the user. This can be provided either directly as text, or as a url that is a reference to a portion of the narrative of a resource ([DomainResource.text](narrative.html)).","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/originalText"},"type":"uri","index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"observation-oxygensat","type":"Observation","kind":"resource","class":"profile","url":"http://hl7.org/fhir/StructureDefinition/oxygensat","version":"4.0.1","description":"FHIR Oxygen Saturation Profile","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/vitalsigns","elements":{"code":{"short":"Oxygen Saturation","index":0,"elements":{"coding":{"index":1,"slicing":{"discriminator":[{"type":"value","path":"code"},{"type":"value","path":"system"}],"ordered":false,"rules":"open","slices":{"OxygenSatCode":{"match":{"code":"2708-6","system":"http://loinc.org"},"schema":{"_required":true,"index":2,"elements":{"system":{"type":"uri","pattern":{"type":"uri","value":"http://loinc.org"},"index":3},"code":{"type":"code","pattern":{"type":"code","value":"2708-6"},"index":4}},"required":["code","system"]},"min":1,"max":1}}}}}},"valueQuantity":{"index":5,"elements":{"value":{"type":"decimal","mustSupport":true,"index":6},"unit":{"type":"string","mustSupport":true,"index":7},"system":{"type":"uri","pattern":{"type":"uri","value":"http://unitsofmeasure.org"},"mustSupport":true,"index":8},"code":{"short":"Coded responses from the common UCUM units for vital signs value set.","type":"code","pattern":{"type":"code","value":"%"},"mustSupport":true,"index":9}},"required":["code","system","unit","value"]}},"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"Original Text","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/originalText","version":"4.0.1","description":"A human language representation of the concept (resource/element) as seen/selected/uttered by the user who entered the data and/or which represents the full intended meaning of the user. This can be provided either directly as text, or as a url that is a reference to a portion of the narrative of a resource ([DomainResource.text](narrative.html)).","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/originalText"},"index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"observation-oxygensat","type":"Observation","kind":"resource","class":"profile","url":"http://hl7.org/fhir/StructureDefinition/oxygensat","version":"4.0.1","description":"FHIR Oxygen Saturation Profile","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/vitalsigns","elements":{"code":{"short":"Oxygen Saturation","index":0,"elements":{"coding":{"index":1,"slicing":{"discriminator":[{"type":"value","path":"code"},{"type":"value","path":"system"}],"ordered":false,"rules":"open","slices":{"OxygenSatCode":{"match":{"code":"2708-6","system":"http://loinc.org"},"schema":{"_required":true,"index":2,"elements":{"system":{"type":"uri","fixed":{"type":"uri","value":"http://loinc.org"},"index":3},"code":{"type":"code","fixed":{"type":"code","value":"2708-6"},"index":4}},"required":["code","system"]},"min":1,"max":1}}}}}},"valueQuantity":{"index":5,"elements":{"value":{"type":"decimal","mustSupport":true,"index":6},"unit":{"type":"string","mustSupport":true,"index":7},"system":{"type":"uri","fixed":{"type":"uri","value":"http://unitsofmeasure.org"},"mustSupport":true,"index":8},"code":{"short":"Coded responses from the common UCUM units for vital signs value set.","type":"code","fixed":{"type":"code","value":"%"},"mustSupport":true,"index":9}},"required":["code","system","unit","value"]}},"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"ParameterDefinition","type":"ParameterDefinition","kind":"complex-type","class":"complex-type","url":"http://hl7.org/fhir/StructureDefinition/ParameterDefinition","version":"4.0.1","description":"Base StructureDefinition for ParameterDefinition Type: The parameters to the module. This collection specifies both the input and output parameters. Input parameters are provided by the caller as part of the $evaluate operation. Output parameters are included in the GuidanceResponse.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/Element","elements":{"name":{"short":"Name used to access the parameter value","type":"code","isSummary":true,"index":0},"use":{"short":"in | out","type":"code","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/operation-parameter-use|4.0.1","bindingName":"ParameterUse"},"index":1},"min":{"short":"Minimum cardinality","type":"integer","isSummary":true,"index":2},"max":{"short":"Maximum cardinality (a number of *)","type":"string","isSummary":true,"index":3},"documentation":{"short":"A brief description of the parameter","type":"string","isSummary":true,"index":4},"type":{"short":"What type of value","type":"code","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/all-types|4.0.1","bindingName":"FHIRAllTypes"},"index":5},"profile":{"short":"What profile the value is expected to be","type":"canonical","isSummary":true,"index":6}},"required":["type","use"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"fullUrl","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/parameters-fullUrl","version":"4.0.1","description":"This specifies the fullUrl for the resource in parameters.resource, if there is one. When fullUrl is provided, ithe [resource resolution method described for Bundle](bundle.html#references).","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/parameters-fullUrl"},"type":"uri","index":1},"value":{"choices":["valueUri"],"index":3},"valueUri":{"type":"uri","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"fullUrl","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/parameters-fullUrl","version":"4.0.1","description":"This specifies the fullUrl for the resource in parameters.resource, if there is one. When fullUrl is provided, ithe [resource resolution method described for Bundle](bundle.html#references).","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/parameters-fullUrl"},"index":1},"value":{"choices":["valueUri"],"index":3},"valueUri":{"type":"uri","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"Parameters","type":"Parameters","kind":"resource","class":"resource","url":"http://hl7.org/fhir/StructureDefinition/Parameters","version":"4.0.1","description":"This resource is a non-persisted resource used to pass information into and back from an [operation](operations.html). It has no other use, and there is no RESTful endpoint associated with it.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/Resource","elements":{"parameter":{"short":"Operation Parameter","type":"BackboneElement","constraint":{"inv-1":{"expression":"(part.exists() and value.empty() and resource.empty()) or (part.empty() and (value.exists() xor resource.exists()))","human":"A parameter must have one and only one of (value, resource, part)","severity":"error"}},"isSummary":true,"array":true,"index":0,"elements":{"name":{"short":"Name from the definition","type":"string","isSummary":true,"index":1},"value":{"short":"If parameter is a data type","isSummary":true,"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","valueMeta"],"index":3},"valueBase64Binary":{"short":"If parameter is a data type","type":"base64Binary","isSummary":true,"choiceOf":"value","index":4},"valueBoolean":{"short":"If parameter is a data type","type":"boolean","isSummary":true,"choiceOf":"value","index":5},"valueCanonical":{"short":"If parameter is a data type","type":"canonical","isSummary":true,"choiceOf":"value","index":6},"valueCode":{"short":"If parameter is a data type","type":"code","isSummary":true,"choiceOf":"value","index":7},"valueDate":{"short":"If parameter is a data type","type":"date","isSummary":true,"choiceOf":"value","index":8},"valueDateTime":{"short":"If parameter is a data type","type":"dateTime","isSummary":true,"choiceOf":"value","index":9},"valueDecimal":{"short":"If parameter is a data type","type":"decimal","isSummary":true,"choiceOf":"value","index":10},"valueId":{"short":"If parameter is a data type","type":"id","isSummary":true,"choiceOf":"value","index":11},"valueInstant":{"short":"If parameter is a data type","type":"instant","isSummary":true,"choiceOf":"value","index":12},"valueInteger":{"short":"If parameter is a data type","type":"integer","isSummary":true,"choiceOf":"value","index":13},"valueMarkdown":{"short":"If parameter is a data type","type":"markdown","isSummary":true,"choiceOf":"value","index":14},"valueOid":{"short":"If parameter is a data type","type":"oid","isSummary":true,"choiceOf":"value","index":15},"valuePositiveInt":{"short":"If parameter is a data type","type":"positiveInt","isSummary":true,"choiceOf":"value","index":16},"valueString":{"short":"If parameter is a data type","type":"string","isSummary":true,"choiceOf":"value","index":17},"valueTime":{"short":"If parameter is a data type","type":"time","isSummary":true,"choiceOf":"value","index":18},"valueUnsignedInt":{"short":"If parameter is a data type","type":"unsignedInt","isSummary":true,"choiceOf":"value","index":19},"valueUri":{"short":"If parameter is a data type","type":"uri","isSummary":true,"choiceOf":"value","index":20},"valueUrl":{"short":"If parameter is a data type","type":"url","isSummary":true,"choiceOf":"value","index":21},"valueUuid":{"short":"If parameter is a data type","type":"uuid","isSummary":true,"choiceOf":"value","index":22},"valueAddress":{"short":"If parameter is a data type","type":"Address","isSummary":true,"choiceOf":"value","index":23},"valueAge":{"short":"If parameter is a data type","type":"Age","isSummary":true,"choiceOf":"value","index":24},"valueAnnotation":{"short":"If parameter is a data type","type":"Annotation","isSummary":true,"choiceOf":"value","index":25},"valueAttachment":{"short":"If parameter is a data type","type":"Attachment","isSummary":true,"choiceOf":"value","index":26},"valueCodeableConcept":{"short":"If parameter is a data type","type":"CodeableConcept","isSummary":true,"choiceOf":"value","index":27},"valueCoding":{"short":"If parameter is a data type","type":"Coding","isSummary":true,"choiceOf":"value","index":28},"valueContactPoint":{"short":"If parameter is a data type","type":"ContactPoint","isSummary":true,"choiceOf":"value","index":29},"valueCount":{"short":"If parameter is a data type","type":"Count","isSummary":true,"choiceOf":"value","index":30},"valueDistance":{"short":"If parameter is a data type","type":"Distance","isSummary":true,"choiceOf":"value","index":31},"valueDuration":{"short":"If parameter is a data type","type":"Duration","isSummary":true,"choiceOf":"value","index":32},"valueHumanName":{"short":"If parameter is a data type","type":"HumanName","isSummary":true,"choiceOf":"value","index":33},"valueIdentifier":{"short":"If parameter is a data type","type":"Identifier","isSummary":true,"choiceOf":"value","index":34},"valueMoney":{"short":"If parameter is a data type","type":"Money","isSummary":true,"choiceOf":"value","index":35},"valuePeriod":{"short":"If parameter is a data type","type":"Period","isSummary":true,"choiceOf":"value","index":36},"valueQuantity":{"short":"If parameter is a data type","type":"Quantity","isSummary":true,"choiceOf":"value","index":37},"valueRange":{"short":"If parameter is a data type","type":"Range","isSummary":true,"choiceOf":"value","index":38},"valueRatio":{"short":"If parameter is a data type","type":"Ratio","isSummary":true,"choiceOf":"value","index":39},"valueReference":{"short":"If parameter is a data type","type":"Reference","isSummary":true,"choiceOf":"value","index":40},"valueSampledData":{"short":"If parameter is a data type","type":"SampledData","isSummary":true,"choiceOf":"value","index":41},"valueSignature":{"short":"If parameter is a data type","type":"Signature","isSummary":true,"choiceOf":"value","index":42},"valueTiming":{"short":"If parameter is a data type","type":"Timing","isSummary":true,"choiceOf":"value","index":43},"valueContactDetail":{"short":"If parameter is a data type","type":"ContactDetail","isSummary":true,"choiceOf":"value","index":44},"valueContributor":{"short":"If parameter is a data type","type":"Contributor","isSummary":true,"choiceOf":"value","index":45},"valueDataRequirement":{"short":"If parameter is a data type","type":"DataRequirement","isSummary":true,"choiceOf":"value","index":46},"valueExpression":{"short":"If parameter is a data type","type":"Expression","isSummary":true,"choiceOf":"value","index":47},"valueParameterDefinition":{"short":"If parameter is a data type","type":"ParameterDefinition","isSummary":true,"choiceOf":"value","index":48},"valueRelatedArtifact":{"short":"If parameter is a data type","type":"RelatedArtifact","isSummary":true,"choiceOf":"value","index":49},"valueTriggerDefinition":{"short":"If parameter is a data type","type":"TriggerDefinition","isSummary":true,"choiceOf":"value","index":50},"valueUsageContext":{"short":"If parameter is a data type","type":"UsageContext","isSummary":true,"choiceOf":"value","index":51},"valueDosage":{"short":"If parameter is a data type","type":"Dosage","isSummary":true,"choiceOf":"value","index":52},"valueMeta":{"short":"If parameter is a data type","type":"Meta","isSummary":true,"choiceOf":"value","index":53},"resource":{"short":"If parameter is a whole resource","type":"Resource","isSummary":true,"index":54},"part":{"short":"Named part of a multi-part parameter","isSummary":true,"elementReference":["http://hl7.org/fhir/StructureDefinition/Parameters","elements","parameter"],"array":true,"index":55}},"required":["name"]}},"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"adoptionInfo","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/patient-adoptionInfo","version":"4.0.1","description":"Code indication the adoption status of the patient.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/patient-adoptionInfo"},"type":"uri","index":1},"value":{"choices":["valueCodeableConcept"],"index":3},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"animal","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/patient-animal","version":"4.0.1","description":"This patient is known to be an animal.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{"species":{"min":1,"max":1,"short":"The animal species. E.g. Dog, Cow.","_required":true,"index":0,"extensions":{},"required":["value"]},"breed":{"max":1,"short":"The animal breed. E.g. Poodle, Angus.","index":6,"extensions":{},"required":["value"]},"genderStatus":{"max":1,"short":"The status of the animal's reproductive parts. E.g. Neutered, Intact.","index":12,"extensions":{},"required":["value"]}},"elements":{"extension":{"short":"The animal species. E.g. Dog, Cow.","type":"Extension","index":0,"slicing":{"slices":{"species":{"match":{},"schema":{"short":"The animal species. E.g. Dog, Cow.","type":"Extension","_required":true,"index":0,"extensions":"[Circular Reference]","elements":{"extension":{"index":1},"url":{"type":"uri","pattern":{"type":"uri","value":"species"},"index":2},"value":{"choices":["valueCodeableConcept"],"index":4},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":5}},"required":["value"]},"min":1,"max":1},"breed":{"match":{},"schema":{"short":"The animal breed. E.g. Poodle, Angus.","type":"Extension","index":6,"extensions":"[Circular Reference]","elements":{"extension":{"index":7},"url":{"type":"uri","pattern":{"type":"uri","value":"breed"},"index":8},"value":{"choices":["valueCodeableConcept"],"index":10},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":11}},"required":["value"]},"max":1},"genderStatus":{"match":{},"schema":{"short":"The status of the animal's reproductive parts. E.g. Neutered, Intact.","type":"Extension","index":12,"extensions":"[Circular Reference]","elements":{"extension":{"index":13},"url":{"type":"uri","pattern":{"type":"uri","value":"genderStatus"},"index":14},"value":{"choices":["valueCodeableConcept"],"index":16},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":17}},"required":["value"]},"max":1}}}},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/patient-animal"},"type":"uri","index":18}},"required":["extension"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"birthPlace","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/patient-birthPlace","version":"4.0.1","description":"The registered place of birth of the patient. A sytem may use the address.text if they don't store the birthPlace address in discrete elements.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/patient-birthPlace"},"type":"uri","index":1},"value":{"choices":["valueAddress"],"index":3},"valueAddress":{"type":"Address","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"birthTime","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/patient-birthTime","version":"4.0.1","description":"The time of day that the Patient was born. This includes the date to ensure that the timezone information can be communicated effectively.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/patient-birthTime"},"type":"uri","index":1},"value":{"choices":["valueDateTime"],"index":3},"valueDateTime":{"type":"dateTime","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"cadavericDonor","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/patient-cadavericDonor","version":"4.0.1","description":"Flag indicating whether the patient authorized the donation of body parts after death.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/patient-cadavericDonor"},"type":"uri","index":1},"value":{"choices":["valueBoolean"],"index":3},"valueBoolean":{"type":"boolean","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"citizenship","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/patient-citizenship","version":"4.0.1","description":"The patient's legal status as citizen of a country.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{"code":{"max":1,"short":"Nation code of citizenship","index":0,"extensions":{},"required":["value"]},"period":{"max":1,"short":"Time period of citizenship","index":6,"extensions":{},"required":["value"]}},"elements":{"extension":{"short":"Nation code of citizenship","type":"Extension","index":0,"slicing":{"slices":{"code":{"match":{},"schema":{"short":"Nation code of citizenship","type":"Extension","index":0,"extensions":"[Circular Reference]","elements":{"extension":{"index":1},"url":{"type":"uri","pattern":{"type":"uri","value":"code"},"index":2},"value":{"choices":["valueCodeableConcept"],"index":4},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":5}},"required":["value"]},"max":1},"period":{"match":{},"schema":{"short":"Time period of citizenship","type":"Extension","index":6,"extensions":"[Circular Reference]","elements":{"extension":{"index":7},"url":{"type":"uri","pattern":{"type":"uri","value":"period"},"index":8},"value":{"choices":["valuePeriod"],"index":10},"valuePeriod":{"type":"Period","choiceOf":"value","index":11}},"required":["value"]},"max":1}}}},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/patient-citizenship"},"type":"uri","index":12}},"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"congregation","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/patient-congregation","version":"4.0.1","description":"A group or place of religious practice that may provide services to the patient.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/patient-congregation"},"type":"uri","index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"disability","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/patient-disability","version":"4.0.1","description":"Value(s) identifying physical or mental condition(s) that limits a person's movements, senses, or activities.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/patient-disability"},"type":"uri","index":1},"value":{"choices":["valueCodeableConcept"],"index":3},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"genderIdentity","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/patient-genderIdentity","version":"4.0.1","description":"The gender the patient identifies with. The Patient's gender identity is used as guidance (e.g. for staff) about how to interact with the patient.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/patient-genderIdentity"},"type":"uri","index":1},"value":{"choices":["valueCodeableConcept"],"index":3},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"importance","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/patient-importance","version":"4.0.1","description":"The importance of the patient (e.g. VIP).","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/patient-importance"},"type":"uri","index":1},"value":{"choices":["valueCodeableConcept"],"index":3},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"interpreterRequired","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/patient-interpreterRequired","version":"4.0.1","description":"This Patient requires an interpreter to communicate healthcare information to the practitioner.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/patient-interpreterRequired"},"type":"uri","index":1},"value":{"choices":["valueBoolean"],"index":3},"valueBoolean":{"type":"boolean","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"mothersMaidenName","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName","version":"4.0.1","description":"Mother's maiden (unmarried) name, commonly collected to help verify patient identity.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName"},"type":"uri","index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"nationality","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/patient-nationality","version":"4.0.1","description":"The nationality of the patient.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{"code":{"max":1,"short":"Nationality Code","index":0,"extensions":{},"required":["value"]},"period":{"max":1,"short":"Nationality Period","index":6,"extensions":{},"required":["value"]}},"elements":{"extension":{"short":"Nationality Code","type":"Extension","index":0,"slicing":{"slices":{"code":{"match":{},"schema":{"short":"Nationality Code","type":"Extension","index":0,"extensions":"[Circular Reference]","elements":{"extension":{"index":1},"url":{"type":"uri","pattern":{"type":"uri","value":"code"},"index":2},"value":{"choices":["valueCodeableConcept"],"index":4},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":5}},"required":["value"]},"max":1},"period":{"match":{},"schema":{"short":"Nationality Period","type":"Extension","index":6,"extensions":"[Circular Reference]","elements":{"extension":{"index":7},"url":{"type":"uri","pattern":{"type":"uri","value":"period"},"index":8},"value":{"choices":["valuePeriod"],"index":10},"valuePeriod":{"type":"Period","choiceOf":"value","index":11}},"required":["value"]},"max":1}}}},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/patient-nationality"},"type":"uri","index":12}},"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"preferenceType","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/patient-preferenceType","version":"4.0.1","description":"Indicates what mode of communication the patient prefers to use for the indicated language.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/patient-preferenceType"},"type":"uri","index":1},"value":{"choices":["valueCoding"],"index":3},"valueCoding":{"type":"Coding","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"proficiency","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/patient-proficiency","version":"4.0.1","description":"Proficiency level of the communication.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{"level":{"max":1,"short":"The proficiency level of the communication","index":0,"extensions":{},"required":["value"]},"type":{"short":"The proficiency type of the communication","array":true,"index":6,"extensions":{},"required":["value"]}},"elements":{"extension":{"short":"The proficiency level of the communication","type":"Extension","index":0,"slicing":{"slices":{"level":{"match":{},"schema":{"short":"The proficiency level of the communication","type":"Extension","index":0,"extensions":"[Circular Reference]","elements":{"extension":{"index":1},"url":{"type":"uri","pattern":{"type":"uri","value":"level"},"index":2},"value":{"choices":["valueCoding"],"index":4},"valueCoding":{"type":"Coding","choiceOf":"value","index":5}},"required":["value"]},"max":1},"type":{"match":{},"schema":{"short":"The proficiency type of the communication","type":"Extension","array":true,"index":6,"extensions":"[Circular Reference]","elements":{"extension":{"index":7},"url":{"type":"uri","pattern":{"type":"uri","value":"type"},"index":8},"value":{"choices":["valueCoding"],"index":10},"valueCoding":{"type":"Coding","choiceOf":"value","index":11}},"required":["value"]}}}}},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/patient-proficiency"},"type":"uri","index":12}},"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"relatedPerson","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/patient-relatedPerson","version":"4.0.1","description":"In some cases a Patient.contact will also be populated as a RelatedPerson resource. This linkage permits the linkage between the 2 resources to be able to accurately indicate a representation of the same individual, and updating details between could be appropriate.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/patient-relatedPerson"},"type":"uri","index":1},"value":{"choices":["valueReference"],"index":3},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/RelatedPerson"],"index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"religion","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/patient-religion","version":"4.0.1","description":"The patient's professed religious affiliations.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/patient-religion"},"type":"uri","index":1},"value":{"choices":["valueCodeableConcept"],"index":3},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"adoptionInfo","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/patient-adoptionInfo","version":"4.0.1","description":"Code indication the adoption status of the patient.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/patient-adoptionInfo"},"index":1},"value":{"choices":["valueCodeableConcept"],"index":3},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"animal","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/patient-animal","version":"4.0.1","description":"This patient is known to be an animal.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{"species":{"min":1,"max":1,"short":"The animal species. E.g. Dog, Cow.","_required":true,"index":0,"extensions":{},"required":["value"]},"breed":{"max":1,"short":"The animal breed. E.g. Poodle, Angus.","index":6,"extensions":{},"required":["value"]},"genderStatus":{"max":1,"short":"The status of the animal's reproductive parts. E.g. Neutered, Intact.","index":12,"extensions":{},"required":["value"]}},"elements":{"extension":{"short":"The animal species. E.g. Dog, Cow.","type":"Extension","index":0,"slicing":{"slices":{"species":{"match":{},"schema":{"short":"The animal species. E.g. Dog, Cow.","type":"Extension","_required":true,"index":0,"extensions":"[Circular Reference]","elements":{"extension":{"index":1},"url":{"type":"uri","fixed":{"type":"uri","value":"species"},"index":2},"value":{"choices":["valueCodeableConcept"],"index":4},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":5}},"required":["value"]},"min":1,"max":1},"breed":{"match":{},"schema":{"short":"The animal breed. E.g. Poodle, Angus.","type":"Extension","index":6,"extensions":"[Circular Reference]","elements":{"extension":{"index":7},"url":{"type":"uri","fixed":{"type":"uri","value":"breed"},"index":8},"value":{"choices":["valueCodeableConcept"],"index":10},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":11}},"required":["value"]},"max":1},"genderStatus":{"match":{},"schema":{"short":"The status of the animal's reproductive parts. E.g. Neutered, Intact.","type":"Extension","index":12,"extensions":"[Circular Reference]","elements":{"extension":{"index":13},"url":{"type":"uri","fixed":{"type":"uri","value":"genderStatus"},"index":14},"value":{"choices":["valueCodeableConcept"],"index":16},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":17}},"required":["value"]},"max":1}}}},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/patient-animal"},"index":18}},"required":["extension"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"birthPlace","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/patient-birthPlace","version":"4.0.1","description":"The registered place of birth of the patient. A sytem may use the address.text if they don't store the birthPlace address in discrete elements.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/patient-birthPlace"},"index":1},"value":{"choices":["valueAddress"],"index":3},"valueAddress":{"type":"Address","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"birthTime","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/patient-birthTime","version":"4.0.1","description":"The time of day that the Patient was born. This includes the date to ensure that the timezone information can be communicated effectively.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/patient-birthTime"},"index":1},"value":{"choices":["valueDateTime"],"index":3},"valueDateTime":{"type":"dateTime","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"cadavericDonor","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/patient-cadavericDonor","version":"4.0.1","description":"Flag indicating whether the patient authorized the donation of body parts after death.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/patient-cadavericDonor"},"index":1},"value":{"choices":["valueBoolean"],"index":3},"valueBoolean":{"type":"boolean","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"citizenship","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/patient-citizenship","version":"4.0.1","description":"The patient's legal status as citizen of a country.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{"code":{"max":1,"short":"Nation code of citizenship","index":0,"extensions":{},"required":["value"]},"period":{"max":1,"short":"Time period of citizenship","index":6,"extensions":{},"required":["value"]}},"elements":{"extension":{"short":"Nation code of citizenship","type":"Extension","index":0,"slicing":{"slices":{"code":{"match":{},"schema":{"short":"Nation code of citizenship","type":"Extension","index":0,"extensions":"[Circular Reference]","elements":{"extension":{"index":1},"url":{"type":"uri","fixed":{"type":"uri","value":"code"},"index":2},"value":{"choices":["valueCodeableConcept"],"index":4},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":5}},"required":["value"]},"max":1},"period":{"match":{},"schema":{"short":"Time period of citizenship","type":"Extension","index":6,"extensions":"[Circular Reference]","elements":{"extension":{"index":7},"url":{"type":"uri","fixed":{"type":"uri","value":"period"},"index":8},"value":{"choices":["valuePeriod"],"index":10},"valuePeriod":{"type":"Period","choiceOf":"value","index":11}},"required":["value"]},"max":1}}}},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/patient-citizenship"},"index":12}},"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"congregation","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/patient-congregation","version":"4.0.1","description":"A group or place of religious practice that may provide services to the patient.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/patient-congregation"},"index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"disability","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/patient-disability","version":"4.0.1","description":"Value(s) identifying physical or mental condition(s) that limits a person's movements, senses, or activities.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/patient-disability"},"index":1},"value":{"choices":["valueCodeableConcept"],"index":3},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"genderIdentity","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/patient-genderIdentity","version":"4.0.1","description":"The gender the patient identifies with. The Patient's gender identity is used as guidance (e.g. for staff) about how to interact with the patient.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/patient-genderIdentity"},"index":1},"value":{"choices":["valueCodeableConcept"],"index":3},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"importance","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/patient-importance","version":"4.0.1","description":"The importance of the patient (e.g. VIP).","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/patient-importance"},"index":1},"value":{"choices":["valueCodeableConcept"],"index":3},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"interpreterRequired","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/patient-interpreterRequired","version":"4.0.1","description":"This Patient requires an interpreter to communicate healthcare information to the practitioner.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/patient-interpreterRequired"},"index":1},"value":{"choices":["valueBoolean"],"index":3},"valueBoolean":{"type":"boolean","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"mothersMaidenName","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName","version":"4.0.1","description":"Mother's maiden (unmarried) name, commonly collected to help verify patient identity.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName"},"index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"nationality","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/patient-nationality","version":"4.0.1","description":"The nationality of the patient.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{"code":{"max":1,"short":"Nationality Code","index":0,"extensions":{},"required":["value"]},"period":{"max":1,"short":"Nationality Period","index":6,"extensions":{},"required":["value"]}},"elements":{"extension":{"short":"Nationality Code","type":"Extension","index":0,"slicing":{"slices":{"code":{"match":{},"schema":{"short":"Nationality Code","type":"Extension","index":0,"extensions":"[Circular Reference]","elements":{"extension":{"index":1},"url":{"type":"uri","fixed":{"type":"uri","value":"code"},"index":2},"value":{"choices":["valueCodeableConcept"],"index":4},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":5}},"required":["value"]},"max":1},"period":{"match":{},"schema":{"short":"Nationality Period","type":"Extension","index":6,"extensions":"[Circular Reference]","elements":{"extension":{"index":7},"url":{"type":"uri","fixed":{"type":"uri","value":"period"},"index":8},"value":{"choices":["valuePeriod"],"index":10},"valuePeriod":{"type":"Period","choiceOf":"value","index":11}},"required":["value"]},"max":1}}}},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/patient-nationality"},"index":12}},"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"preferenceType","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/patient-preferenceType","version":"4.0.1","description":"Indicates what mode of communication the patient prefers to use for the indicated language.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/patient-preferenceType"},"index":1},"value":{"choices":["valueCoding"],"index":3},"valueCoding":{"type":"Coding","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"proficiency","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/patient-proficiency","version":"4.0.1","description":"Proficiency level of the communication.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{"level":{"max":1,"short":"The proficiency level of the communication","index":0,"extensions":{},"required":["value"]},"type":{"short":"The proficiency type of the communication","array":true,"index":6,"extensions":{},"required":["value"]}},"elements":{"extension":{"short":"The proficiency level of the communication","type":"Extension","index":0,"slicing":{"slices":{"level":{"match":{},"schema":{"short":"The proficiency level of the communication","type":"Extension","index":0,"extensions":"[Circular Reference]","elements":{"extension":{"index":1},"url":{"type":"uri","fixed":{"type":"uri","value":"level"},"index":2},"value":{"choices":["valueCoding"],"index":4},"valueCoding":{"type":"Coding","choiceOf":"value","index":5}},"required":["value"]},"max":1},"type":{"match":{},"schema":{"short":"The proficiency type of the communication","type":"Extension","array":true,"index":6,"extensions":"[Circular Reference]","elements":{"extension":{"index":7},"url":{"type":"uri","fixed":{"type":"uri","value":"type"},"index":8},"value":{"choices":["valueCoding"],"index":10},"valueCoding":{"type":"Coding","choiceOf":"value","index":11}},"required":["value"]}}}}},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/patient-proficiency"},"index":12}},"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"relatedPerson","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/patient-relatedPerson","version":"4.0.1","description":"In some cases a Patient.contact will also be populated as a RelatedPerson resource. This linkage permits the linkage between the 2 resources to be able to accurately indicate a representation of the same individual, and updating details between could be appropriate.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/patient-relatedPerson"},"index":1},"value":{"choices":["valueReference"],"index":3},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/RelatedPerson"],"index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"religion","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/patient-religion","version":"4.0.1","description":"The patient's professed religious affiliations.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/patient-religion"},"index":1},"value":{"choices":["valueCodeableConcept"],"index":3},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"Patient","type":"Patient","kind":"resource","class":"resource","url":"http://hl7.org/fhir/StructureDefinition/Patient","version":"4.0.1","description":"Demographics and other administrative information about an individual or animal receiving care or other health-related services.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/DomainResource","elements":{"identifier":{"short":"An identifier for this patient","type":"Identifier","isSummary":true,"array":true,"index":0},"active":{"short":"Whether this patient's record is in active use","type":"boolean","meaningWhenMissing":"This resource is generally assumed to be active if no value is provided for the active element","isModifier":true,"isModifierReason":"This element is labelled as a modifier because it is a status element that can indicate that a record should not be treated as valid","isSummary":true,"index":1},"name":{"short":"A name associated with the patient","type":"HumanName","isSummary":true,"array":true,"index":2},"telecom":{"short":"A contact detail for the individual","type":"ContactPoint","isSummary":true,"array":true,"index":3},"gender":{"short":"male | female | other | unknown","type":"code","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/administrative-gender|4.0.1","bindingName":"AdministrativeGender"},"index":4},"birthDate":{"short":"The date of birth for the individual","type":"date","isSummary":true,"index":5},"deceased":{"short":"Indicates if the individual is deceased or not","isModifier":true,"isModifierReason":"This element is labeled as a modifier because once a patient is marked as deceased, the actions that are appropriate to perform on the patient may be significantly different.","isSummary":true,"choices":["deceasedBoolean","deceasedDateTime"],"index":7},"deceasedBoolean":{"short":"Indicates if the individual is deceased or not","type":"boolean","isModifier":true,"isModifierReason":"This element is labeled as a modifier because once a patient is marked as deceased, the actions that are appropriate to perform on the patient may be significantly different.","isSummary":true,"choiceOf":"deceased","index":8},"deceasedDateTime":{"short":"Indicates if the individual is deceased or not","type":"dateTime","isModifier":true,"isModifierReason":"This element is labeled as a modifier because once a patient is marked as deceased, the actions that are appropriate to perform on the patient may be significantly different.","isSummary":true,"choiceOf":"deceased","index":9},"address":{"short":"An address for the individual","type":"Address","isSummary":true,"array":true,"index":10},"maritalStatus":{"short":"Marital (civil) status of a patient","type":"CodeableConcept","binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/ValueSet/marital-status","bindingName":"MaritalStatus"},"index":11},"multipleBirth":{"short":"Whether patient is part of a multiple birth","choices":["multipleBirthBoolean","multipleBirthInteger"],"index":13},"multipleBirthBoolean":{"short":"Whether patient is part of a multiple birth","type":"boolean","choiceOf":"multipleBirth","index":14},"multipleBirthInteger":{"short":"Whether patient is part of a multiple birth","type":"integer","choiceOf":"multipleBirth","index":15},"photo":{"short":"Image of the patient","type":"Attachment","array":true,"index":16},"contact":{"short":"A contact party (e.g. guardian, partner, friend) for the patient","type":"BackboneElement","constraint":{"pat-1":{"expression":"name.exists() or telecom.exists() or address.exists() or organization.exists()","human":"SHALL at least contain a contact's details or a reference to an organization","severity":"error"}},"array":true,"index":17,"elements":{"relationship":{"short":"The kind of relationship","type":"CodeableConcept","binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/ValueSet/patient-contactrelationship","bindingName":"ContactRelationship"},"array":true,"index":18},"name":{"short":"A name associated with the contact person","type":"HumanName","index":19},"telecom":{"short":"A contact detail for the person","type":"ContactPoint","array":true,"index":20},"address":{"short":"Address for the contact person","type":"Address","index":21},"gender":{"short":"male | female | other | unknown","type":"code","binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/administrative-gender|4.0.1","bindingName":"AdministrativeGender"},"index":22},"organization":{"short":"Organization that is associated with the contact","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Organization"],"index":23},"period":{"short":"The period during which this contact person or organization is valid to be contacted relating to this patient","type":"Period","index":24}}},"communication":{"short":"A language which may be used to communicate with the patient about his or her health","type":"BackboneElement","array":true,"index":25,"elements":{"language":{"short":"The language which can be used to communicate with the patient about his or her health","type":"CodeableConcept","binding":{"strength":"preferred","valueSet":"http://hl7.org/fhir/ValueSet/languages","bindingName":"Language"},"index":26},"preferred":{"short":"Language preference indicator","type":"boolean","index":27}},"required":["language"]},"generalPractitioner":{"short":"Patient's nominated primary care provider","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Organization","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole"],"array":true,"index":28},"managingOrganization":{"short":"Organization that is the custodian of the patient record","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Organization"],"index":29},"link":{"short":"Link to another patient resource that concerns the same actual person","type":"BackboneElement","isModifier":true,"isModifierReason":"This element is labeled as a modifier because it might not be the main Patient resource, and the referenced patient should be used instead of this Patient record. This is when the link.type value is 'replaced-by'","isSummary":true,"array":true,"index":30,"elements":{"other":{"short":"The other patient or related person resource that the link refers to","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Patient","http://hl7.org/fhir/StructureDefinition/RelatedPerson"],"index":31},"type":{"short":"replaced-by | replaces | refer | seealso","type":"code","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/link-type|4.0.1","bindingName":"LinkType"},"index":32}},"required":["other","type"]}},"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"PaymentNotice","type":"PaymentNotice","kind":"resource","class":"resource","url":"http://hl7.org/fhir/StructureDefinition/PaymentNotice","version":"4.0.1","description":"This resource provides the status of the payment for goods and services rendered, and the request and response resource references.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/DomainResource","elements":{"identifier":{"short":"Business Identifier for the payment noctice","type":"Identifier","array":true,"index":0},"status":{"short":"active | cancelled | draft | entered-in-error","type":"code","isModifier":true,"isModifierReason":"This element is labelled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/fm-status|4.0.1","bindingName":"PaymentNoticeStatus"},"index":1},"request":{"short":"Request reference","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Resource"],"index":2},"response":{"short":"Response reference","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Resource"],"index":3},"created":{"short":"Creation date","type":"dateTime","isSummary":true,"index":4},"provider":{"short":"Responsible practitioner","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Organization","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole"],"index":5},"payment":{"short":"Payment reference","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/PaymentReconciliation"],"index":6},"paymentDate":{"short":"Payment or clearing date","type":"date","index":7},"payee":{"short":"Party being paid","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Organization","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole"],"index":8},"recipient":{"short":"Party being notified","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Organization"],"index":9},"amount":{"short":"Monetary amount of the payment","type":"Money","isSummary":true,"index":10},"paymentStatus":{"short":"Issued or cleared Status of the payment","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/payment-status","bindingName":"PaymentStatus"},"index":11}},"required":["amount","created","payment","recipient","status"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"PaymentReconciliation","type":"PaymentReconciliation","kind":"resource","class":"resource","url":"http://hl7.org/fhir/StructureDefinition/PaymentReconciliation","version":"4.0.1","description":"This resource provides the details including amount of a payment and allocates the payment items being paid.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/DomainResource","elements":{"identifier":{"short":"Business Identifier for a payment reconciliation","type":"Identifier","array":true,"index":0},"status":{"short":"active | cancelled | draft | entered-in-error","type":"code","isModifier":true,"isModifierReason":"This element is labelled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/fm-status|4.0.1","bindingName":"PaymentReconciliationStatus"},"index":1},"period":{"short":"Period covered","type":"Period","isSummary":true,"index":2},"created":{"short":"Creation date","type":"dateTime","isSummary":true,"index":3},"paymentIssuer":{"short":"Party generating payment","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Organization"],"index":4},"request":{"short":"Reference to requesting resource","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Task"],"index":5},"requestor":{"short":"Responsible practitioner","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Organization","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole"],"index":6},"outcome":{"short":"queued | complete | error | partial","type":"code","binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/remittance-outcome|4.0.1","bindingName":"RemittanceOutcome"},"index":7},"disposition":{"short":"Disposition message","type":"string","index":8},"paymentDate":{"short":"When payment issued","type":"date","isSummary":true,"index":9},"paymentAmount":{"short":"Total amount of Payment","type":"Money","isSummary":true,"index":10},"paymentIdentifier":{"short":"Business identifier for the payment","type":"Identifier","index":11},"detail":{"short":"Settlement particulars","type":"BackboneElement","array":true,"index":12,"elements":{"identifier":{"short":"Business identifier of the payment detail","type":"Identifier","index":13},"predecessor":{"short":"Business identifier of the prior payment detail","type":"Identifier","index":14},"type":{"short":"Category of payment","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/payment-type","bindingName":"PaymentType"},"index":15},"request":{"short":"Request giving rise to the payment","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Resource"],"index":16},"submitter":{"short":"Submitter of the request","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Organization","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole"],"index":17},"response":{"short":"Response committing to a payment","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Resource"],"index":18},"date":{"short":"Date of commitment to pay","type":"date","index":19},"responsible":{"short":"Contact for the response","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/PractitionerRole"],"index":20},"payee":{"short":"Recipient of the payment","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Organization","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole"],"index":21},"amount":{"short":"Amount allocated to this payable","type":"Money","index":22}},"required":["type"]},"formCode":{"short":"Printed form identifier","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/forms","bindingName":"Forms"},"index":23},"processNote":{"short":"Note concerning processing","type":"BackboneElement","array":true,"index":24,"elements":{"type":{"short":"display | print | printoper","type":"code","binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/note-type|4.0.1","bindingName":"NoteType"},"index":25},"text":{"short":"Note explanatory text","type":"string","index":26}}}},"required":["created","paymentAmount","paymentDate","status"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} @@ -1197,93 +1197,93 @@ exports[`IntrospectionWriter - Fhir Schema Output Check all introspection data i {"name":"PlanDefinition","type":"PlanDefinition","kind":"resource","class":"resource","url":"http://hl7.org/fhir/StructureDefinition/PlanDefinition","version":"4.0.1","description":"This resource allows for the definition of various types of plans as a sharable, consumable, and executable artifact. The resource is general enough to support the description of a broad range of clinical artifacts such as clinical decision support rules, order sets and protocols.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/DomainResource","elements":{"url":{"short":"Canonical identifier for this plan definition, represented as a URI (globally unique)","type":"uri","isSummary":true,"index":0},"identifier":{"short":"Additional identifier for the plan definition","type":"Identifier","isSummary":true,"array":true,"index":1},"version":{"short":"Business version of the plan definition","type":"string","isSummary":true,"index":2},"name":{"short":"Name for this plan definition (computer friendly)","type":"string","isSummary":true,"index":3},"title":{"short":"Name for this plan definition (human friendly)","type":"string","isSummary":true,"index":4},"subtitle":{"short":"Subordinate title of the plan definition","type":"string","index":5},"type":{"short":"order-set | clinical-protocol | eca-rule | workflow-definition","type":"CodeableConcept","isSummary":true,"binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/ValueSet/plan-definition-type","bindingName":"PlanDefinitionType"},"index":6},"status":{"short":"draft | active | retired | unknown","type":"code","isModifier":true,"isModifierReason":"This is labeled as \\"Is Modifier\\" because applications should not use a retired {{title}} without due consideration","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/publication-status|4.0.1","bindingName":"PublicationStatus"},"index":7},"experimental":{"short":"For testing purposes, not real usage","type":"boolean","isSummary":true,"index":8},"subject":{"short":"Type of individual the plan definition is focused on","meaningWhenMissing":"Patient","choices":["subjectCodeableConcept","subjectReference"],"index":10},"subjectCodeableConcept":{"short":"Type of individual the plan definition is focused on","type":"CodeableConcept","meaningWhenMissing":"Patient","choiceOf":"subject","index":11},"subjectReference":{"short":"Type of individual the plan definition is focused on","type":"Reference","meaningWhenMissing":"Patient","choiceOf":"subject","refers":["http://hl7.org/fhir/StructureDefinition/Group"],"index":12},"date":{"short":"Date last changed","type":"dateTime","isSummary":true,"index":13},"publisher":{"short":"Name of the publisher (organization or individual)","type":"string","isSummary":true,"index":14},"contact":{"short":"Contact details for the publisher","type":"ContactDetail","isSummary":true,"array":true,"index":15},"description":{"short":"Natural language description of the plan definition","type":"markdown","isSummary":true,"index":16},"useContext":{"short":"The context that the content is intended to support","type":"UsageContext","isSummary":true,"array":true,"index":17},"jurisdiction":{"short":"Intended jurisdiction for plan definition (if applicable)","type":"CodeableConcept","isSummary":true,"binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/ValueSet/jurisdiction","bindingName":"Jurisdiction"},"array":true,"index":18},"purpose":{"short":"Why this plan definition is defined","type":"markdown","index":19},"usage":{"short":"Describes the clinical usage of the plan","type":"string","index":20},"copyright":{"short":"Use and/or publishing restrictions","type":"markdown","index":21},"approvalDate":{"short":"When the plan definition was approved by publisher","type":"date","index":22},"lastReviewDate":{"short":"When the plan definition was last reviewed","type":"date","index":23},"effectivePeriod":{"short":"When the plan definition is expected to be used","type":"Period","isSummary":true,"index":24},"topic":{"short":"E.g. Education, Treatment, Assessment","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/definition-topic","bindingName":"DefinitionTopic"},"array":true,"index":25},"author":{"short":"Who authored the content","type":"ContactDetail","array":true,"index":26},"editor":{"short":"Who edited the content","type":"ContactDetail","array":true,"index":27},"reviewer":{"short":"Who reviewed the content","type":"ContactDetail","array":true,"index":28},"endorser":{"short":"Who endorsed the content","type":"ContactDetail","array":true,"index":29},"relatedArtifact":{"short":"Additional documentation, citations","type":"RelatedArtifact","array":true,"index":30},"library":{"short":"Logic used by the plan definition","type":"canonical","array":true,"index":31},"goal":{"short":"What the plan is trying to accomplish","type":"BackboneElement","array":true,"index":32,"elements":{"category":{"short":"E.g. Treatment, dietary, behavioral","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/goal-category","bindingName":"GoalCategory"},"index":33},"description":{"short":"Code or text describing the goal","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/clinical-findings","bindingName":"GoalDescription"},"index":34},"priority":{"short":"high-priority | medium-priority | low-priority","type":"CodeableConcept","binding":{"strength":"preferred","valueSet":"http://hl7.org/fhir/ValueSet/goal-priority","bindingName":"GoalPriority"},"index":35},"start":{"short":"When goal pursuit begins","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/goal-start-event","bindingName":"GoalStartEvent"},"index":36},"addresses":{"short":"What does the goal address","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/condition-code","bindingName":"GoalAddresses"},"array":true,"index":37},"documentation":{"short":"Supporting documentation for the goal","type":"RelatedArtifact","array":true,"index":38},"target":{"short":"Target outcome for the goal","type":"BackboneElement","array":true,"index":39,"elements":{"measure":{"short":"The parameter whose value is to be tracked","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/observation-codes","bindingName":"GoalTargetMeasure"},"index":40},"detail":{"short":"The target value to be achieved","choices":["detailQuantity","detailRange","detailCodeableConcept"],"index":42},"detailQuantity":{"short":"The target value to be achieved","type":"Quantity","choiceOf":"detail","index":43},"detailRange":{"short":"The target value to be achieved","type":"Range","choiceOf":"detail","index":44},"detailCodeableConcept":{"short":"The target value to be achieved","type":"CodeableConcept","choiceOf":"detail","index":45},"due":{"short":"Reach goal within","type":"Duration","index":46}}}},"required":["description"]},"action":{"short":"Action defined by the plan","type":"BackboneElement","array":true,"index":47,"elements":{"prefix":{"short":"User-visible prefix for the action (e.g. 1. or A.)","type":"string","index":48},"title":{"short":"User-visible title","type":"string","index":49},"description":{"short":"Brief description of the action","type":"string","index":50},"textEquivalent":{"short":"Static text equivalent of the action, used if the dynamic aspects cannot be interpreted by the receiving system","type":"string","index":51},"priority":{"short":"routine | urgent | asap | stat","type":"code","binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/request-priority|4.0.1","bindingName":"RequestPriority"},"index":52},"code":{"short":"Code representing the meaning of the action or sub-actions","type":"CodeableConcept","array":true,"index":53},"reason":{"short":"Why the action should be performed","type":"CodeableConcept","array":true,"index":54},"documentation":{"short":"Supporting documentation for the intended performer of the action","type":"RelatedArtifact","array":true,"index":55},"goalId":{"short":"What goals this action supports","type":"id","array":true,"index":56},"subject":{"short":"Type of individual the action is focused on","meaningWhenMissing":"Patient","choices":["subjectCodeableConcept","subjectReference"],"index":58},"subjectCodeableConcept":{"short":"Type of individual the action is focused on","type":"CodeableConcept","meaningWhenMissing":"Patient","choiceOf":"subject","index":59},"subjectReference":{"short":"Type of individual the action is focused on","type":"Reference","meaningWhenMissing":"Patient","choiceOf":"subject","refers":["http://hl7.org/fhir/StructureDefinition/Group"],"index":60},"trigger":{"short":"When the action should be triggered","type":"TriggerDefinition","array":true,"index":61},"condition":{"short":"Whether or not the action is applicable","type":"BackboneElement","array":true,"index":62,"elements":{"kind":{"short":"applicability | start | stop","type":"code","binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/action-condition-kind|4.0.1","bindingName":"ActionConditionKind"},"index":63},"expression":{"short":"Boolean-valued expression","type":"Expression","index":64}},"required":["kind"]},"input":{"short":"Input data requirements","type":"DataRequirement","array":true,"index":65},"output":{"short":"Output data definition","type":"DataRequirement","array":true,"index":66},"relatedAction":{"short":"Relationship to another action","type":"BackboneElement","array":true,"index":67,"elements":{"actionId":{"short":"What action is this related to","type":"id","index":68},"relationship":{"short":"before-start | before | before-end | concurrent-with-start | concurrent | concurrent-with-end | after-start | after | after-end","type":"code","binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/action-relationship-type|4.0.1","bindingName":"ActionRelationshipType"},"index":69},"offset":{"short":"Time offset for the relationship","choices":["offsetDuration","offsetRange"],"index":71},"offsetDuration":{"short":"Time offset for the relationship","type":"Duration","choiceOf":"offset","index":72},"offsetRange":{"short":"Time offset for the relationship","type":"Range","choiceOf":"offset","index":73}},"required":["actionId","relationship"]},"timing":{"short":"When the action should take place","choices":["timingDateTime","timingAge","timingPeriod","timingDuration","timingRange","timingTiming"],"index":75},"timingDateTime":{"short":"When the action should take place","type":"dateTime","choiceOf":"timing","index":76},"timingAge":{"short":"When the action should take place","type":"Age","choiceOf":"timing","index":77},"timingPeriod":{"short":"When the action should take place","type":"Period","choiceOf":"timing","index":78},"timingDuration":{"short":"When the action should take place","type":"Duration","choiceOf":"timing","index":79},"timingRange":{"short":"When the action should take place","type":"Range","choiceOf":"timing","index":80},"timingTiming":{"short":"When the action should take place","type":"Timing","choiceOf":"timing","index":81},"participant":{"short":"Who should participate in the action","type":"BackboneElement","array":true,"index":82,"elements":{"type":{"short":"patient | practitioner | related-person | device","type":"code","binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/action-participant-type|4.0.1","bindingName":"ActionParticipantType"},"index":83},"role":{"short":"E.g. Nurse, Surgeon, Parent","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/action-participant-role","bindingName":"ActionParticipantRole"},"index":84}},"required":["type"]},"type":{"short":"create | update | remove | fire-event","type":"CodeableConcept","binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/ValueSet/action-type","bindingName":"ActionType"},"index":85},"groupingBehavior":{"short":"visual-group | logical-group | sentence-group","type":"code","binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/action-grouping-behavior|4.0.1","bindingName":"ActionGroupingBehavior"},"index":86},"selectionBehavior":{"short":"any | all | all-or-none | exactly-one | at-most-one | one-or-more","type":"code","binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/action-selection-behavior|4.0.1","bindingName":"ActionSelectionBehavior"},"index":87},"requiredBehavior":{"short":"must | could | must-unless-documented","type":"code","binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/action-required-behavior|4.0.1","bindingName":"ActionRequiredBehavior"},"index":88},"precheckBehavior":{"short":"yes | no","type":"code","binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/action-precheck-behavior|4.0.1","bindingName":"ActionPrecheckBehavior"},"index":89},"cardinalityBehavior":{"short":"single | multiple","type":"code","binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/action-cardinality-behavior|4.0.1","bindingName":"ActionCardinalityBehavior"},"index":90},"definition":{"short":"Description of the activity to be performed","choices":["definitionCanonical","definitionUri"],"index":92},"definitionCanonical":{"short":"Description of the activity to be performed","type":"canonical","choiceOf":"definition","index":93},"definitionUri":{"short":"Description of the activity to be performed","type":"uri","choiceOf":"definition","index":94},"transform":{"short":"Transform to apply the template","type":"canonical","index":95},"dynamicValue":{"short":"Dynamic aspects of the definition","type":"BackboneElement","array":true,"index":96,"elements":{"path":{"short":"The path to the element to be set dynamically","type":"string","index":97},"expression":{"short":"An expression that provides the dynamic value for the customization","type":"Expression","index":98}}},"action":{"short":"A sub-action","elementReference":["http://hl7.org/fhir/StructureDefinition/PlanDefinition","elements","action"],"array":true,"index":99}}}},"required":["status"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"Population","type":"Population","kind":"complex-type","class":"complex-type","url":"http://hl7.org/fhir/StructureDefinition/Population","version":"4.0.1","description":"Base StructureDefinition for Population Type: A populatioof people with some set of grouping criteria.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/BackboneElement","elements":{"age":{"short":"The age of the specific population","isSummary":true,"choices":["ageRange","ageCodeableConcept"],"index":1},"ageRange":{"short":"The age of the specific population","type":"Range","isSummary":true,"choiceOf":"age","index":2},"ageCodeableConcept":{"short":"The age of the specific population","type":"CodeableConcept","isSummary":true,"choiceOf":"age","index":3},"gender":{"short":"The gender of the specific population","type":"CodeableConcept","isSummary":true,"index":4},"race":{"short":"Race of the specific population","type":"CodeableConcept","isSummary":true,"index":5},"physiologicalCondition":{"short":"The existing physiological conditions of the specific population to which this applies","type":"CodeableConcept","isSummary":true,"index":6}},"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"positiveInt","type":"positiveInt","kind":"primitive-type","class":"primitive-type","url":"http://hl7.org/fhir/StructureDefinition/positiveInt","version":"4.0.1","description":"Base StructureDefinition for positiveInt type: An integer with a value that is positive (e.g. >0)","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/integer","package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"animalSpecies","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/practitioner-animalSpecies","version":"4.0.1","description":"This extension should be used to specifiy that a practioner or RelatedPerson resource is a service animal.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/practitioner-animalSpecies"},"type":"uri","index":1},"value":{"choices":["valueCodeableConcept"],"index":3},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"animalSpecies","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/practitioner-animalSpecies","version":"4.0.1","description":"This extension should be used to specifiy that a practioner or RelatedPerson resource is a service animal.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/practitioner-animalSpecies"},"index":1},"value":{"choices":["valueCodeableConcept"],"index":3},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"Practitioner","type":"Practitioner","kind":"resource","class":"resource","url":"http://hl7.org/fhir/StructureDefinition/Practitioner","version":"4.0.1","description":"A person who is directly or indirectly involved in the provisioning of healthcare.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/DomainResource","elements":{"identifier":{"short":"An identifier for the person as this agent","type":"Identifier","isSummary":true,"array":true,"index":0},"active":{"short":"Whether this practitioner's record is in active use","type":"boolean","meaningWhenMissing":"This resource is generally assumed to be active if no value is provided for the active element","isSummary":true,"index":1},"name":{"short":"The name(s) associated with the practitioner","type":"HumanName","isSummary":true,"array":true,"index":2},"telecom":{"short":"A contact detail for the practitioner (that apply to all roles)","type":"ContactPoint","isSummary":true,"array":true,"index":3},"address":{"short":"Address(es) of the practitioner that are not role specific (typically home address)","type":"Address","isSummary":true,"array":true,"index":4},"gender":{"short":"male | female | other | unknown","type":"code","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/administrative-gender|4.0.1","bindingName":"AdministrativeGender"},"index":5},"birthDate":{"short":"The date on which the practitioner was born","type":"date","isSummary":true,"index":6},"photo":{"short":"Image of the person","type":"Attachment","array":true,"index":7},"qualification":{"short":"Certification, licenses, or training pertaining to the provision of care","type":"BackboneElement","array":true,"index":8,"elements":{"identifier":{"short":"An identifier for this qualification for the practitioner","type":"Identifier","array":true,"index":9},"code":{"short":"Coded representation of the qualification","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://terminology.hl7.org/ValueSet/v2-2.7-0360","bindingName":"Qualification"},"index":10},"period":{"short":"Period during which the qualification is valid","type":"Period","index":11},"issuer":{"short":"Organization that regulates and issues the qualification","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Organization"],"index":12}},"required":["code"]},"communication":{"short":"A language the practitioner can use in patient communication","type":"CodeableConcept","binding":{"strength":"preferred","valueSet":"http://hl7.org/fhir/ValueSet/languages","bindingName":"Language"},"array":true,"index":13}},"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"primaryInd","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/practitionerrole-primaryInd","version":"4.0.1","description":"Flag indicating if the specialty is the primary specialty of the provider. Normally, a practitioner will have one primary specialty, but in some cases more than one can be primary.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/practitionerrole-primaryInd"},"type":"uri","index":1},"value":{"choices":["valueBoolean"],"index":3},"valueBoolean":{"type":"boolean","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"primaryInd","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/practitionerrole-primaryInd","version":"4.0.1","description":"Flag indicating if the specialty is the primary specialty of the provider. Normally, a practitioner will have one primary specialty, but in some cases more than one can be primary.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/practitionerrole-primaryInd"},"index":1},"value":{"choices":["valueBoolean"],"index":3},"valueBoolean":{"type":"boolean","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"PractitionerRole","type":"PractitionerRole","kind":"resource","class":"resource","url":"http://hl7.org/fhir/StructureDefinition/PractitionerRole","version":"4.0.1","description":"A specific set of Roles/Locations/specialties/services that a practitioner may perform at an organization for a period of time.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/DomainResource","elements":{"identifier":{"short":"Business Identifiers that are specific to a role/location","type":"Identifier","isSummary":true,"array":true,"index":0},"active":{"short":"Whether this practitioner role record is in active use","type":"boolean","meaningWhenMissing":"This resource is generally assumed to be active if no value is provided for the active element","isSummary":true,"index":1},"period":{"short":"The period during which the practitioner is authorized to perform in these role(s)","type":"Period","isSummary":true,"index":2},"practitioner":{"short":"Practitioner that is able to provide the defined services for the organization","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Practitioner"],"index":3},"organization":{"short":"Organization where the roles are available","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Organization"],"index":4},"code":{"short":"Roles which this practitioner may perform","type":"CodeableConcept","isSummary":true,"binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/practitioner-role","bindingName":"PractitionerRole"},"array":true,"index":5},"specialty":{"short":"Specific specialty of the practitioner","type":"CodeableConcept","isSummary":true,"binding":{"strength":"preferred","valueSet":"http://hl7.org/fhir/ValueSet/c80-practice-codes","bindingName":"PractitionerSpecialty"},"array":true,"index":6},"location":{"short":"The location(s) at which this practitioner provides care","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Location"],"array":true,"index":7},"healthcareService":{"short":"The list of healthcare services that this worker provides for this role's Organization/Location(s)","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/HealthcareService"],"array":true,"index":8},"telecom":{"short":"Contact details that are specific to the role/location/service","type":"ContactPoint","isSummary":true,"array":true,"index":9},"availableTime":{"short":"Times the Service Site is available","type":"BackboneElement","array":true,"index":10,"elements":{"daysOfWeek":{"short":"mon | tue | wed | thu | fri | sat | sun","type":"code","binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/days-of-week|4.0.1","bindingName":"DaysOfWeek"},"array":true,"index":11},"allDay":{"short":"Always available? e.g. 24 hour service","type":"boolean","index":12},"availableStartTime":{"short":"Opening time of day (ignored if allDay = true)","type":"time","index":13},"availableEndTime":{"short":"Closing time of day (ignored if allDay = true)","type":"time","index":14}}},"notAvailable":{"short":"Not available during this time due to provided reason","type":"BackboneElement","array":true,"index":15,"elements":{"description":{"short":"Reason presented to the user explaining why time not available","type":"string","index":16},"during":{"short":"Service not available from this date","type":"Period","index":17}},"required":["description"]},"availabilityExceptions":{"short":"Description of availability exceptions","type":"string","index":18},"endpoint":{"short":"Technical endpoints providing access to services operated for the practitioner with this role","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Endpoint"],"array":true,"index":19}},"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"approachBodyStructure","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/procedure-approachBodyStructure","version":"4.0.1","description":"The approach body site used for this procedure. Multiple locations are allowed.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/procedure-approachBodyStructure"},"type":"uri","index":1},"value":{"choices":["valueReference"],"index":3},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/BodyStructure"],"index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"causedBy","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/procedure-causedBy","version":"4.0.1","description":"This procedure is because of the related item.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/procedure-causedBy"},"type":"uri","index":1},"value":{"choices":["valueReference"],"index":3},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/AllergyIntolerance","http://hl7.org/fhir/StructureDefinition/DiagnosticReport","http://hl7.org/fhir/StructureDefinition/FamilyMemberHistory","http://hl7.org/fhir/StructureDefinition/ImagingStudy","http://hl7.org/fhir/StructureDefinition/Immunization","http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation","http://hl7.org/fhir/StructureDefinition/MedicationAdministration","http://hl7.org/fhir/StructureDefinition/MedicationRequest","http://hl7.org/fhir/StructureDefinition/MedicationStatement","http://hl7.org/fhir/StructureDefinition/Observation","http://hl7.org/fhir/StructureDefinition/Procedure"],"index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"directedBy","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/procedure-directedBy","version":"4.0.1","description":"The target of the extension is a distinct actor from the requester and has decision-making authority over the service and takes direct responsibility to manage the service.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/procedure-directedBy"},"type":"uri","index":1},"value":{"choices":["valueCodeableConcept","valueReference"],"index":3},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":4},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/Patient","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole","http://hl7.org/fhir/StructureDefinition/RelatedPerson"],"index":5}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"incisionDateTime","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/procedure-incisionDateTime","version":"4.0.1","description":"The time of the first incision.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/procedure-incisionDateTime"},"type":"uri","index":1},"value":{"choices":["valueDateTime"],"index":3},"valueDateTime":{"type":"dateTime","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"method","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/procedure-method","version":"4.0.1","description":"The method used to perform this procedure.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/procedure-method"},"type":"uri","index":1},"value":{"choices":["valueCodeableConcept"],"index":3},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"progressStatus","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/procedure-progressStatus","version":"4.0.1","description":"A code to track a detailed progress of a procedure (e.g. In Recovery, Prepared for Surgery).","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/procedure-progressStatus"},"type":"uri","index":1},"value":{"choices":["valueCodeableConcept"],"index":3},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"schedule","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/procedure-schedule","version":"4.0.1","description":"The schedule that was followed.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/procedure-schedule"},"type":"uri","index":1},"value":{"choices":["valueTiming"],"index":3},"valueTiming":{"type":"Timing","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"targetBodyStructure","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/procedure-targetBodyStructure","version":"4.0.1","description":"The target body site used for this procedure. Multiple locations are allowed.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/procedure-targetBodyStructure"},"type":"uri","index":1},"value":{"choices":["valueReference"],"index":3},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/BodyStructure"],"index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"approachBodyStructure","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/procedure-approachBodyStructure","version":"4.0.1","description":"The approach body site used for this procedure. Multiple locations are allowed.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/procedure-approachBodyStructure"},"index":1},"value":{"choices":["valueReference"],"index":3},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/BodyStructure"],"index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"causedBy","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/procedure-causedBy","version":"4.0.1","description":"This procedure is because of the related item.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/procedure-causedBy"},"index":1},"value":{"choices":["valueReference"],"index":3},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/AllergyIntolerance","http://hl7.org/fhir/StructureDefinition/DiagnosticReport","http://hl7.org/fhir/StructureDefinition/FamilyMemberHistory","http://hl7.org/fhir/StructureDefinition/ImagingStudy","http://hl7.org/fhir/StructureDefinition/Immunization","http://hl7.org/fhir/StructureDefinition/ImmunizationRecommendation","http://hl7.org/fhir/StructureDefinition/MedicationAdministration","http://hl7.org/fhir/StructureDefinition/MedicationRequest","http://hl7.org/fhir/StructureDefinition/MedicationStatement","http://hl7.org/fhir/StructureDefinition/Observation","http://hl7.org/fhir/StructureDefinition/Procedure"],"index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"directedBy","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/procedure-directedBy","version":"4.0.1","description":"The target of the extension is a distinct actor from the requester and has decision-making authority over the service and takes direct responsibility to manage the service.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/procedure-directedBy"},"index":1},"value":{"choices":["valueCodeableConcept","valueReference"],"index":3},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":4},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/Patient","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole","http://hl7.org/fhir/StructureDefinition/RelatedPerson"],"index":5}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"incisionDateTime","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/procedure-incisionDateTime","version":"4.0.1","description":"The time of the first incision.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/procedure-incisionDateTime"},"index":1},"value":{"choices":["valueDateTime"],"index":3},"valueDateTime":{"type":"dateTime","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"method","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/procedure-method","version":"4.0.1","description":"The method used to perform this procedure.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/procedure-method"},"index":1},"value":{"choices":["valueCodeableConcept"],"index":3},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"progressStatus","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/procedure-progressStatus","version":"4.0.1","description":"A code to track a detailed progress of a procedure (e.g. In Recovery, Prepared for Surgery).","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/procedure-progressStatus"},"index":1},"value":{"choices":["valueCodeableConcept"],"index":3},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"schedule","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/procedure-schedule","version":"4.0.1","description":"The schedule that was followed.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/procedure-schedule"},"index":1},"value":{"choices":["valueTiming"],"index":3},"valueTiming":{"type":"Timing","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"targetBodyStructure","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/procedure-targetBodyStructure","version":"4.0.1","description":"The target body site used for this procedure. Multiple locations are allowed.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/procedure-targetBodyStructure"},"index":1},"value":{"choices":["valueReference"],"index":3},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/BodyStructure"],"index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"Procedure","type":"Procedure","kind":"resource","class":"resource","url":"http://hl7.org/fhir/StructureDefinition/Procedure","version":"4.0.1","description":"An action that is or was performed on or for a patient. This can be a physical intervention like an operation, or less invasive like long term services, counseling, or hypnotherapy.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/DomainResource","elements":{"identifier":{"short":"External Identifiers for this procedure","type":"Identifier","isSummary":true,"array":true,"index":0},"instantiatesCanonical":{"short":"Instantiates FHIR protocol or definition","type":"canonical","isSummary":true,"array":true,"index":1},"instantiatesUri":{"short":"Instantiates external protocol or definition","type":"uri","isSummary":true,"array":true,"index":2},"basedOn":{"short":"A request for this procedure","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/CarePlan","http://hl7.org/fhir/StructureDefinition/ServiceRequest"],"array":true,"index":3},"partOf":{"short":"Part of referenced event","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/MedicationAdministration","http://hl7.org/fhir/StructureDefinition/Observation","http://hl7.org/fhir/StructureDefinition/Procedure"],"array":true,"index":4},"status":{"short":"preparation | in-progress | not-done | on-hold | stopped | completed | entered-in-error | unknown","type":"code","isModifier":true,"isModifierReason":"This element is labelled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/event-status|4.0.1","bindingName":"ProcedureStatus"},"index":5},"statusReason":{"short":"Reason for current status","type":"CodeableConcept","isSummary":true,"binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/procedure-not-performed-reason","bindingName":"ProcedureNegationReason"},"index":6},"category":{"short":"Classification of the procedure","type":"CodeableConcept","isSummary":true,"binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/procedure-category","bindingName":"ProcedureCategory"},"index":7},"code":{"short":"Identification of the procedure","type":"CodeableConcept","isSummary":true,"binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/procedure-code","bindingName":"ProcedureCode"},"index":8},"subject":{"short":"Who the procedure was performed on","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Group","http://hl7.org/fhir/StructureDefinition/Patient"],"index":9},"encounter":{"short":"Encounter created as part of","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Encounter"],"index":10},"performed":{"short":"When the procedure was performed","isSummary":true,"choices":["performedDateTime","performedPeriod","performedString","performedAge","performedRange"],"index":12},"performedDateTime":{"short":"When the procedure was performed","type":"dateTime","isSummary":true,"choiceOf":"performed","index":13},"performedPeriod":{"short":"When the procedure was performed","type":"Period","isSummary":true,"choiceOf":"performed","index":14},"performedString":{"short":"When the procedure was performed","type":"string","isSummary":true,"choiceOf":"performed","index":15},"performedAge":{"short":"When the procedure was performed","type":"Age","isSummary":true,"choiceOf":"performed","index":16},"performedRange":{"short":"When the procedure was performed","type":"Range","isSummary":true,"choiceOf":"performed","index":17},"recorder":{"short":"Who recorded the procedure","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Patient","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole","http://hl7.org/fhir/StructureDefinition/RelatedPerson"],"index":18},"asserter":{"short":"Person who asserts this procedure","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Patient","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole","http://hl7.org/fhir/StructureDefinition/RelatedPerson"],"index":19},"performer":{"short":"The people who performed the procedure","type":"BackboneElement","isSummary":true,"array":true,"index":20,"elements":{"function":{"short":"Type of performance","type":"CodeableConcept","isSummary":true,"binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/performer-role","bindingName":"ProcedurePerformerRole"},"index":21},"actor":{"short":"The reference to the practitioner","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Device","http://hl7.org/fhir/StructureDefinition/Organization","http://hl7.org/fhir/StructureDefinition/Patient","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole","http://hl7.org/fhir/StructureDefinition/RelatedPerson"],"index":22},"onBehalfOf":{"short":"Organization the device or practitioner was acting for","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Organization"],"index":23}},"required":["actor"]},"location":{"short":"Where the procedure happened","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Location"],"index":24},"reasonCode":{"short":"Coded reason procedure performed","type":"CodeableConcept","isSummary":true,"binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/procedure-reason","bindingName":"ProcedureReason"},"array":true,"index":25},"reasonReference":{"short":"The justification that the procedure was performed","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Condition","http://hl7.org/fhir/StructureDefinition/DiagnosticReport","http://hl7.org/fhir/StructureDefinition/DocumentReference","http://hl7.org/fhir/StructureDefinition/Observation","http://hl7.org/fhir/StructureDefinition/Procedure"],"array":true,"index":26},"bodySite":{"short":"Target body sites","type":"CodeableConcept","isSummary":true,"binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/body-site","bindingName":"BodySite"},"array":true,"index":27},"outcome":{"short":"The result of procedure","type":"CodeableConcept","isSummary":true,"binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/procedure-outcome","bindingName":"ProcedureOutcome"},"index":28},"report":{"short":"Any report resulting from the procedure","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Composition","http://hl7.org/fhir/StructureDefinition/DiagnosticReport","http://hl7.org/fhir/StructureDefinition/DocumentReference"],"array":true,"index":29},"complication":{"short":"Complication following the procedure","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/condition-code","bindingName":"ProcedureComplication"},"array":true,"index":30},"complicationDetail":{"short":"A condition that is a result of the procedure","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Condition"],"array":true,"index":31},"followUp":{"short":"Instructions for follow up","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/procedure-followup","bindingName":"ProcedureFollowUp"},"array":true,"index":32},"note":{"short":"Additional information about the procedure","type":"Annotation","array":true,"index":33},"focalDevice":{"short":"Manipulated, implanted, or removed device","type":"BackboneElement","array":true,"index":34,"elements":{"action":{"short":"Kind of change to device","type":"CodeableConcept","binding":{"strength":"preferred","valueSet":"http://hl7.org/fhir/ValueSet/device-action","bindingName":"DeviceActionKind"},"index":35},"manipulated":{"short":"Device that was changed","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Device"],"index":36}},"required":["manipulated"]},"usedReference":{"short":"Items used during procedure","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Device","http://hl7.org/fhir/StructureDefinition/Medication","http://hl7.org/fhir/StructureDefinition/Substance"],"array":true,"index":37},"usedCode":{"short":"Coded items used during the procedure","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/device-kind","bindingName":"ProcedureUsed"},"array":true,"index":38}},"required":["status","subject"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"ProdCharacteristic","type":"ProdCharacteristic","kind":"complex-type","class":"complex-type","url":"http://hl7.org/fhir/StructureDefinition/ProdCharacteristic","version":"4.0.1","description":"Base StructureDefinition for ProdCharacteristic Type: The marketing status describes the date when a medicinal product is actually put on the market or the date as of which it is no longer available.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/BackboneElement","elements":{"height":{"short":"Where applicable, the height can be specified using a numerical value and its unit of measurement The unit of measurement shall be specified in accordance with ISO 11240 and the resulting terminology The symbol and the symbol identifier shall be used","type":"Quantity","isSummary":true,"index":0},"width":{"short":"Where applicable, the width can be specified using a numerical value and its unit of measurement The unit of measurement shall be specified in accordance with ISO 11240 and the resulting terminology The symbol and the symbol identifier shall be used","type":"Quantity","isSummary":true,"index":1},"depth":{"short":"Where applicable, the depth can be specified using a numerical value and its unit of measurement The unit of measurement shall be specified in accordance with ISO 11240 and the resulting terminology The symbol and the symbol identifier shall be used","type":"Quantity","isSummary":true,"index":2},"weight":{"short":"Where applicable, the weight can be specified using a numerical value and its unit of measurement The unit of measurement shall be specified in accordance with ISO 11240 and the resulting terminology The symbol and the symbol identifier shall be used","type":"Quantity","isSummary":true,"index":3},"nominalVolume":{"short":"Where applicable, the nominal volume can be specified using a numerical value and its unit of measurement The unit of measurement shall be specified in accordance with ISO 11240 and the resulting terminology The symbol and the symbol identifier shall be used","type":"Quantity","isSummary":true,"index":4},"externalDiameter":{"short":"Where applicable, the external diameter can be specified using a numerical value and its unit of measurement The unit of measurement shall be specified in accordance with ISO 11240 and the resulting terminology The symbol and the symbol identifier shall be used","type":"Quantity","isSummary":true,"index":5},"shape":{"short":"Where applicable, the shape can be specified An appropriate controlled vocabulary shall be used The term and the term identifier shall be used","type":"string","isSummary":true,"index":6},"color":{"short":"Where applicable, the color can be specified An appropriate controlled vocabulary shall be used The term and the term identifier shall be used","type":"string","isSummary":true,"array":true,"index":7},"imprint":{"short":"Where applicable, the imprint can be specified as text","type":"string","isSummary":true,"array":true,"index":8},"image":{"short":"Where applicable, the image can be provided The format of the image attachment shall be specified by regional implementations","type":"Attachment","isSummary":true,"array":true,"index":9},"scoring":{"short":"Where applicable, the scoring can be specified An appropriate controlled vocabulary shall be used The term and the term identifier shall be used","type":"CodeableConcept","isSummary":true,"index":10}},"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"ProductShelfLife","type":"ProductShelfLife","kind":"complex-type","class":"complex-type","url":"http://hl7.org/fhir/StructureDefinition/ProductShelfLife","version":"4.0.1","description":"Base StructureDefinition for ProductShelfLife Type: The shelf-life and storage information for a medicinal product item or container can be described using this class.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/BackboneElement","elements":{"identifier":{"short":"Unique identifier for the packaged Medicinal Product","type":"Identifier","isSummary":true,"index":0},"type":{"short":"This describes the shelf life, taking into account various scenarios such as shelf life of the packaged Medicinal Product itself, shelf life after transformation where necessary and shelf life after the first opening of a bottle, etc. The shelf life type shall be specified using an appropriate controlled vocabulary The controlled term and the controlled term identifier shall be specified","type":"CodeableConcept","isSummary":true,"index":1},"period":{"short":"The shelf life time period can be specified using a numerical value for the period of time and its unit of time measurement The unit of measurement shall be specified in accordance with ISO 11240 and the resulting terminology The symbol and the symbol identifier shall be used","type":"Quantity","isSummary":true,"index":2},"specialPrecautionsForStorage":{"short":"Special precautions for storage, if any, can be specified using an appropriate controlled vocabulary The controlled term and the controlled term identifier shall be specified","type":"CodeableConcept","isSummary":true,"array":true,"index":3}},"required":["period","type"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"Provenance Relevant History","type":"Provenance","kind":"resource","class":"profile","url":"http://hl7.org/fhir/StructureDefinition/provenance-relevant-history","version":"4.0.1","description":"Guidance on using Provenance for related history elements","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Provenance","elements":{"target":{"short":"Resource version","mustSupport":true,"index":0},"occurred":{"mustSupport":true,"choices":["occurredDateTime"],"index":2},"occurredDateTime":{"type":"dateTime","mustSupport":true,"choiceOf":"occurred","index":3},"reason":{"mustSupport":true,"index":4},"activity":{"short":"Record activity","mustSupport":true,"binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/ValueSet/provenance-history-record-activity","bindingName":"ProvenanceHistoryRecordActivity"},"index":5},"agent":{"short":"Who was involved with change","mustSupport":true,"index":6,"elements":{"type":{"mustSupport":true,"binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/ValueSet/provenance-history-agent-type","bindingName":"ProvenanceHistoryAgentType"},"index":7}},"required":["type"],"slicing":{"discriminator":[{"type":"value","path":"type"}],"ordered":false,"rules":"open","slices":{"Author":{"match":{"type":{"coding":[{"system":"http://terminology.hl7.org/CodeSystem/v3-ParticipationType","code":"AUT"}]}},"schema":{"short":"Author","mustSupport":true,"index":8,"elements":{"type":{"type":"CodeableConcept","pattern":{"type":"CodeableConcept","value":"[Circular Reference]"},"mustSupport":true,"index":9},"who":{"short":"Author Reference","mustSupport":true,"index":10}},"required":["type","who"]},"max":1}}}}},"required":["activity","occurred"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"Provenance","type":"Provenance","kind":"resource","class":"resource","url":"http://hl7.org/fhir/StructureDefinition/Provenance","version":"4.0.1","description":"Provenance of a resource is a record that describes entities and processes involved in producing and delivering or otherwise influencing that resource. Provenance provides a critical foundation for assessing authenticity, enabling trust, and allowing reproducibility. Provenance assertions are a form of contextual metadata and can themselves become important records with their own provenance. Provenance statement indicates clinical significance in terms of confidence in authenticity, reliability, and trustworthiness, integrity, and stage in lifecycle (e.g. Document Completion - has the artifact been legally authenticated), all of which may impact security, privacy, and trust policies.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/DomainResource","elements":{"target":{"short":"Target Reference(s) (usually version specific)","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Resource"],"array":true,"min":1,"index":0},"occurred":{"short":"When the activity occurred","choices":["occurredPeriod","occurredDateTime"],"index":2},"occurredPeriod":{"short":"When the activity occurred","type":"Period","choiceOf":"occurred","index":3},"occurredDateTime":{"short":"When the activity occurred","type":"dateTime","choiceOf":"occurred","index":4},"recorded":{"short":"When the activity was recorded / updated","type":"instant","isSummary":true,"index":5},"policy":{"short":"Policy or plan the activity was defined by","type":"uri","array":true,"index":6},"location":{"short":"Where the activity occurred, if relevant","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Location"],"index":7},"reason":{"short":"Reason the activity is occurring","type":"CodeableConcept","binding":{"strength":"extensible","valueSet":"http://terminology.hl7.org/ValueSet/v3-PurposeOfUse","bindingName":"ProvenanceReason"},"array":true,"index":8},"activity":{"short":"Activity that occurred","type":"CodeableConcept","binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/ValueSet/provenance-activity-type","bindingName":"ProvenanceActivity"},"index":9},"agent":{"short":"Actor involved","type":"BackboneElement","array":true,"min":1,"index":10,"elements":{"type":{"short":"How the agent participated","type":"CodeableConcept","isSummary":true,"binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/ValueSet/provenance-agent-type","bindingName":"ProvenanceAgentType"},"index":11},"role":{"short":"What the agents role was","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/security-role-type","bindingName":"ProvenanceAgentRole"},"array":true,"index":12},"who":{"short":"Who participated","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Device","http://hl7.org/fhir/StructureDefinition/Organization","http://hl7.org/fhir/StructureDefinition/Patient","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole","http://hl7.org/fhir/StructureDefinition/RelatedPerson"],"index":13},"onBehalfOf":{"short":"Who the agent is representing","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Device","http://hl7.org/fhir/StructureDefinition/Organization","http://hl7.org/fhir/StructureDefinition/Patient","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole","http://hl7.org/fhir/StructureDefinition/RelatedPerson"],"index":14}},"required":["who"]},"entity":{"short":"An entity used in this activity","type":"BackboneElement","array":true,"index":15,"elements":{"role":{"short":"derivation | revision | quotation | source | removal","type":"code","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/provenance-entity-role|4.0.1","bindingName":"ProvenanceEntityRole"},"index":16},"what":{"short":"Identity of entity","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Resource"],"index":17},"agent":{"short":"Entity is attributed to this agent","elementReference":["http://hl7.org/fhir/StructureDefinition/Provenance","elements","agent"],"array":true,"index":18}},"required":["role","what"]},"signature":{"short":"Signature on target","type":"Signature","array":true,"index":19}},"required":["agent","recorded","target"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"precision","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/quantity-precision","version":"4.0.1","description":"Explicit precision of the number. This is the number of significant decimal places after the decimal point, irrespective of how many are actually present in the explicitly represented decimal.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/quantity-precision"},"type":"uri","index":1},"value":{"choices":["valueInteger"],"index":3},"valueInteger":{"type":"integer","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"precision","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/quantity-precision","version":"4.0.1","description":"Explicit precision of the number. This is the number of significant decimal places after the decimal point, irrespective of how many are actually present in the explicitly represented decimal.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/quantity-precision"},"index":1},"value":{"choices":["valueInteger"],"index":3},"valueInteger":{"type":"integer","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"Quantity","type":"Quantity","kind":"complex-type","class":"complex-type","url":"http://hl7.org/fhir/StructureDefinition/Quantity","version":"4.0.1","description":"Base StructureDefinition for Quantity Type: A measured amount (or an amount that can potentially be measured). Note that measured amounts include amounts that are not precisely quantified, including amounts involving arbitrary units and floating currencies.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/Element","elements":{"value":{"short":"Numerical value (with implicit precision)","type":"decimal","isSummary":true,"index":0},"comparator":{"short":"< | <= | >= | > - how to understand the value","type":"code","meaningWhenMissing":"If there is no comparator, then there is no modification of the value","isModifier":true,"isModifierReason":"This is labeled as \\"Is Modifier\\" because the comparator modifies the interpretation of the value significantly. If there is no comparator, then there is no modification of the value","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/quantity-comparator|4.0.1","bindingName":"QuantityComparator"},"index":1},"unit":{"short":"Unit representation","type":"string","isSummary":true,"index":2},"system":{"short":"System that defines coded unit form","type":"uri","isSummary":true,"index":3},"code":{"short":"Coded form of the unit","type":"code","isSummary":true,"index":4}},"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"baseType","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/questionnaire-baseType","version":"4.0.1","description":"This identifies the underlying type in a profile, when a questionnaire is generated from a profile.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/questionnaire-baseType"},"type":"uri","index":1},"value":{"choices":["valueCode"],"index":3},"valueCode":{"type":"code","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"choiceOrientation","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/questionnaire-choiceOrientation","version":"4.0.1","description":"Identifies the desired orientation when rendering a list of choices (typically radio-box or check-box lists).","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/questionnaire-choiceOrientation"},"type":"uri","index":1},"value":{"choices":["valueCode"],"index":3},"valueCode":{"type":"code","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"constraint","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/questionnaire-constraint","version":"4.0.1","description":"An invariant that must be satisfied before responses to the questionnaire can be considered \\"complete\\".","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{"key":{"min":1,"max":1,"short":"Unique identifier","_required":true,"index":0,"extensions":{},"required":["value"]},"requirements":{"max":1,"short":"Why needed","index":6,"extensions":{},"required":["value"]},"severity":{"min":1,"max":1,"short":"error|warning","_required":true,"index":12,"extensions":{},"required":["value"]},"expression":{"min":1,"max":1,"short":"Formal rule","_required":true,"index":18,"extensions":{},"required":["value"]},"human":{"min":1,"max":1,"short":"Human-readable rule","_required":true,"index":24,"extensions":{},"required":["value"]},"location":{"short":"Relative path to elements","array":true,"index":30,"extensions":{},"required":["value"]}},"elements":{"extension":{"short":"Unique identifier","type":"Extension","index":0,"slicing":{"slices":{"key":{"match":{},"schema":{"short":"Unique identifier","type":"Extension","_required":true,"index":0,"extensions":"[Circular Reference]","elements":{"extension":{"index":1},"url":{"type":"uri","pattern":{"type":"uri","value":"key"},"index":2},"value":{"choices":["valueId"],"index":4},"valueId":{"type":"id","choiceOf":"value","index":5}},"required":["value"]},"min":1,"max":1},"requirements":{"match":{},"schema":{"short":"Why needed","type":"Extension","index":6,"extensions":"[Circular Reference]","elements":{"extension":{"index":7},"url":{"type":"uri","pattern":{"type":"uri","value":"requirements"},"index":8},"value":{"choices":["valueString"],"index":10},"valueString":{"type":"string","choiceOf":"value","index":11}},"required":["value"]},"max":1},"severity":{"match":{},"schema":{"short":"error|warning","type":"Extension","_required":true,"index":12,"extensions":"[Circular Reference]","elements":{"extension":{"index":13},"url":{"type":"uri","pattern":{"type":"uri","value":"severity"},"index":14},"value":{"choices":["valueCode"],"index":16},"valueCode":{"type":"code","choiceOf":"value","index":17}},"required":["value"]},"min":1,"max":1},"expression":{"match":{},"schema":{"short":"Formal rule","type":"Extension","_required":true,"index":18,"extensions":"[Circular Reference]","elements":{"extension":{"index":19},"url":{"type":"uri","pattern":{"type":"uri","value":"expression"},"index":20},"value":{"choices":["valueString"],"index":22},"valueString":{"type":"string","choiceOf":"value","index":23}},"required":["value"]},"min":1,"max":1},"human":{"match":{},"schema":{"short":"Human-readable rule","type":"Extension","_required":true,"index":24,"extensions":"[Circular Reference]","elements":{"extension":{"index":25},"url":{"type":"uri","pattern":{"type":"uri","value":"human"},"index":26},"value":{"choices":["valueString"],"index":28},"valueString":{"type":"string","choiceOf":"value","index":29}},"required":["value"]},"min":1,"max":1},"location":{"match":{},"schema":{"short":"Relative path to elements","type":"Extension","array":true,"index":30,"extensions":"[Circular Reference]","elements":{"extension":{"index":31},"url":{"type":"uri","pattern":{"type":"uri","value":"location"},"index":32},"value":{"choices":["valueString"],"index":34},"valueString":{"type":"string","choiceOf":"value","index":35}},"required":["value"]}}}}},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/questionnaire-constraint"},"type":"uri","index":36}},"required":["extension"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"displayCategory","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/questionnaire-displayCategory","version":"4.0.1","description":"Describes the intended purpose of the rendered text. For example - instructions, guidance on access control, maintenance information, etc.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/questionnaire-displayCategory"},"type":"uri","index":1},"value":{"choices":["valueCodeableConcept"],"index":3},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"fhirType","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType","version":"4.0.1","description":"For questionnaires generated from FHIR profiles, indicates the FHIR data type or resource type that corresponds to this node.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType"},"type":"uri","index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"hidden","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/questionnaire-hidden","version":"4.0.1","description":"If true, indicates that the extended item should not be displayed to the user.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/questionnaire-hidden"},"type":"uri","index":1},"value":{"choices":["valueBoolean"],"index":3},"valueBoolean":{"type":"boolean","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"itemControl","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl","version":"4.0.1","description":"The type of data entry control or structure that should be used to render the item.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl"},"type":"uri","index":1},"value":{"choices":["valueCodeableConcept"],"index":3},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"maxOccurs","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs","version":"4.0.1","description":"The maximum number of times the group must appear, or the maximum number of answers for a question - when greater than 1 and not unlimited.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs"},"type":"uri","index":1},"value":{"choices":["valueInteger"],"index":3},"valueInteger":{"type":"integer","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"minOccurs","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs","version":"4.0.1","description":"The minimum number of times the group must appear, or the minimum number of answers for a question - when greater than 1.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs"},"type":"uri","index":1},"value":{"choices":["valueInteger"],"index":3},"valueInteger":{"type":"integer","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"optionExclusive","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/questionnaire-optionExclusive","version":"4.0.1","description":"If true, indicates that if this answerOption is selected, no other possible answers may be selected, even if the item is a repeating question.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/questionnaire-optionExclusive"},"type":"uri","index":1},"value":{"choices":["valueBoolean"],"index":3},"valueBoolean":{"type":"boolean","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"optionPrefix","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/questionnaire-optionPrefix","version":"4.0.1","description":"The label to list in front of a code when presenting a list of possible values in a questionnaire-like fashion.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/questionnaire-optionPrefix"},"type":"uri","index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"referenceFilter","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter","version":"4.0.1","description":"Identifies a filter to apply when looking up candidate answers for the question.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter"},"type":"uri","index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"referenceProfile","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/questionnaire-referenceProfile","version":"4.0.1","description":"Where the type for a question is \\"Reference\\", indicates a profile that the resource instances pointed to in answers to this question must be valid against.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/questionnaire-referenceProfile"},"type":"uri","index":1},"value":{"choices":["valueCanonical"],"index":3},"valueCanonical":{"type":"canonical","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"referenceResource","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/questionnaire-referenceResource","version":"4.0.1","description":"Where the type for a question is \\"Reference\\", indicates a type of resource that is permitted.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/questionnaire-referenceResource"},"type":"uri","index":1},"value":{"choices":["valueCode"],"index":3},"valueCode":{"type":"code","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"signatureRequired","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/questionnaire-signatureRequired","version":"4.0.1","description":"Indicates that a signature (of the specified type) is needed when completing the QuestionnaireResponse.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/questionnaire-signatureRequired"},"type":"uri","index":1},"value":{"choices":["valueCodeableConcept"],"index":3},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"sliderStepValue","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/questionnaire-sliderStepValue","version":"4.0.1","description":"For slider-based controls, indicates the step size to use when toggling the control up or down.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/questionnaire-sliderStepValue"},"type":"uri","index":1},"value":{"choices":["valueInteger"],"index":3},"valueInteger":{"type":"integer","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"supportLink","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/questionnaire-supportLink","version":"4.0.1","description":"A URL that resolves to additional supporting information or guidance related to the question.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/questionnaire-supportLink"},"type":"uri","index":1},"value":{"choices":["valueUri"],"index":3},"valueUri":{"type":"uri","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"unit","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/questionnaire-unit","version":"4.0.1","description":"Provides a computable unit of measure associated with numeric questions to support subsequent computation on responses. This is for use on items of type integer and decimal, and it's purpose is to support converting the integer or decimal answer into a Quantity when extracting the data into a resource.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/questionnaire-unit"},"type":"uri","index":1},"value":{"choices":["valueCoding"],"index":3},"valueCoding":{"type":"Coding","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"unitOption","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/questionnaire-unitOption","version":"4.0.1","description":"A unit that the user may choose when providing a quantity value.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/questionnaire-unitOption"},"type":"uri","index":1},"value":{"choices":["valueCoding"],"index":3},"valueCoding":{"type":"Coding","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"unitValueSet","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/questionnaire-unitValueSet","version":"4.0.1","description":"A set of units that the user may choose when providing a quantity value.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/questionnaire-unitValueSet"},"type":"uri","index":1},"value":{"choices":["valueCanonical"],"index":3},"valueCanonical":{"type":"canonical","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"usageMode","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/questionnaire-usageMode","version":"4.0.1","description":"Identifies that the specified element should only appear in certain \\"modes\\" of operation.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/questionnaire-usageMode"},"type":"uri","index":1},"value":{"choices":["valueCode"],"index":3},"valueCode":{"type":"code","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"baseType","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/questionnaire-baseType","version":"4.0.1","description":"This identifies the underlying type in a profile, when a questionnaire is generated from a profile.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/questionnaire-baseType"},"index":1},"value":{"choices":["valueCode"],"index":3},"valueCode":{"type":"code","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"choiceOrientation","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/questionnaire-choiceOrientation","version":"4.0.1","description":"Identifies the desired orientation when rendering a list of choices (typically radio-box or check-box lists).","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/questionnaire-choiceOrientation"},"index":1},"value":{"choices":["valueCode"],"index":3},"valueCode":{"type":"code","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"constraint","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/questionnaire-constraint","version":"4.0.1","description":"An invariant that must be satisfied before responses to the questionnaire can be considered \\"complete\\".","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{"key":{"min":1,"max":1,"short":"Unique identifier","_required":true,"index":0,"extensions":{},"required":["value"]},"requirements":{"max":1,"short":"Why needed","index":6,"extensions":{},"required":["value"]},"severity":{"min":1,"max":1,"short":"error|warning","_required":true,"index":12,"extensions":{},"required":["value"]},"expression":{"min":1,"max":1,"short":"Formal rule","_required":true,"index":18,"extensions":{},"required":["value"]},"human":{"min":1,"max":1,"short":"Human-readable rule","_required":true,"index":24,"extensions":{},"required":["value"]},"location":{"short":"Relative path to elements","array":true,"index":30,"extensions":{},"required":["value"]}},"elements":{"extension":{"short":"Unique identifier","type":"Extension","index":0,"slicing":{"slices":{"key":{"match":{},"schema":{"short":"Unique identifier","type":"Extension","_required":true,"index":0,"extensions":"[Circular Reference]","elements":{"extension":{"index":1},"url":{"type":"uri","fixed":{"type":"uri","value":"key"},"index":2},"value":{"choices":["valueId"],"index":4},"valueId":{"type":"id","choiceOf":"value","index":5}},"required":["value"]},"min":1,"max":1},"requirements":{"match":{},"schema":{"short":"Why needed","type":"Extension","index":6,"extensions":"[Circular Reference]","elements":{"extension":{"index":7},"url":{"type":"uri","fixed":{"type":"uri","value":"requirements"},"index":8},"value":{"choices":["valueString"],"index":10},"valueString":{"type":"string","choiceOf":"value","index":11}},"required":["value"]},"max":1},"severity":{"match":{},"schema":{"short":"error|warning","type":"Extension","_required":true,"index":12,"extensions":"[Circular Reference]","elements":{"extension":{"index":13},"url":{"type":"uri","fixed":{"type":"uri","value":"severity"},"index":14},"value":{"choices":["valueCode"],"index":16},"valueCode":{"type":"code","choiceOf":"value","index":17}},"required":["value"]},"min":1,"max":1},"expression":{"match":{},"schema":{"short":"Formal rule","type":"Extension","_required":true,"index":18,"extensions":"[Circular Reference]","elements":{"extension":{"index":19},"url":{"type":"uri","fixed":{"type":"uri","value":"expression"},"index":20},"value":{"choices":["valueString"],"index":22},"valueString":{"type":"string","choiceOf":"value","index":23}},"required":["value"]},"min":1,"max":1},"human":{"match":{},"schema":{"short":"Human-readable rule","type":"Extension","_required":true,"index":24,"extensions":"[Circular Reference]","elements":{"extension":{"index":25},"url":{"type":"uri","fixed":{"type":"uri","value":"human"},"index":26},"value":{"choices":["valueString"],"index":28},"valueString":{"type":"string","choiceOf":"value","index":29}},"required":["value"]},"min":1,"max":1},"location":{"match":{},"schema":{"short":"Relative path to elements","type":"Extension","array":true,"index":30,"extensions":"[Circular Reference]","elements":{"extension":{"index":31},"url":{"type":"uri","fixed":{"type":"uri","value":"location"},"index":32},"value":{"choices":["valueString"],"index":34},"valueString":{"type":"string","choiceOf":"value","index":35}},"required":["value"]}}}}},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/questionnaire-constraint"},"index":36}},"required":["extension"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"displayCategory","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/questionnaire-displayCategory","version":"4.0.1","description":"Describes the intended purpose of the rendered text. For example - instructions, guidance on access control, maintenance information, etc.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/questionnaire-displayCategory"},"index":1},"value":{"choices":["valueCodeableConcept"],"index":3},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"fhirType","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType","version":"4.0.1","description":"For questionnaires generated from FHIR profiles, indicates the FHIR data type or resource type that corresponds to this node.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType"},"index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"hidden","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/questionnaire-hidden","version":"4.0.1","description":"If true, indicates that the extended item should not be displayed to the user.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/questionnaire-hidden"},"index":1},"value":{"choices":["valueBoolean"],"index":3},"valueBoolean":{"type":"boolean","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"itemControl","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl","version":"4.0.1","description":"The type of data entry control or structure that should be used to render the item.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl"},"index":1},"value":{"choices":["valueCodeableConcept"],"index":3},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"maxOccurs","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs","version":"4.0.1","description":"The maximum number of times the group must appear, or the maximum number of answers for a question - when greater than 1 and not unlimited.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs"},"index":1},"value":{"choices":["valueInteger"],"index":3},"valueInteger":{"type":"integer","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"minOccurs","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs","version":"4.0.1","description":"The minimum number of times the group must appear, or the minimum number of answers for a question - when greater than 1.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs"},"index":1},"value":{"choices":["valueInteger"],"index":3},"valueInteger":{"type":"integer","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"optionExclusive","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/questionnaire-optionExclusive","version":"4.0.1","description":"If true, indicates that if this answerOption is selected, no other possible answers may be selected, even if the item is a repeating question.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/questionnaire-optionExclusive"},"index":1},"value":{"choices":["valueBoolean"],"index":3},"valueBoolean":{"type":"boolean","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"optionPrefix","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/questionnaire-optionPrefix","version":"4.0.1","description":"The label to list in front of a code when presenting a list of possible values in a questionnaire-like fashion.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/questionnaire-optionPrefix"},"index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"referenceFilter","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter","version":"4.0.1","description":"Identifies a filter to apply when looking up candidate answers for the question.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter"},"index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"referenceProfile","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/questionnaire-referenceProfile","version":"4.0.1","description":"Where the type for a question is \\"Reference\\", indicates a profile that the resource instances pointed to in answers to this question must be valid against.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/questionnaire-referenceProfile"},"index":1},"value":{"choices":["valueCanonical"],"index":3},"valueCanonical":{"type":"canonical","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"referenceResource","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/questionnaire-referenceResource","version":"4.0.1","description":"Where the type for a question is \\"Reference\\", indicates a type of resource that is permitted.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/questionnaire-referenceResource"},"index":1},"value":{"choices":["valueCode"],"index":3},"valueCode":{"type":"code","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"signatureRequired","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/questionnaire-signatureRequired","version":"4.0.1","description":"Indicates that a signature (of the specified type) is needed when completing the QuestionnaireResponse.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/questionnaire-signatureRequired"},"index":1},"value":{"choices":["valueCodeableConcept"],"index":3},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"sliderStepValue","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/questionnaire-sliderStepValue","version":"4.0.1","description":"For slider-based controls, indicates the step size to use when toggling the control up or down.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/questionnaire-sliderStepValue"},"index":1},"value":{"choices":["valueInteger"],"index":3},"valueInteger":{"type":"integer","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"supportLink","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/questionnaire-supportLink","version":"4.0.1","description":"A URL that resolves to additional supporting information or guidance related to the question.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/questionnaire-supportLink"},"index":1},"value":{"choices":["valueUri"],"index":3},"valueUri":{"type":"uri","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"unit","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/questionnaire-unit","version":"4.0.1","description":"Provides a computable unit of measure associated with numeric questions to support subsequent computation on responses. This is for use on items of type integer and decimal, and it's purpose is to support converting the integer or decimal answer into a Quantity when extracting the data into a resource.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/questionnaire-unit"},"index":1},"value":{"choices":["valueCoding"],"index":3},"valueCoding":{"type":"Coding","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"unitOption","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/questionnaire-unitOption","version":"4.0.1","description":"A unit that the user may choose when providing a quantity value.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/questionnaire-unitOption"},"index":1},"value":{"choices":["valueCoding"],"index":3},"valueCoding":{"type":"Coding","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"unitValueSet","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/questionnaire-unitValueSet","version":"4.0.1","description":"A set of units that the user may choose when providing a quantity value.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/questionnaire-unitValueSet"},"index":1},"value":{"choices":["valueCanonical"],"index":3},"valueCanonical":{"type":"canonical","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"usageMode","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/questionnaire-usageMode","version":"4.0.1","description":"Identifies that the specified element should only appear in certain \\"modes\\" of operation.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/questionnaire-usageMode"},"index":1},"value":{"choices":["valueCode"],"index":3},"valueCode":{"type":"code","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"Questionnaire","type":"Questionnaire","kind":"resource","class":"resource","url":"http://hl7.org/fhir/StructureDefinition/Questionnaire","version":"4.0.1","description":"A structured set of questions intended to guide the collection of answers from end-users. Questionnaires provide detailed control over order, presentation, phraseology and grouping to allow coherent, consistent data collection.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/DomainResource","elements":{"url":{"short":"Canonical identifier for this questionnaire, represented as a URI (globally unique)","type":"uri","isSummary":true,"index":0},"identifier":{"short":"Additional identifier for the questionnaire","type":"Identifier","isSummary":true,"array":true,"index":1},"version":{"short":"Business version of the questionnaire","type":"string","isSummary":true,"index":2},"name":{"short":"Name for this questionnaire (computer friendly)","type":"string","isSummary":true,"index":3},"title":{"short":"Name for this questionnaire (human friendly)","type":"string","isSummary":true,"index":4},"derivedFrom":{"short":"Instantiates protocol or definition","type":"canonical","array":true,"index":5},"status":{"short":"draft | active | retired | unknown","type":"code","isModifier":true,"isModifierReason":"This is labeled as \\"Is Modifier\\" because applications should not use a retired {{title}} without due consideration","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/publication-status|4.0.1","bindingName":"PublicationStatus"},"index":6},"experimental":{"short":"For testing purposes, not real usage","type":"boolean","isSummary":true,"index":7},"subjectType":{"short":"Resource that can be subject of QuestionnaireResponse","type":"code","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/resource-types|4.0.1","bindingName":"ResourceType"},"array":true,"index":8},"date":{"short":"Date last changed","type":"dateTime","isSummary":true,"index":9},"publisher":{"short":"Name of the publisher (organization or individual)","type":"string","isSummary":true,"index":10},"contact":{"short":"Contact details for the publisher","type":"ContactDetail","isSummary":true,"array":true,"index":11},"description":{"short":"Natural language description of the questionnaire","type":"markdown","index":12},"useContext":{"short":"The context that the content is intended to support","type":"UsageContext","isSummary":true,"array":true,"index":13},"jurisdiction":{"short":"Intended jurisdiction for questionnaire (if applicable)","type":"CodeableConcept","isSummary":true,"binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/ValueSet/jurisdiction","bindingName":"Jurisdiction"},"array":true,"index":14},"purpose":{"short":"Why this questionnaire is defined","type":"markdown","index":15},"copyright":{"short":"Use and/or publishing restrictions","type":"markdown","index":16},"approvalDate":{"short":"When the questionnaire was approved by publisher","type":"date","index":17},"lastReviewDate":{"short":"When the questionnaire was last reviewed","type":"date","index":18},"effectivePeriod":{"short":"When the questionnaire is expected to be used","type":"Period","isSummary":true,"index":19},"code":{"short":"Concept that represents the overall questionnaire","type":"Coding","isSummary":true,"binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/questionnaire-questions","bindingName":"QuestionnaireConcept"},"array":true,"index":20},"item":{"short":"Questions and sections within the Questionnaire","type":"BackboneElement","constraint":{"que-9":{"expression":"type!='display' or readOnly.empty()","human":"Read-only can't be specified for \\"display\\" items","severity":"error"},"que-8":{"expression":"(type!='group' and type!='display') or initial.empty()","human":"Initial values can't be specified for groups or display items","severity":"error"},"que-6":{"expression":"type!='display' or (required.empty() and repeats.empty())","human":"Required and repeat aren't permitted for display items","severity":"error"},"que-5":{"expression":"(type ='choice' or type = 'open-choice' or type = 'decimal' or type = 'integer' or type = 'date' or type = 'dateTime' or type = 'time' or type = 'string' or type = 'quantity') or (answerValueSet.empty() and answerOption.empty())","human":"Only 'choice' and 'open-choice' items can have answerValueSet","severity":"error"},"que-4":{"expression":"answerOption.empty() or answerValueSet.empty()","human":"A question cannot have both answerOption and answerValueSet","severity":"error"},"que-3":{"expression":"type!='display' or code.empty()","human":"Display items cannot have a \\"code\\" asserted","severity":"error"},"que-10":{"expression":"(type in ('boolean' | 'decimal' | 'integer' | 'string' | 'text' | 'url' | 'open-choice')) or maxLength.empty()","human":"Maximum length can only be declared for simple question types","severity":"error"},"que-1":{"expression":"(type='group' implies item.empty().not()) and (type.trace('type')='display' implies item.trace('item').empty())","human":"Group items must have nested items, display items cannot have nested items","severity":"error"},"que-13":{"expression":"repeats=true or initial.count() <= 1","human":"Can only have multiple initial values for repeating items","severity":"error"},"que-11":{"expression":"answerOption.empty() or initial.empty()","human":"If one or more answerOption is present, initial[x] must be missing","severity":"error"},"que-12":{"expression":"enableWhen.count() > 2 implies enableBehavior.exists()","human":"If there are more than one enableWhen, enableBehavior must be specified","severity":"error"}},"array":true,"index":21,"elements":{"linkId":{"short":"Unique id for item in questionnaire","type":"string","index":22},"definition":{"short":"ElementDefinition - details for the item","type":"uri","index":23},"code":{"short":"Corresponding concept for this item in a terminology","type":"Coding","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/questionnaire-questions","bindingName":"QuestionnaireConcept"},"array":true,"index":24},"prefix":{"short":"E.g. \\"1(a)\\", \\"2.5.3\\"","type":"string","index":25},"text":{"short":"Primary text for the item","type":"string","index":26},"type":{"short":"group | display | boolean | decimal | integer | date | dateTime +","type":"code","binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/item-type|4.0.1","bindingName":"QuestionnaireItemType"},"index":27},"enableWhen":{"short":"Only allow data when","type":"BackboneElement","constraint":{"que-7":{"expression":"operator = 'exists' implies (answer is Boolean)","human":"If the operator is 'exists', the value must be a boolean","severity":"error"}},"isModifier":true,"isModifierReason":"If enableWhen is present and the condition evaluates to false, then the Questionnaire behaves as though the elements weren't actually present","array":true,"index":28,"elements":{"question":{"short":"Question that determines whether item is enabled","type":"string","index":29},"operator":{"short":"exists | = | != | > | < | >= | <=","type":"code","binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/questionnaire-enable-operator|4.0.1","bindingName":"QuestionnaireItemOperator"},"index":30},"answer":{"short":"Value for question comparison based on operator","choices":["answerBoolean","answerDecimal","answerInteger","answerDate","answerDateTime","answerTime","answerString","answerCoding","answerQuantity","answerReference"],"index":32},"answerBoolean":{"short":"Value for question comparison based on operator","type":"boolean","choiceOf":"answer","index":33},"answerDecimal":{"short":"Value for question comparison based on operator","type":"decimal","choiceOf":"answer","index":34},"answerInteger":{"short":"Value for question comparison based on operator","type":"integer","choiceOf":"answer","index":35},"answerDate":{"short":"Value for question comparison based on operator","type":"date","choiceOf":"answer","index":36},"answerDateTime":{"short":"Value for question comparison based on operator","type":"dateTime","choiceOf":"answer","index":37},"answerTime":{"short":"Value for question comparison based on operator","type":"time","choiceOf":"answer","index":38},"answerString":{"short":"Value for question comparison based on operator","type":"string","choiceOf":"answer","index":39},"answerCoding":{"short":"Value for question comparison based on operator","type":"Coding","choiceOf":"answer","index":40},"answerQuantity":{"short":"Value for question comparison based on operator","type":"Quantity","choiceOf":"answer","index":41},"answerReference":{"short":"Value for question comparison based on operator","type":"Reference","choiceOf":"answer","refers":["http://hl7.org/fhir/StructureDefinition/Resource"],"index":42}},"required":["answer","operator","question"]},"enableBehavior":{"short":"all | any","type":"code","binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/questionnaire-enable-behavior|4.0.1","bindingName":"EnableWhenBehavior"},"index":43},"required":{"short":"Whether the item must be included in data results","type":"boolean","meaningWhenMissing":"Items are generally assumed not to be required unless explicitly specified. Systems SHOULD always populate this value","index":44},"repeats":{"short":"Whether the item may repeat","type":"boolean","meaningWhenMissing":"Items are generally assumed not to repeat unless explicitly specified. Systems SHOULD always populate this value","index":45},"readOnly":{"short":"Don't allow human editing","type":"boolean","index":46},"maxLength":{"short":"No more than this many characters","type":"integer","index":47},"answerValueSet":{"short":"Valueset containing permitted answers","type":"canonical","index":48},"answerOption":{"short":"Permitted answer","type":"BackboneElement","array":true,"index":49,"elements":{"value":{"short":"Answer value","choices":["valueInteger","valueDate","valueTime","valueString","valueCoding","valueReference"],"index":51},"valueInteger":{"short":"Answer value","type":"integer","choiceOf":"value","index":52},"valueDate":{"short":"Answer value","type":"date","choiceOf":"value","index":53},"valueTime":{"short":"Answer value","type":"time","choiceOf":"value","index":54},"valueString":{"short":"Answer value","type":"string","choiceOf":"value","index":55},"valueCoding":{"short":"Answer value","type":"Coding","choiceOf":"value","index":56},"valueReference":{"short":"Answer value","type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/Resource"],"index":57},"initialSelected":{"short":"Whether option is selected by default","type":"boolean","meaningWhenMissing":"Only selected items explicitly marked to be selected","index":58}},"required":["value"]},"initial":{"short":"Initial value(s) when item is first rendered","type":"BackboneElement","array":true,"index":59,"elements":{"value":{"short":"Actual value for initializing the question","choices":["valueBoolean","valueDecimal","valueInteger","valueDate","valueDateTime","valueTime","valueString","valueUri","valueAttachment","valueCoding","valueQuantity","valueReference"],"index":61},"valueBoolean":{"short":"Actual value for initializing the question","type":"boolean","choiceOf":"value","index":62},"valueDecimal":{"short":"Actual value for initializing the question","type":"decimal","choiceOf":"value","index":63},"valueInteger":{"short":"Actual value for initializing the question","type":"integer","choiceOf":"value","index":64},"valueDate":{"short":"Actual value for initializing the question","type":"date","choiceOf":"value","index":65},"valueDateTime":{"short":"Actual value for initializing the question","type":"dateTime","choiceOf":"value","index":66},"valueTime":{"short":"Actual value for initializing the question","type":"time","choiceOf":"value","index":67},"valueString":{"short":"Actual value for initializing the question","type":"string","choiceOf":"value","index":68},"valueUri":{"short":"Actual value for initializing the question","type":"uri","choiceOf":"value","index":69},"valueAttachment":{"short":"Actual value for initializing the question","type":"Attachment","choiceOf":"value","index":70},"valueCoding":{"short":"Actual value for initializing the question","type":"Coding","choiceOf":"value","index":71},"valueQuantity":{"short":"Actual value for initializing the question","type":"Quantity","choiceOf":"value","index":72},"valueReference":{"short":"Actual value for initializing the question","type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/Resource"],"index":73}},"required":["value"]},"item":{"short":"Nested questionnaire items","elementReference":["http://hl7.org/fhir/StructureDefinition/Questionnaire","elements","item"],"array":true,"index":74}},"required":["linkId","type"]}},"required":["status"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"author","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/questionnaireresponse-author","version":"4.0.1","description":"Allows capturing, on a specific question or group of questions, exactly who was responsible for providing the answer(s).","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/questionnaireresponse-author"},"type":"uri","index":1},"value":{"choices":["valueReference"],"index":3},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/Device","http://hl7.org/fhir/StructureDefinition/Patient","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/RelatedPerson"],"index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"completionMode","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/questionnaireresponse-completionMode","version":"4.0.1","description":"Indicates how the individual completing the QuestionnaireResponse provided their responses.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/questionnaireresponse-completionMode"},"type":"uri","index":1},"value":{"choices":["valueCodeableConcept"],"index":3},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"reason","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/questionnaireresponse-reason","version":"4.0.1","description":"The factor(s) that caused the questionnaire to be answered.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/questionnaireresponse-reason"},"type":"uri","index":1},"value":{"choices":["valueCodeableConcept"],"index":3},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"reviewer","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/questionnaireresponse-reviewer","version":"4.0.1","description":"Individual responsible for ensuring that the questionnaire response have been completed appropriately and signs off on the content.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/questionnaireresponse-reviewer"},"type":"uri","index":1},"value":{"choices":["valueReference"],"index":3},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/Practitioner"],"index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"signature","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/questionnaireresponse-signature","version":"4.0.1","description":"Represents a wet or electronic signature for either the form overall or for the question or item it's associated with.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/questionnaireresponse-signature"},"type":"uri","index":1},"value":{"choices":["valueSignature"],"index":3},"valueSignature":{"type":"Signature","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"author","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/questionnaireresponse-author","version":"4.0.1","description":"Allows capturing, on a specific question or group of questions, exactly who was responsible for providing the answer(s).","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/questionnaireresponse-author"},"index":1},"value":{"choices":["valueReference"],"index":3},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/Device","http://hl7.org/fhir/StructureDefinition/Patient","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/RelatedPerson"],"index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"completionMode","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/questionnaireresponse-completionMode","version":"4.0.1","description":"Indicates how the individual completing the QuestionnaireResponse provided their responses.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/questionnaireresponse-completionMode"},"index":1},"value":{"choices":["valueCodeableConcept"],"index":3},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"reason","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/questionnaireresponse-reason","version":"4.0.1","description":"The factor(s) that caused the questionnaire to be answered.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/questionnaireresponse-reason"},"index":1},"value":{"choices":["valueCodeableConcept"],"index":3},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"reviewer","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/questionnaireresponse-reviewer","version":"4.0.1","description":"Individual responsible for ensuring that the questionnaire response have been completed appropriately and signs off on the content.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/questionnaireresponse-reviewer"},"index":1},"value":{"choices":["valueReference"],"index":3},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/Practitioner"],"index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"signature","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/questionnaireresponse-signature","version":"4.0.1","description":"Represents a wet or electronic signature for either the form overall or for the question or item it's associated with.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/questionnaireresponse-signature"},"index":1},"value":{"choices":["valueSignature"],"index":3},"valueSignature":{"type":"Signature","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"QuestionnaireResponse","type":"QuestionnaireResponse","kind":"resource","class":"resource","url":"http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse","version":"4.0.1","description":"A structured set of questions and their answers. The questions are ordered and grouped into coherent subsets, corresponding to the structure of the grouping of the questionnaire being responded to.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/DomainResource","elements":{"identifier":{"short":"Unique id for this set of answers","type":"Identifier","isSummary":true,"index":0},"basedOn":{"short":"Request fulfilled by this QuestionnaireResponse","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/CarePlan","http://hl7.org/fhir/StructureDefinition/ServiceRequest"],"array":true,"index":1},"partOf":{"short":"Part of this action","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Observation","http://hl7.org/fhir/StructureDefinition/Procedure"],"array":true,"index":2},"questionnaire":{"short":"Form being answered","type":"canonical","isSummary":true,"index":3},"status":{"short":"in-progress | completed | amended | entered-in-error | stopped","type":"code","isModifier":true,"isModifierReason":"This element is labelled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/questionnaire-answers-status|4.0.1","bindingName":"QuestionnaireResponseStatus"},"index":4},"subject":{"short":"The subject of the questions","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Resource"],"index":5},"encounter":{"short":"Encounter created as part of","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Encounter"],"index":6},"authored":{"short":"Date the answers were gathered","type":"dateTime","isSummary":true,"index":7},"author":{"short":"Person who received and recorded the answers","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Device","http://hl7.org/fhir/StructureDefinition/Organization","http://hl7.org/fhir/StructureDefinition/Patient","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole","http://hl7.org/fhir/StructureDefinition/RelatedPerson"],"index":8},"source":{"short":"The person who answered the questions","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Patient","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole","http://hl7.org/fhir/StructureDefinition/RelatedPerson"],"index":9},"item":{"short":"Groups and questions","type":"BackboneElement","constraint":{"qrs-1":{"expression":"(answer.exists() and item.exists()).not()","human":"Nested item can't be beneath both item and answer","severity":"error"}},"array":true,"index":10,"elements":{"linkId":{"short":"Pointer to specific item from Questionnaire","type":"string","index":11},"definition":{"short":"ElementDefinition - details for the item","type":"uri","index":12},"text":{"short":"Name for group or question text","type":"string","index":13},"answer":{"short":"The response(s) to the question","type":"BackboneElement","array":true,"index":14,"elements":{"value":{"short":"Single-valued answer to the question","choices":["valueBoolean","valueDecimal","valueInteger","valueDate","valueDateTime","valueTime","valueString","valueUri","valueAttachment","valueCoding","valueQuantity","valueReference"],"index":16},"valueBoolean":{"short":"Single-valued answer to the question","type":"boolean","choiceOf":"value","index":17},"valueDecimal":{"short":"Single-valued answer to the question","type":"decimal","choiceOf":"value","index":18},"valueInteger":{"short":"Single-valued answer to the question","type":"integer","choiceOf":"value","index":19},"valueDate":{"short":"Single-valued answer to the question","type":"date","choiceOf":"value","index":20},"valueDateTime":{"short":"Single-valued answer to the question","type":"dateTime","choiceOf":"value","index":21},"valueTime":{"short":"Single-valued answer to the question","type":"time","choiceOf":"value","index":22},"valueString":{"short":"Single-valued answer to the question","type":"string","choiceOf":"value","index":23},"valueUri":{"short":"Single-valued answer to the question","type":"uri","choiceOf":"value","index":24},"valueAttachment":{"short":"Single-valued answer to the question","type":"Attachment","choiceOf":"value","index":25},"valueCoding":{"short":"Single-valued answer to the question","type":"Coding","choiceOf":"value","index":26},"valueQuantity":{"short":"Single-valued answer to the question","type":"Quantity","choiceOf":"value","index":27},"valueReference":{"short":"Single-valued answer to the question","type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/Resource"],"index":28},"item":{"short":"Nested groups and questions","elementReference":["http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse","elements","item"],"array":true,"index":29}}},"item":{"short":"Nested questionnaire response items","elementReference":["http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse","elements","item"],"array":true,"index":30}},"required":["linkId"]}},"required":["status"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"Range","type":"Range","kind":"complex-type","class":"complex-type","url":"http://hl7.org/fhir/StructureDefinition/Range","version":"4.0.1","description":"Base StructureDefinition for Range Type: A set of ordered Quantities defined by a low and high limit.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/Element","elements":{"low":{"short":"Low limit","type":"Quantity","isSummary":true,"index":0},"high":{"short":"High limit","type":"Quantity","isSummary":true,"index":1}},"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"Ratio","type":"Ratio","kind":"complex-type","class":"complex-type","url":"http://hl7.org/fhir/StructureDefinition/Ratio","version":"4.0.1","description":"Base StructureDefinition for Ratio Type: A relationship of two Quantity values - expressed as a numerator and a denominator.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/Element","elements":{"numerator":{"short":"Numerator value","type":"Quantity","isSummary":true,"index":0},"denominator":{"short":"Denominator value","type":"Quantity","isSummary":true,"index":1}},"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"Reference","type":"Reference","kind":"complex-type","class":"complex-type","url":"http://hl7.org/fhir/StructureDefinition/Reference","version":"4.0.1","description":"Base StructureDefinition for Reference Type: A reference from one resource to another.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/Element","elements":{"reference":{"short":"Literal reference, Relative, internal or absolute URL","type":"string","isSummary":true,"index":0},"type":{"short":"Type the reference refers to (e.g. \\"Patient\\")","type":"uri","isSummary":true,"binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/ValueSet/resource-types","bindingName":"FHIRResourceTypeExt"},"index":1},"identifier":{"short":"Logical reference, when literal reference is not known","type":"Identifier","isSummary":true,"index":2},"display":{"short":"Text alternative for the resource","type":"string","isSummary":true,"index":3}},"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"regex","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/regex","version":"4.0.1","description":"A regular expression that defines the syntax for the data element to be considered valid.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/regex"},"type":"uri","index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"regex","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/regex","version":"4.0.1","description":"A regular expression that defines the syntax for the data element to be considered valid.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/regex"},"index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"RelatedArtifact","type":"RelatedArtifact","kind":"complex-type","class":"complex-type","url":"http://hl7.org/fhir/StructureDefinition/RelatedArtifact","version":"4.0.1","description":"Base StructureDefinition for RelatedArtifact Type: Related artifacts such as additional documentation, justification, or bibliographic references.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/Element","elements":{"type":{"short":"documentation | justification | citation | predecessor | successor | derived-from | depends-on | composed-of","type":"code","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/related-artifact-type|4.0.1","bindingName":"RelatedArtifactType"},"index":0},"label":{"short":"Short label","type":"string","isSummary":true,"index":1},"display":{"short":"Brief description of the related artifact","type":"string","isSummary":true,"index":2},"citation":{"short":"Bibliographic citation for the artifact","type":"markdown","isSummary":true,"index":3},"url":{"short":"Where the artifact can be accessed","type":"url","isSummary":true,"index":4},"document":{"short":"What document is being referenced","type":"Attachment","isSummary":true,"index":5},"resource":{"short":"What resource is being referenced","type":"canonical","isSummary":true,"index":6}},"required":["type"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"RelatedPerson","type":"RelatedPerson","kind":"resource","class":"resource","url":"http://hl7.org/fhir/StructureDefinition/RelatedPerson","version":"4.0.1","description":"Information about a person that is involved in the care for a patient, but who is not the target of healthcare, nor has a formal responsibility in the care process.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/DomainResource","elements":{"identifier":{"short":"A human identifier for this person","type":"Identifier","isSummary":true,"array":true,"index":0},"active":{"short":"Whether this related person's record is in active use","type":"boolean","meaningWhenMissing":"This resource is generally assumed to be active if no value is provided for the active element","isModifier":true,"isModifierReason":"This element is labelled as a modifier because it is a status element that can indicate that a record should not be treated as valid","isSummary":true,"index":1},"patient":{"short":"The patient this person is related to","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Patient"],"index":2},"relationship":{"short":"The nature of the relationship","type":"CodeableConcept","isSummary":true,"binding":{"strength":"preferred","valueSet":"http://hl7.org/fhir/ValueSet/relatedperson-relationshiptype","bindingName":"PatientRelationshipType"},"array":true,"index":3},"name":{"short":"A name associated with the person","type":"HumanName","isSummary":true,"array":true,"index":4},"telecom":{"short":"A contact detail for the person","type":"ContactPoint","isSummary":true,"array":true,"index":5},"gender":{"short":"male | female | other | unknown","type":"code","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/administrative-gender|4.0.1","bindingName":"AdministrativeGender"},"index":6},"birthDate":{"short":"The date on which the related person was born","type":"date","isSummary":true,"index":7},"address":{"short":"Address where the related person can be contacted or visited","type":"Address","isSummary":true,"array":true,"index":8},"photo":{"short":"Image of the person","type":"Attachment","array":true,"index":9},"period":{"short":"Period of time that this relationship is considered valid","type":"Period","index":10},"communication":{"short":"A language which may be used to communicate with about the patient's health","type":"BackboneElement","array":true,"index":11,"elements":{"language":{"short":"The language which can be used to communicate with the patient about his or her health","type":"CodeableConcept","binding":{"strength":"preferred","valueSet":"http://hl7.org/fhir/ValueSet/languages","bindingName":"Language"},"index":12},"preferred":{"short":"Language preference indicator","type":"boolean","index":13}},"required":["language"]}},"required":["patient"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"Relative Date Criteria","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/relative-date","version":"4.0.1","description":"Specifies that a date is relative to some event. The event happens [Duration] after [Event].","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{"event":{"min":1,"max":1,"short":"Event that the date is relative to","_required":true,"index":0,"extensions":{},"required":["value"]},"relationship":{"min":1,"max":1,"short":"before-start | before | before-end | concurrent-with-start | concurrent | concurrent-with-end | after-start | after | after-end","_required":true,"index":7,"extensions":{},"required":["value"]},"offset":{"min":1,"max":1,"short":"Duration after the event","_required":true,"index":13,"extensions":{},"required":["value"]}},"elements":{"extension":{"short":"Event that the date is relative to","type":"Extension","index":0,"slicing":{"slices":{"event":{"match":{},"schema":{"short":"Event that the date is relative to","type":"Extension","_required":true,"index":0,"extensions":"[Circular Reference]","elements":{"extension":{"index":1},"url":{"type":"uri","pattern":{"type":"uri","value":"event"},"index":2},"value":{"choices":["valueReference","valueCodeableConcept"],"index":4},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/Resource"],"index":5},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":6}},"required":["value"]},"min":1,"max":1},"relationship":{"match":{},"schema":{"short":"before-start | before | before-end | concurrent-with-start | concurrent | concurrent-with-end | after-start | after | after-end","type":"Extension","_required":true,"index":7,"extensions":"[Circular Reference]","elements":{"extension":{"index":8},"url":{"type":"uri","pattern":{"type":"uri","value":"relationship"},"index":9},"value":{"choices":["valueCode"],"index":11},"valueCode":{"type":"code","choiceOf":"value","index":12}},"required":["value"]},"min":1,"max":1},"offset":{"match":{},"schema":{"short":"Duration after the event","type":"Extension","_required":true,"index":13,"extensions":"[Circular Reference]","elements":{"extension":{"index":14},"url":{"type":"uri","pattern":{"type":"uri","value":"offset"},"index":15},"value":{"choices":["valueDuration"],"index":17},"valueDuration":{"type":"Duration","choiceOf":"value","index":18}},"required":["value"]},"min":1,"max":1}}}},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/relative-date"},"type":"uri","index":19}},"required":["extension"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"Rendered Value","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/rendered-value","version":"4.0.1","description":"Provides a rendered version of the value intended for human display. For example, a sensitive identifier (e.g. social security number) partially obscured by asterisks; a drivers licence number with dashes inserted; a date formatted as MMM dd, yyyy; etc.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/rendered-value"},"type":"uri","index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"markdown","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/rendering-markdown","version":"4.0.1","description":"This is an equivalent of the string on which the extension is sent, but includes additional markdown (see documentation about [markdown](datatypes.html#markdown). Note that using HTML [xhtml](extension-rendering-xhtml.html) can allow for greater precision of display.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/rendering-markdown"},"type":"uri","index":1},"value":{"choices":["valueMarkdown"],"index":3},"valueMarkdown":{"type":"markdown","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"style","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/rendering-style","version":"4.0.1","description":"Identifies how the specified element should be rendered when displayed.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/rendering-style"},"type":"uri","index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"styleSensitive","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/rendering-styleSensitive","version":"4.0.1","description":"Indicates that the style extensions (style, markdown and xhtml) in this resource instance are essential to the interpretation of the instance and that systems that are not capable of rendering using those extensions should not be used to render the resource.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/rendering-styleSensitive"},"type":"uri","index":1},"value":{"choices":["valueBoolean"],"index":3},"valueBoolean":{"type":"boolean","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"xhtml","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/rendering-xhtml","version":"4.0.1","description":"This is an equivalent of the string on which the extension is sent, but includes additional XHTML markup, such as bold, italics, styles, tables, etc. Existing [restrictions on XHTML content](narrative.html#security) apply. Note that using [markdown](extension-rendering-markdown.html) allows for greater flexibility of display.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/rendering-xhtml"},"type":"uri","index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"replaces","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/replaces","version":"4.0.1","description":"Indicates a resource that this resource is replacing.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/replaces"},"type":"uri","index":1},"value":{"choices":["valueCanonical"],"index":3},"valueCanonical":{"type":"canonical","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"doNotPerform","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/request-doNotPerform","version":"4.0.1","description":"If true indicates that the request is asking for the specified action to not occur.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/request-doNotPerform"},"type":"uri","index":1},"value":{"choices":["valueBoolean"],"index":3},"valueBoolean":{"type":"boolean","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"insurance","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/request-insurance","version":"4.0.1","description":"Insurance plans, coverage extensions, pre-authorizations and/or pre-determinations that may be relevant in delivering the requested service.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/request-insurance"},"type":"uri","index":1},"value":{"choices":["valueReference"],"index":3},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/ClaimResponse","http://hl7.org/fhir/StructureDefinition/Coverage"],"index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"performerOrder","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/request-performerOrder","version":"4.0.1","description":"Identifies the relative preference of alternative performers when the request lists multiple performers.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/request-performerOrder"},"type":"uri","index":1},"value":{"choices":["valueInteger"],"index":3},"valueInteger":{"type":"integer","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"relevantHistory","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/request-relevantHistory","version":"4.0.1","description":"Links to Provenance records for past versions of this resource or fulfilling request or event resources that identify key state transitions or updates that are likely to be relevant to a user looking at the current version of the resource.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/request-relevantHistory"},"type":"uri","index":1},"value":{"choices":["valueReference"],"index":3},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/Provenance"],"index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"replaces","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/request-replaces","version":"4.0.1","description":"Completed or terminated request(s) whose function is taken by this new request.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/request-replaces"},"type":"uri","index":1},"value":{"choices":["valueReference"],"index":3},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/Resource"],"index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"statusReason","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/request-statusReason","version":"4.0.1","description":"Captures the reason for the current state of the resource.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/request-statusReason"},"type":"uri","index":1},"value":{"choices":["valueCodeableConcept"],"index":3},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"Relative Date Criteria","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/relative-date","version":"4.0.1","description":"Specifies that a date is relative to some event. The event happens [Duration] after [Event].","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{"event":{"min":1,"max":1,"short":"Event that the date is relative to","_required":true,"index":0,"extensions":{},"required":["value"]},"relationship":{"min":1,"max":1,"short":"before-start | before | before-end | concurrent-with-start | concurrent | concurrent-with-end | after-start | after | after-end","_required":true,"index":7,"extensions":{},"required":["value"]},"offset":{"min":1,"max":1,"short":"Duration after the event","_required":true,"index":13,"extensions":{},"required":["value"]}},"elements":{"extension":{"short":"Event that the date is relative to","type":"Extension","index":0,"slicing":{"slices":{"event":{"match":{},"schema":{"short":"Event that the date is relative to","type":"Extension","_required":true,"index":0,"extensions":"[Circular Reference]","elements":{"extension":{"index":1},"url":{"type":"uri","fixed":{"type":"uri","value":"event"},"index":2},"value":{"choices":["valueReference","valueCodeableConcept"],"index":4},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/Resource"],"index":5},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":6}},"required":["value"]},"min":1,"max":1},"relationship":{"match":{},"schema":{"short":"before-start | before | before-end | concurrent-with-start | concurrent | concurrent-with-end | after-start | after | after-end","type":"Extension","_required":true,"index":7,"extensions":"[Circular Reference]","elements":{"extension":{"index":8},"url":{"type":"uri","fixed":{"type":"uri","value":"relationship"},"index":9},"value":{"choices":["valueCode"],"index":11},"valueCode":{"type":"code","choiceOf":"value","index":12}},"required":["value"]},"min":1,"max":1},"offset":{"match":{},"schema":{"short":"Duration after the event","type":"Extension","_required":true,"index":13,"extensions":"[Circular Reference]","elements":{"extension":{"index":14},"url":{"type":"uri","fixed":{"type":"uri","value":"offset"},"index":15},"value":{"choices":["valueDuration"],"index":17},"valueDuration":{"type":"Duration","choiceOf":"value","index":18}},"required":["value"]},"min":1,"max":1}}}},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/relative-date"},"index":19}},"required":["extension"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"Rendered Value","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/rendered-value","version":"4.0.1","description":"Provides a rendered version of the value intended for human display. For example, a sensitive identifier (e.g. social security number) partially obscured by asterisks; a drivers licence number with dashes inserted; a date formatted as MMM dd, yyyy; etc.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/rendered-value"},"index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"markdown","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/rendering-markdown","version":"4.0.1","description":"This is an equivalent of the string on which the extension is sent, but includes additional markdown (see documentation about [markdown](datatypes.html#markdown). Note that using HTML [xhtml](extension-rendering-xhtml.html) can allow for greater precision of display.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/rendering-markdown"},"index":1},"value":{"choices":["valueMarkdown"],"index":3},"valueMarkdown":{"type":"markdown","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"style","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/rendering-style","version":"4.0.1","description":"Identifies how the specified element should be rendered when displayed.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/rendering-style"},"index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"styleSensitive","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/rendering-styleSensitive","version":"4.0.1","description":"Indicates that the style extensions (style, markdown and xhtml) in this resource instance are essential to the interpretation of the instance and that systems that are not capable of rendering using those extensions should not be used to render the resource.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/rendering-styleSensitive"},"index":1},"value":{"choices":["valueBoolean"],"index":3},"valueBoolean":{"type":"boolean","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"xhtml","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/rendering-xhtml","version":"4.0.1","description":"This is an equivalent of the string on which the extension is sent, but includes additional XHTML markup, such as bold, italics, styles, tables, etc. Existing [restrictions on XHTML content](narrative.html#security) apply. Note that using [markdown](extension-rendering-markdown.html) allows for greater flexibility of display.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/rendering-xhtml"},"index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"replaces","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/replaces","version":"4.0.1","description":"Indicates a resource that this resource is replacing.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/replaces"},"index":1},"value":{"choices":["valueCanonical"],"index":3},"valueCanonical":{"type":"canonical","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"doNotPerform","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/request-doNotPerform","version":"4.0.1","description":"If true indicates that the request is asking for the specified action to not occur.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/request-doNotPerform"},"index":1},"value":{"choices":["valueBoolean"],"index":3},"valueBoolean":{"type":"boolean","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"insurance","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/request-insurance","version":"4.0.1","description":"Insurance plans, coverage extensions, pre-authorizations and/or pre-determinations that may be relevant in delivering the requested service.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/request-insurance"},"index":1},"value":{"choices":["valueReference"],"index":3},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/ClaimResponse","http://hl7.org/fhir/StructureDefinition/Coverage"],"index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"performerOrder","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/request-performerOrder","version":"4.0.1","description":"Identifies the relative preference of alternative performers when the request lists multiple performers.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/request-performerOrder"},"index":1},"value":{"choices":["valueInteger"],"index":3},"valueInteger":{"type":"integer","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"relevantHistory","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/request-relevantHistory","version":"4.0.1","description":"Links to Provenance records for past versions of this resource or fulfilling request or event resources that identify key state transitions or updates that are likely to be relevant to a user looking at the current version of the resource.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/request-relevantHistory"},"index":1},"value":{"choices":["valueReference"],"index":3},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/Provenance"],"index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"replaces","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/request-replaces","version":"4.0.1","description":"Completed or terminated request(s) whose function is taken by this new request.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/request-replaces"},"index":1},"value":{"choices":["valueReference"],"index":3},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/Resource"],"index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"statusReason","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/request-statusReason","version":"4.0.1","description":"Captures the reason for the current state of the resource.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/request-statusReason"},"index":1},"value":{"choices":["valueCodeableConcept"],"index":3},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"Request","type":"Request","kind":"logical","class":"logical","url":"http://hl7.org/fhir/StructureDefinition/Request","version":"4.0.1","description":"Logical Model: A pattern to be followed by resources that represent a specific proposal, plan and/or order for some sort of action or service.","package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"RequestGroup","type":"RequestGroup","kind":"resource","class":"resource","url":"http://hl7.org/fhir/StructureDefinition/RequestGroup","version":"4.0.1","description":"A group of related requests that can be used to capture intended activities that have inter-dependencies such as \\"give this medication after that one\\".","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/DomainResource","elements":{"identifier":{"short":"Business identifier","type":"Identifier","isSummary":true,"array":true,"index":0},"instantiatesCanonical":{"short":"Instantiates FHIR protocol or definition","type":"canonical","isSummary":true,"array":true,"index":1},"instantiatesUri":{"short":"Instantiates external protocol or definition","type":"uri","isSummary":true,"array":true,"index":2},"basedOn":{"short":"Fulfills plan, proposal, or order","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Resource"],"array":true,"index":3},"replaces":{"short":"Request(s) replaced by this request","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Resource"],"array":true,"index":4},"groupIdentifier":{"short":"Composite request this is part of","type":"Identifier","isSummary":true,"index":5},"status":{"short":"draft | active | on-hold | revoked | completed | entered-in-error | unknown","type":"code","isModifier":true,"isModifierReason":"This element is labeled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/request-status|4.0.1","bindingName":"RequestStatus"},"index":6},"intent":{"short":"proposal | plan | directive | order | original-order | reflex-order | filler-order | instance-order | option","type":"code","isModifier":true,"isModifierReason":"This element changes the interpretation of all descriptive attributes. For example \\"the time the request is recommended to occur\\" vs. \\"the time the request is authorized to occur\\" or \\"who is recommended to perform the request\\" vs. \\"who is authorized to perform the request","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/request-intent|4.0.1","bindingName":"RequestIntent"},"index":7},"priority":{"short":"routine | urgent | asap | stat","type":"code","meaningWhenMissing":"If missing, this request should be performed with normal priority","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/request-priority|4.0.1","bindingName":"RequestPriority"},"index":8},"code":{"short":"What's being requested/ordered","type":"CodeableConcept","isSummary":true,"index":9},"subject":{"short":"Who the request group is about","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Group","http://hl7.org/fhir/StructureDefinition/Patient"],"index":10},"encounter":{"short":"Created as part of","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Encounter"],"index":11},"authoredOn":{"short":"When the request group was authored","type":"dateTime","index":12},"author":{"short":"Device or practitioner that authored the request group","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Device","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole"],"index":13},"reasonCode":{"short":"Why the request group is needed","type":"CodeableConcept","array":true,"index":14},"reasonReference":{"short":"Why the request group is needed","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Condition","http://hl7.org/fhir/StructureDefinition/DiagnosticReport","http://hl7.org/fhir/StructureDefinition/DocumentReference","http://hl7.org/fhir/StructureDefinition/Observation"],"array":true,"index":15},"note":{"short":"Additional notes about the response","type":"Annotation","array":true,"index":16},"action":{"short":"Proposed actions, if any","type":"BackboneElement","constraint":{"rqg-1":{"expression":"resource.exists() != action.exists()","human":"Must have resource or action but not both","severity":"error"}},"array":true,"index":17,"elements":{"prefix":{"short":"User-visible prefix for the action (e.g. 1. or A.)","type":"string","index":18},"title":{"short":"User-visible title","type":"string","index":19},"description":{"short":"Short description of the action","type":"string","isSummary":true,"index":20},"textEquivalent":{"short":"Static text equivalent of the action, used if the dynamic aspects cannot be interpreted by the receiving system","type":"string","isSummary":true,"index":21},"priority":{"short":"routine | urgent | asap | stat","type":"code","binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/request-priority|4.0.1","bindingName":"RequestPriority"},"index":22},"code":{"short":"Code representing the meaning of the action or sub-actions","type":"CodeableConcept","array":true,"index":23},"documentation":{"short":"Supporting documentation for the intended performer of the action","type":"RelatedArtifact","array":true,"index":24},"condition":{"short":"Whether or not the action is applicable","type":"BackboneElement","array":true,"index":25,"elements":{"kind":{"short":"applicability | start | stop","type":"code","binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/action-condition-kind|4.0.1","bindingName":"ActionConditionKind"},"index":26},"expression":{"short":"Boolean-valued expression","type":"Expression","index":27}},"required":["kind"]},"relatedAction":{"short":"Relationship to another action","type":"BackboneElement","array":true,"index":28,"elements":{"actionId":{"short":"What action this is related to","type":"id","index":29},"relationship":{"short":"before-start | before | before-end | concurrent-with-start | concurrent | concurrent-with-end | after-start | after | after-end","type":"code","binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/action-relationship-type|4.0.1","bindingName":"ActionRelationshipType"},"index":30},"offset":{"short":"Time offset for the relationship","choices":["offsetDuration","offsetRange"],"index":32},"offsetDuration":{"short":"Time offset for the relationship","type":"Duration","choiceOf":"offset","index":33},"offsetRange":{"short":"Time offset for the relationship","type":"Range","choiceOf":"offset","index":34}},"required":["actionId","relationship"]},"timing":{"short":"When the action should take place","choices":["timingDateTime","timingAge","timingPeriod","timingDuration","timingRange","timingTiming"],"index":36},"timingDateTime":{"short":"When the action should take place","type":"dateTime","choiceOf":"timing","index":37},"timingAge":{"short":"When the action should take place","type":"Age","choiceOf":"timing","index":38},"timingPeriod":{"short":"When the action should take place","type":"Period","choiceOf":"timing","index":39},"timingDuration":{"short":"When the action should take place","type":"Duration","choiceOf":"timing","index":40},"timingRange":{"short":"When the action should take place","type":"Range","choiceOf":"timing","index":41},"timingTiming":{"short":"When the action should take place","type":"Timing","choiceOf":"timing","index":42},"participant":{"short":"Who should perform the action","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Device","http://hl7.org/fhir/StructureDefinition/Patient","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole","http://hl7.org/fhir/StructureDefinition/RelatedPerson"],"array":true,"index":43},"type":{"short":"create | update | remove | fire-event","type":"CodeableConcept","binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/ValueSet/action-type","bindingName":"ActionType"},"index":44},"groupingBehavior":{"short":"visual-group | logical-group | sentence-group","type":"code","binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/action-grouping-behavior|4.0.1","bindingName":"ActionGroupingBehavior"},"index":45},"selectionBehavior":{"short":"any | all | all-or-none | exactly-one | at-most-one | one-or-more","type":"code","binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/action-selection-behavior|4.0.1","bindingName":"ActionSelectionBehavior"},"index":46},"requiredBehavior":{"short":"must | could | must-unless-documented","type":"code","binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/action-required-behavior|4.0.1","bindingName":"ActionRequiredBehavior"},"index":47},"precheckBehavior":{"short":"yes | no","type":"code","binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/action-precheck-behavior|4.0.1","bindingName":"ActionPrecheckBehavior"},"index":48},"cardinalityBehavior":{"short":"single | multiple","type":"code","binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/action-cardinality-behavior|4.0.1","bindingName":"ActionCardinalityBehavior"},"index":49},"resource":{"short":"The target of the action","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Resource"],"index":50},"action":{"short":"Sub action","elementReference":["http://hl7.org/fhir/StructureDefinition/RequestGroup","elements","action"],"array":true,"index":51}}}},"required":["intent","status"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"ResearchDefinition","type":"ResearchDefinition","kind":"resource","class":"resource","url":"http://hl7.org/fhir/StructureDefinition/ResearchDefinition","version":"4.0.1","description":"The ResearchDefinition resource describes the conditional state (population and any exposures being compared within the population) and outcome (if specified) that the knowledge (evidence, assertion, recommendation) is about.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/DomainResource","elements":{"url":{"short":"Canonical identifier for this research definition, represented as a URI (globally unique)","type":"uri","isSummary":true,"index":0},"identifier":{"short":"Additional identifier for the research definition","type":"Identifier","isSummary":true,"array":true,"index":1},"version":{"short":"Business version of the research definition","type":"string","isSummary":true,"index":2},"name":{"short":"Name for this research definition (computer friendly)","type":"string","isSummary":true,"index":3},"title":{"short":"Name for this research definition (human friendly)","type":"string","isSummary":true,"index":4},"shortTitle":{"short":"Title for use in informal contexts","type":"string","index":5},"subtitle":{"short":"Subordinate title of the ResearchDefinition","type":"string","index":6},"status":{"short":"draft | active | retired | unknown","type":"code","isModifier":true,"isModifierReason":"This is labeled as \\"Is Modifier\\" because applications should not use a retired {{title}} without due consideration","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/publication-status|4.0.1","bindingName":"PublicationStatus"},"index":7},"experimental":{"short":"For testing purposes, not real usage","type":"boolean","isSummary":true,"index":8},"subject":{"short":"E.g. Patient, Practitioner, RelatedPerson, Organization, Location, Device","meaningWhenMissing":"Patient","choices":["subjectCodeableConcept","subjectReference"],"index":10},"subjectCodeableConcept":{"short":"E.g. Patient, Practitioner, RelatedPerson, Organization, Location, Device","type":"CodeableConcept","meaningWhenMissing":"Patient","choiceOf":"subject","index":11},"subjectReference":{"short":"E.g. Patient, Practitioner, RelatedPerson, Organization, Location, Device","type":"Reference","meaningWhenMissing":"Patient","choiceOf":"subject","refers":["http://hl7.org/fhir/StructureDefinition/Group"],"index":12},"date":{"short":"Date last changed","type":"dateTime","isSummary":true,"index":13},"publisher":{"short":"Name of the publisher (organization or individual)","type":"string","isSummary":true,"index":14},"contact":{"short":"Contact details for the publisher","type":"ContactDetail","isSummary":true,"array":true,"index":15},"description":{"short":"Natural language description of the research definition","type":"markdown","isSummary":true,"index":16},"comment":{"short":"Used for footnotes or explanatory notes","type":"string","array":true,"index":17},"useContext":{"short":"The context that the content is intended to support","type":"UsageContext","isSummary":true,"array":true,"index":18},"jurisdiction":{"short":"Intended jurisdiction for research definition (if applicable)","type":"CodeableConcept","isSummary":true,"binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/ValueSet/jurisdiction","bindingName":"Jurisdiction"},"array":true,"index":19},"purpose":{"short":"Why this research definition is defined","type":"markdown","index":20},"usage":{"short":"Describes the clinical usage of the ResearchDefinition","type":"string","index":21},"copyright":{"short":"Use and/or publishing restrictions","type":"markdown","index":22},"approvalDate":{"short":"When the research definition was approved by publisher","type":"date","index":23},"lastReviewDate":{"short":"When the research definition was last reviewed","type":"date","index":24},"effectivePeriod":{"short":"When the research definition is expected to be used","type":"Period","isSummary":true,"index":25},"topic":{"short":"The category of the ResearchDefinition, such as Education, Treatment, Assessment, etc.","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/definition-topic","bindingName":"DefinitionTopic"},"array":true,"index":26},"author":{"short":"Who authored the content","type":"ContactDetail","array":true,"index":27},"editor":{"short":"Who edited the content","type":"ContactDetail","array":true,"index":28},"reviewer":{"short":"Who reviewed the content","type":"ContactDetail","array":true,"index":29},"endorser":{"short":"Who endorsed the content","type":"ContactDetail","array":true,"index":30},"relatedArtifact":{"short":"Additional documentation, citations, etc.","type":"RelatedArtifact","array":true,"index":31},"library":{"short":"Logic used by the ResearchDefinition","type":"canonical","array":true,"index":32},"population":{"short":"What population?","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/ResearchElementDefinition"],"index":33},"exposure":{"short":"What exposure?","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/ResearchElementDefinition"],"index":34},"exposureAlternative":{"short":"What alternative exposure state?","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/ResearchElementDefinition"],"index":35},"outcome":{"short":"What outcome?","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/ResearchElementDefinition"],"index":36}},"required":["population","status"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"ResearchElementDefinition","type":"ResearchElementDefinition","kind":"resource","class":"resource","url":"http://hl7.org/fhir/StructureDefinition/ResearchElementDefinition","version":"4.0.1","description":"The ResearchElementDefinition resource describes a \\"PICO\\" element that knowledge (evidence, assertion, recommendation) is about.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/DomainResource","elements":{"url":{"short":"Canonical identifier for this research element definition, represented as a URI (globally unique)","type":"uri","isSummary":true,"index":0},"identifier":{"short":"Additional identifier for the research element definition","type":"Identifier","isSummary":true,"array":true,"index":1},"version":{"short":"Business version of the research element definition","type":"string","isSummary":true,"index":2},"name":{"short":"Name for this research element definition (computer friendly)","type":"string","isSummary":true,"index":3},"title":{"short":"Name for this research element definition (human friendly)","type":"string","isSummary":true,"index":4},"shortTitle":{"short":"Title for use in informal contexts","type":"string","isSummary":true,"index":5},"subtitle":{"short":"Subordinate title of the ResearchElementDefinition","type":"string","index":6},"status":{"short":"draft | active | retired | unknown","type":"code","isModifier":true,"isModifierReason":"This is labeled as \\"Is Modifier\\" because applications should not use a retired {{title}} without due consideration","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/publication-status|4.0.1","bindingName":"PublicationStatus"},"index":7},"experimental":{"short":"For testing purposes, not real usage","type":"boolean","isSummary":true,"index":8},"subject":{"short":"E.g. Patient, Practitioner, RelatedPerson, Organization, Location, Device","meaningWhenMissing":"Patient","choices":["subjectCodeableConcept","subjectReference"],"index":10},"subjectCodeableConcept":{"short":"E.g. Patient, Practitioner, RelatedPerson, Organization, Location, Device","type":"CodeableConcept","meaningWhenMissing":"Patient","choiceOf":"subject","index":11},"subjectReference":{"short":"E.g. Patient, Practitioner, RelatedPerson, Organization, Location, Device","type":"Reference","meaningWhenMissing":"Patient","choiceOf":"subject","refers":["http://hl7.org/fhir/StructureDefinition/Group"],"index":12},"date":{"short":"Date last changed","type":"dateTime","isSummary":true,"index":13},"publisher":{"short":"Name of the publisher (organization or individual)","type":"string","isSummary":true,"index":14},"contact":{"short":"Contact details for the publisher","type":"ContactDetail","isSummary":true,"array":true,"index":15},"description":{"short":"Natural language description of the research element definition","type":"markdown","isSummary":true,"index":16},"comment":{"short":"Used for footnotes or explanatory notes","type":"string","array":true,"index":17},"useContext":{"short":"The context that the content is intended to support","type":"UsageContext","isSummary":true,"array":true,"index":18},"jurisdiction":{"short":"Intended jurisdiction for research element definition (if applicable)","type":"CodeableConcept","isSummary":true,"binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/ValueSet/jurisdiction","bindingName":"Jurisdiction"},"array":true,"index":19},"purpose":{"short":"Why this research element definition is defined","type":"markdown","index":20},"usage":{"short":"Describes the clinical usage of the ResearchElementDefinition","type":"string","index":21},"copyright":{"short":"Use and/or publishing restrictions","type":"markdown","index":22},"approvalDate":{"short":"When the research element definition was approved by publisher","type":"date","index":23},"lastReviewDate":{"short":"When the research element definition was last reviewed","type":"date","index":24},"effectivePeriod":{"short":"When the research element definition is expected to be used","type":"Period","isSummary":true,"index":25},"topic":{"short":"The category of the ResearchElementDefinition, such as Education, Treatment, Assessment, etc.","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/definition-topic","bindingName":"DefinitionTopic"},"array":true,"index":26},"author":{"short":"Who authored the content","type":"ContactDetail","array":true,"index":27},"editor":{"short":"Who edited the content","type":"ContactDetail","array":true,"index":28},"reviewer":{"short":"Who reviewed the content","type":"ContactDetail","array":true,"index":29},"endorser":{"short":"Who endorsed the content","type":"ContactDetail","array":true,"index":30},"relatedArtifact":{"short":"Additional documentation, citations, etc.","type":"RelatedArtifact","array":true,"index":31},"library":{"short":"Logic used by the ResearchElementDefinition","type":"canonical","array":true,"index":32},"type":{"short":"population | exposure | outcome","type":"code","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/research-element-type|4.0.1","bindingName":"ResearchElementType"},"index":33},"variableType":{"short":"dichotomous | continuous | descriptive","type":"code","binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/variable-type|4.0.1","bindingName":"VariableType"},"index":34},"characteristic":{"short":"What defines the members of the research element","type":"BackboneElement","isSummary":true,"array":true,"min":1,"index":35,"elements":{"definition":{"short":"What code or expression defines members?","isSummary":true,"choices":["definitionCodeableConcept","definitionCanonical","definitionExpression","definitionDataRequirement"],"index":37},"definitionCodeableConcept":{"short":"What code or expression defines members?","type":"CodeableConcept","isSummary":true,"choiceOf":"definition","index":38},"definitionCanonical":{"short":"What code or expression defines members?","type":"canonical","isSummary":true,"choiceOf":"definition","index":39},"definitionExpression":{"short":"What code or expression defines members?","type":"Expression","isSummary":true,"choiceOf":"definition","index":40},"definitionDataRequirement":{"short":"What code or expression defines members?","type":"DataRequirement","isSummary":true,"choiceOf":"definition","index":41},"usageContext":{"short":"What code/value pairs define members?","type":"UsageContext","array":true,"index":42},"exclude":{"short":"Whether the characteristic includes or excludes members","type":"boolean","meaningWhenMissing":"False","index":43},"unitOfMeasure":{"short":"What unit is the outcome described in?","type":"CodeableConcept","binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/ucum-units|4.0.1","bindingName":"UCUMUnits"},"index":44},"studyEffectiveDescription":{"short":"What time period does the study cover","type":"string","index":45},"studyEffective":{"short":"What time period does the study cover","choices":["studyEffectiveDateTime","studyEffectivePeriod","studyEffectiveDuration","studyEffectiveTiming"],"index":47},"studyEffectiveDateTime":{"short":"What time period does the study cover","type":"dateTime","choiceOf":"studyEffective","index":48},"studyEffectivePeriod":{"short":"What time period does the study cover","type":"Period","choiceOf":"studyEffective","index":49},"studyEffectiveDuration":{"short":"What time period does the study cover","type":"Duration","choiceOf":"studyEffective","index":50},"studyEffectiveTiming":{"short":"What time period does the study cover","type":"Timing","choiceOf":"studyEffective","index":51},"studyEffectiveTimeFromStart":{"short":"Observation time from study start","type":"Duration","index":52},"studyEffectiveGroupMeasure":{"short":"mean | median | mean-of-mean | mean-of-median | median-of-mean | median-of-median","type":"code","binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/group-measure|4.0.1","bindingName":"GroupMeasure"},"index":53},"participantEffectiveDescription":{"short":"What time period do participants cover","type":"string","index":54},"participantEffective":{"short":"What time period do participants cover","choices":["participantEffectiveDateTime","participantEffectivePeriod","participantEffectiveDuration","participantEffectiveTiming"],"index":56},"participantEffectiveDateTime":{"short":"What time period do participants cover","type":"dateTime","choiceOf":"participantEffective","index":57},"participantEffectivePeriod":{"short":"What time period do participants cover","type":"Period","choiceOf":"participantEffective","index":58},"participantEffectiveDuration":{"short":"What time period do participants cover","type":"Duration","choiceOf":"participantEffective","index":59},"participantEffectiveTiming":{"short":"What time period do participants cover","type":"Timing","choiceOf":"participantEffective","index":60},"participantEffectiveTimeFromStart":{"short":"Observation time from study start","type":"Duration","index":61},"participantEffectiveGroupMeasure":{"short":"mean | median | mean-of-mean | mean-of-median | median-of-mean | median-of-median","type":"code","binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/group-measure|4.0.1","bindingName":"GroupMeasure"},"index":62}},"required":["definition"]}},"required":["characteristic","status","type"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"ResearchStudy","type":"ResearchStudy","kind":"resource","class":"resource","url":"http://hl7.org/fhir/StructureDefinition/ResearchStudy","version":"4.0.1","description":"A process where a researcher or organization plans and then executes a series of steps intended to increase the field of healthcare-related knowledge. This includes studies of safety, efficacy, comparative effectiveness and other information about medications, devices, therapies and other interventional and investigative techniques. A ResearchStudy involves the gathering of information about human or animal subjects.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/DomainResource","elements":{"identifier":{"short":"Business Identifier for study","type":"Identifier","isSummary":true,"array":true,"index":0},"title":{"short":"Name for this study","type":"string","isSummary":true,"index":1},"protocol":{"short":"Steps followed in executing study","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/PlanDefinition"],"array":true,"index":2},"partOf":{"short":"Part of larger study","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/ResearchStudy"],"array":true,"index":3},"status":{"short":"active | administratively-completed | approved | closed-to-accrual | closed-to-accrual-and-intervention | completed | disapproved | in-review | temporarily-closed-to-accrual | temporarily-closed-to-accrual-and-intervention | withdrawn","type":"code","isModifier":true,"isModifierReason":"This element is labeled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/research-study-status|4.0.1","bindingName":"ResearchStudyStatus"},"index":4},"primaryPurposeType":{"short":"treatment | prevention | diagnostic | supportive-care | screening | health-services-research | basic-science | device-feasibility","type":"CodeableConcept","isSummary":true,"binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/ValueSet/research-study-prim-purp-type","bindingName":"ResearchStudyPrimaryPurposeType"},"index":5},"phase":{"short":"n-a | early-phase-1 | phase-1 | phase-1-phase-2 | phase-2 | phase-2-phase-3 | phase-3 | phase-4","type":"CodeableConcept","isSummary":true,"binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/research-study-phase","bindingName":"ResearchStudyPhase"},"index":6},"category":{"short":"Classifications for the study","type":"CodeableConcept","isSummary":true,"array":true,"index":7},"focus":{"short":"Drugs, devices, etc. under study","type":"CodeableConcept","isSummary":true,"array":true,"index":8},"condition":{"short":"Condition being studied","type":"CodeableConcept","isSummary":true,"binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/condition-code","bindingName":"ConditionCode"},"array":true,"index":9},"contact":{"short":"Contact details for the study","type":"ContactDetail","isSummary":true,"array":true,"index":10},"relatedArtifact":{"short":"References and dependencies","type":"RelatedArtifact","array":true,"index":11},"keyword":{"short":"Used to search for the study","type":"CodeableConcept","isSummary":true,"array":true,"index":12},"location":{"short":"Geographic region(s) for study","type":"CodeableConcept","isSummary":true,"binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/ValueSet/jurisdiction","bindingName":"Jurisdiction"},"array":true,"index":13},"description":{"short":"What this is study doing","type":"markdown","index":14},"enrollment":{"short":"Inclusion & exclusion criteria","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Group"],"array":true,"index":15},"period":{"short":"When the study began and ended","type":"Period","isSummary":true,"index":16},"sponsor":{"short":"Organization that initiates and is legally responsible for the study","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Organization"],"index":17},"principalInvestigator":{"short":"Researcher who oversees multiple aspects of the study","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole"],"index":18},"site":{"short":"Facility where study activities are conducted","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Location"],"array":true,"index":19},"reasonStopped":{"short":"accrual-goal-met | closed-due-to-toxicity | closed-due-to-lack-of-study-progress | temporarily-closed-per-study-design","type":"CodeableConcept","isSummary":true,"binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/research-study-reason-stopped","bindingName":"ResearchStudyReasonStopped"},"index":20},"note":{"short":"Comments made about the study","type":"Annotation","array":true,"index":21},"arm":{"short":"Defined path through the study for a subject","type":"BackboneElement","array":true,"index":22,"elements":{"name":{"short":"Label for study arm","type":"string","index":23},"type":{"short":"Categorization of study arm","type":"CodeableConcept","index":24},"description":{"short":"Short explanation of study path","type":"string","index":25}},"required":["name"]},"objective":{"short":"A goal for the study","type":"BackboneElement","array":true,"index":26,"elements":{"name":{"short":"Label for the objective","type":"string","index":27},"type":{"short":"primary | secondary | exploratory","type":"CodeableConcept","binding":{"strength":"preferred","valueSet":"http://hl7.org/fhir/ValueSet/research-study-objective-type","bindingName":"ResearchStudyObjectiveType"},"index":28}}}},"required":["status"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"ResearchSubject","type":"ResearchSubject","kind":"resource","class":"resource","url":"http://hl7.org/fhir/StructureDefinition/ResearchSubject","version":"4.0.1","description":"A physical entity which is the primary unit of operational and/or administrative interest in a study.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/DomainResource","elements":{"identifier":{"short":"Business Identifier for research subject in a study","type":"Identifier","isSummary":true,"array":true,"index":0},"status":{"short":"candidate | eligible | follow-up | ineligible | not-registered | off-study | on-study | on-study-intervention | on-study-observation | pending-on-study | potential-candidate | screening | withdrawn","type":"code","isModifier":true,"isModifierReason":"This element is labeled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/research-subject-status|4.0.1","bindingName":"ResearchSubjectStatus"},"index":1},"period":{"short":"Start and end of participation","type":"Period","isSummary":true,"index":2},"study":{"short":"Study subject is part of","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/ResearchStudy"],"index":3},"individual":{"short":"Who is part of study","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Patient"],"index":4},"assignedArm":{"short":"What path should be followed","type":"string","index":5},"actualArm":{"short":"What path was followed","type":"string","index":6},"consent":{"short":"Agreement to participate in study","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Consent"],"index":7}},"required":["individual","status","study"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"approvalDate","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/resource-approvalDate","version":"4.0.1","description":"The date on which the asset content was approved by the publisher. Approval happens once when the content is officially approved for usage.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/resource-approvalDate"},"type":"uri","index":1},"value":{"choices":["valueDate"],"index":3},"valueDate":{"type":"date","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"effectivePeriod","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/resource-effectivePeriod","version":"4.0.1","description":"The period during which the resource content was or is planned to be effective.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/resource-effectivePeriod"},"type":"uri","index":1},"value":{"choices":["valuePeriod"],"index":3},"valuePeriod":{"type":"Period","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"lastReviewDate","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/resource-lastReviewDate","version":"4.0.1","description":"The date on which the asset content was last reviewed. Review happens periodically after that, but doesn't change the original approval date.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/resource-lastReviewDate"},"type":"uri","index":1},"value":{"choices":["valueDate"],"index":3},"valueDate":{"type":"date","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"pertainsToGoal","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/resource-pertainsToGoal","version":"4.0.1","description":"Indicates that the resource is related to either the measurement, achievement or progress towards the referenced goal. For example, a Procedure to exercise pertainsToGoal of losing weight.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/resource-pertainsToGoal"},"type":"uri","index":1},"value":{"choices":["valueReference"],"index":3},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/Goal"],"index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"approvalDate","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/resource-approvalDate","version":"4.0.1","description":"The date on which the asset content was approved by the publisher. Approval happens once when the content is officially approved for usage.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/resource-approvalDate"},"index":1},"value":{"choices":["valueDate"],"index":3},"valueDate":{"type":"date","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"effectivePeriod","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/resource-effectivePeriod","version":"4.0.1","description":"The period during which the resource content was or is planned to be effective.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/resource-effectivePeriod"},"index":1},"value":{"choices":["valuePeriod"],"index":3},"valuePeriod":{"type":"Period","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"lastReviewDate","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/resource-lastReviewDate","version":"4.0.1","description":"The date on which the asset content was last reviewed. Review happens periodically after that, but doesn't change the original approval date.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/resource-lastReviewDate"},"index":1},"value":{"choices":["valueDate"],"index":3},"valueDate":{"type":"date","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"pertainsToGoal","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/resource-pertainsToGoal","version":"4.0.1","description":"Indicates that the resource is related to either the measurement, achievement or progress towards the referenced goal. For example, a Procedure to exercise pertainsToGoal of losing weight.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/resource-pertainsToGoal"},"index":1},"value":{"choices":["valueReference"],"index":3},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/Goal"],"index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"Resource","type":"Resource","kind":"resource","class":"resource","url":"http://hl7.org/fhir/StructureDefinition/Resource","version":"4.0.1","description":"This is the base resource type for everything.","abstract":true,"elements":{"id":{"short":"Logical id of this artifact","type":"string","isSummary":true,"index":0},"meta":{"short":"Metadata about the resource","type":"Meta","isSummary":true,"index":1},"implicitRules":{"short":"A set of rules under which this content was created","type":"uri","isModifier":true,"isModifierReason":"This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation","isSummary":true,"index":2},"language":{"short":"Language of the resource content","type":"code","binding":{"strength":"preferred","valueSet":"http://hl7.org/fhir/ValueSet/languages","bindingName":"Language"},"index":3}},"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"observation-resprate","type":"Observation","kind":"resource","class":"profile","url":"http://hl7.org/fhir/StructureDefinition/resprate","version":"4.0.1","description":"FHIR Respiratory Rate Profile","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/vitalsigns","elements":{"code":{"short":"Respiratory Rate","index":0,"elements":{"coding":{"index":1,"slicing":{"discriminator":[{"type":"value","path":"code"},{"type":"value","path":"system"}],"ordered":false,"rules":"open","slices":{"RespRateCode":{"match":{"code":"9279-1","system":"http://loinc.org"},"schema":{"_required":true,"index":2,"elements":{"system":{"type":"uri","pattern":{"type":"uri","value":"http://loinc.org"},"index":3},"code":{"type":"code","pattern":{"type":"code","value":"9279-1"},"index":4}},"required":["code","system"]},"min":1,"max":1}}}}}},"valueQuantity":{"index":5,"elements":{"value":{"type":"decimal","mustSupport":true,"index":6},"unit":{"type":"string","mustSupport":true,"index":7},"system":{"type":"uri","pattern":{"type":"uri","value":"http://unitsofmeasure.org"},"mustSupport":true,"index":8},"code":{"short":"Coded responses from the common UCUM units for vital signs value set.","type":"code","pattern":{"type":"code","value":"/min"},"mustSupport":true,"index":9}},"required":["code","system","unit","value"]}},"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"observation-resprate","type":"Observation","kind":"resource","class":"profile","url":"http://hl7.org/fhir/StructureDefinition/resprate","version":"4.0.1","description":"FHIR Respiratory Rate Profile","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/vitalsigns","elements":{"code":{"short":"Respiratory Rate","index":0,"elements":{"coding":{"index":1,"slicing":{"discriminator":[{"type":"value","path":"code"},{"type":"value","path":"system"}],"ordered":false,"rules":"open","slices":{"RespRateCode":{"match":{"code":"9279-1","system":"http://loinc.org"},"schema":{"_required":true,"index":2,"elements":{"system":{"type":"uri","fixed":{"type":"uri","value":"http://loinc.org"},"index":3},"code":{"type":"code","fixed":{"type":"code","value":"9279-1"},"index":4}},"required":["code","system"]},"min":1,"max":1}}}}}},"valueQuantity":{"index":5,"elements":{"value":{"type":"decimal","mustSupport":true,"index":6},"unit":{"type":"string","mustSupport":true,"index":7},"system":{"type":"uri","fixed":{"type":"uri","value":"http://unitsofmeasure.org"},"mustSupport":true,"index":8},"code":{"short":"Coded responses from the common UCUM units for vital signs value set.","type":"code","fixed":{"type":"code","value":"/min"},"mustSupport":true,"index":9}},"required":["code","system","unit","value"]}},"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"RiskAssessment","type":"RiskAssessment","kind":"resource","class":"resource","url":"http://hl7.org/fhir/StructureDefinition/RiskAssessment","version":"4.0.1","description":"An assessment of the likely outcome(s) for a patient or other subject as well as the likelihood of each outcome.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/DomainResource","elements":{"identifier":{"short":"Unique identifier for the assessment","type":"Identifier","isSummary":true,"array":true,"index":0},"basedOn":{"short":"Request fulfilled by this assessment","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Resource"],"index":1},"parent":{"short":"Part of this occurrence","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Resource"],"index":2},"status":{"short":"registered | preliminary | final | amended +","type":"code","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/observation-status|4.0.1","bindingName":"RiskAssessmentStatus"},"index":3},"method":{"short":"Evaluation mechanism","type":"CodeableConcept","isSummary":true,"index":4},"code":{"short":"Type of assessment","type":"CodeableConcept","isSummary":true,"index":5},"subject":{"short":"Who/what does assessment apply to?","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Group","http://hl7.org/fhir/StructureDefinition/Patient"],"index":6},"encounter":{"short":"Where was assessment performed?","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Encounter"],"index":7},"occurrence":{"short":"When was assessment made?","isSummary":true,"choices":["occurrenceDateTime","occurrencePeriod"],"index":9},"occurrenceDateTime":{"short":"When was assessment made?","type":"dateTime","isSummary":true,"choiceOf":"occurrence","index":10},"occurrencePeriod":{"short":"When was assessment made?","type":"Period","isSummary":true,"choiceOf":"occurrence","index":11},"condition":{"short":"Condition assessed","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Condition"],"index":12},"performer":{"short":"Who did assessment?","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Device","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole"],"index":13},"reasonCode":{"short":"Why the assessment was necessary?","type":"CodeableConcept","array":true,"index":14},"reasonReference":{"short":"Why the assessment was necessary?","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Condition","http://hl7.org/fhir/StructureDefinition/DiagnosticReport","http://hl7.org/fhir/StructureDefinition/DocumentReference","http://hl7.org/fhir/StructureDefinition/Observation"],"array":true,"index":15},"basis":{"short":"Information used in assessment","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Resource"],"array":true,"index":16},"prediction":{"short":"Outcome predicted","type":"BackboneElement","constraint":{"ras-2":{"expression":"probability is decimal implies (probability as decimal) <= 100","human":"Must be <= 100","severity":"error"}},"array":true,"index":17,"elements":{"outcome":{"short":"Possible outcome for the subject","type":"CodeableConcept","index":18},"probability":{"short":"Likelihood of specified outcome","constraint":{"ras-1":{"expression":"(low.empty() or ((low.code = '%') and (low.system = %ucum))) and (high.empty() or ((high.code = '%') and (high.system = %ucum)))","human":"low and high must be percentages, if present","severity":"error"}},"choices":["probabilityDecimal","probabilityRange"],"index":20},"probabilityDecimal":{"short":"Likelihood of specified outcome","type":"decimal","constraint":{"ras-1":{"expression":"(low.empty() or ((low.code = '%') and (low.system = %ucum))) and (high.empty() or ((high.code = '%') and (high.system = %ucum)))","human":"low and high must be percentages, if present","severity":"error"}},"choiceOf":"probability","index":21},"probabilityRange":{"short":"Likelihood of specified outcome","type":"Range","constraint":{"ras-1":{"expression":"(low.empty() or ((low.code = '%') and (low.system = %ucum))) and (high.empty() or ((high.code = '%') and (high.system = %ucum)))","human":"low and high must be percentages, if present","severity":"error"}},"choiceOf":"probability","index":22},"qualitativeRisk":{"short":"Likelihood of specified outcome as a qualitative value","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/risk-probability","bindingName":"RiskAssessmentProbability"},"index":23},"relativeRisk":{"short":"Relative likelihood","type":"decimal","index":24},"when":{"short":"Timeframe or age range","choices":["whenPeriod","whenRange"],"index":26},"whenPeriod":{"short":"Timeframe or age range","type":"Period","choiceOf":"when","index":27},"whenRange":{"short":"Timeframe or age range","type":"Range","choiceOf":"when","index":28},"rationale":{"short":"Explanation of prediction","type":"string","index":29}}},"mitigation":{"short":"How to reduce risk","type":"string","index":30},"note":{"short":"Comments on the risk assessment","type":"Annotation","array":true,"index":31}},"required":["status","subject"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"RiskEvidenceSynthesis","type":"RiskEvidenceSynthesis","kind":"resource","class":"resource","url":"http://hl7.org/fhir/StructureDefinition/RiskEvidenceSynthesis","version":"4.0.1","description":"The RiskEvidenceSynthesis resource describes the likelihood of an outcome in a population plus exposure state where the risk estimate is derived from a combination of research studies.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/DomainResource","elements":{"url":{"short":"Canonical identifier for this risk evidence synthesis, represented as a URI (globally unique)","type":"uri","isSummary":true,"index":0},"identifier":{"short":"Additional identifier for the risk evidence synthesis","type":"Identifier","isSummary":true,"array":true,"index":1},"version":{"short":"Business version of the risk evidence synthesis","type":"string","isSummary":true,"index":2},"name":{"short":"Name for this risk evidence synthesis (computer friendly)","type":"string","isSummary":true,"index":3},"title":{"short":"Name for this risk evidence synthesis (human friendly)","type":"string","isSummary":true,"index":4},"status":{"short":"draft | active | retired | unknown","type":"code","isModifier":true,"isModifierReason":"This is labeled as \\"Is Modifier\\" because applications should not use a retired {{title}} without due consideration","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/publication-status|4.0.1","bindingName":"PublicationStatus"},"index":5},"date":{"short":"Date last changed","type":"dateTime","isSummary":true,"index":6},"publisher":{"short":"Name of the publisher (organization or individual)","type":"string","isSummary":true,"index":7},"contact":{"short":"Contact details for the publisher","type":"ContactDetail","isSummary":true,"array":true,"index":8},"description":{"short":"Natural language description of the risk evidence synthesis","type":"markdown","isSummary":true,"index":9},"note":{"short":"Used for footnotes or explanatory notes","type":"Annotation","array":true,"index":10},"useContext":{"short":"The context that the content is intended to support","type":"UsageContext","isSummary":true,"array":true,"index":11},"jurisdiction":{"short":"Intended jurisdiction for risk evidence synthesis (if applicable)","type":"CodeableConcept","isSummary":true,"binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/ValueSet/jurisdiction","bindingName":"Jurisdiction"},"array":true,"index":12},"copyright":{"short":"Use and/or publishing restrictions","type":"markdown","index":13},"approvalDate":{"short":"When the risk evidence synthesis was approved by publisher","type":"date","index":14},"lastReviewDate":{"short":"When the risk evidence synthesis was last reviewed","type":"date","index":15},"effectivePeriod":{"short":"When the risk evidence synthesis is expected to be used","type":"Period","isSummary":true,"index":16},"topic":{"short":"The category of the EffectEvidenceSynthesis, such as Education, Treatment, Assessment, etc.","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/definition-topic","bindingName":"DefinitionTopic"},"array":true,"index":17},"author":{"short":"Who authored the content","type":"ContactDetail","array":true,"index":18},"editor":{"short":"Who edited the content","type":"ContactDetail","array":true,"index":19},"reviewer":{"short":"Who reviewed the content","type":"ContactDetail","array":true,"index":20},"endorser":{"short":"Who endorsed the content","type":"ContactDetail","array":true,"index":21},"relatedArtifact":{"short":"Additional documentation, citations, etc.","type":"RelatedArtifact","array":true,"index":22},"synthesisType":{"short":"Type of synthesis","type":"CodeableConcept","binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/ValueSet/synthesis-type","bindingName":"SynthesisType"},"index":23},"studyType":{"short":"Type of study","type":"CodeableConcept","binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/ValueSet/study-type","bindingName":"StudyType"},"index":24},"population":{"short":"What population?","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/EvidenceVariable"],"index":25},"exposure":{"short":"What exposure?","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/EvidenceVariable"],"index":26},"outcome":{"short":"What outcome?","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/EvidenceVariable"],"index":27},"sampleSize":{"short":"What sample size was involved?","type":"BackboneElement","index":28,"elements":{"description":{"short":"Description of sample size","type":"string","index":29},"numberOfStudies":{"short":"How many studies?","type":"integer","index":30},"numberOfParticipants":{"short":"How many participants?","type":"integer","index":31}}},"riskEstimate":{"short":"What was the estimated risk","type":"BackboneElement","isSummary":true,"index":32,"elements":{"description":{"short":"Description of risk estimate","type":"string","index":33},"type":{"short":"Type of risk estimate","type":"CodeableConcept","binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/ValueSet/risk-estimate-type","bindingName":"RiskEstimateType"},"index":34},"value":{"short":"Point estimate","type":"decimal","index":35},"unitOfMeasure":{"short":"What unit is the outcome described in?","type":"CodeableConcept","binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/ucum-units|4.0.1","bindingName":"UCUMUnits"},"index":36},"denominatorCount":{"short":"Sample size for group measured","type":"integer","index":37},"numeratorCount":{"short":"Number with the outcome","type":"integer","index":38},"precisionEstimate":{"short":"How precise the estimate is","type":"BackboneElement","array":true,"index":39,"elements":{"type":{"short":"Type of precision estimate","type":"CodeableConcept","binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/ValueSet/precision-estimate-type","bindingName":"PrecisionEstimateType"},"index":40},"level":{"short":"Level of confidence interval","type":"decimal","index":41},"from":{"short":"Lower bound","type":"decimal","index":42},"to":{"short":"Upper bound","type":"decimal","index":43}}}}},"certainty":{"short":"How certain is the risk","type":"BackboneElement","array":true,"index":44,"elements":{"rating":{"short":"Certainty rating","type":"CodeableConcept","binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/ValueSet/evidence-quality","bindingName":"QualityOfEvidenceRating"},"array":true,"index":45},"note":{"short":"Used for footnotes or explanatory notes","type":"Annotation","array":true,"index":46},"certaintySubcomponent":{"short":"A component that contributes to the overall certainty","type":"BackboneElement","array":true,"index":47,"elements":{"type":{"short":"Type of subcomponent of certainty rating","type":"CodeableConcept","binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/ValueSet/certainty-subcomponent-type","bindingName":"CertaintySubcomponentType"},"index":48},"rating":{"short":"Subcomponent certainty rating","type":"CodeableConcept","binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/ValueSet/certainty-subcomponent-rating","bindingName":"CertaintySubcomponentRating"},"array":true,"index":49},"note":{"short":"Used for footnotes or explanatory notes","type":"Annotation","array":true,"index":50}}}}}},"required":["outcome","population","status"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"SampledData","type":"SampledData","kind":"complex-type","class":"complex-type","url":"http://hl7.org/fhir/StructureDefinition/SampledData","version":"4.0.1","description":"Base StructureDefinition for SampledData Type: A series of measurements taken by a device, with upper and lower limits. There may be more than one dimension in the data.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/Element","elements":{"origin":{"short":"Zero value and units","type":"Quantity","isSummary":true,"index":0},"period":{"short":"Number of milliseconds between samples","type":"decimal","isSummary":true,"index":1},"factor":{"short":"Multiply data by this before adding to origin","type":"decimal","meaningWhenMissing":"If no factor is assigned, the data is not adjusted before adding to the origin","isSummary":true,"index":2},"lowerLimit":{"short":"Lower limit of detection","type":"decimal","isSummary":true,"index":3},"upperLimit":{"short":"Upper limit of detection","type":"decimal","isSummary":true,"index":4},"dimensions":{"short":"Number of sample points at each time point","type":"positiveInt","isSummary":true,"index":5},"data":{"short":"Decimal values with spaces, or \\"E\\" | \\"U\\" | \\"L\\"","type":"string","index":6}},"required":["dimensions","origin","period"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"Schedule","type":"Schedule","kind":"resource","class":"resource","url":"http://hl7.org/fhir/StructureDefinition/Schedule","version":"4.0.1","description":"A container for slots of time that may be available for booking appointments.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/DomainResource","elements":{"identifier":{"short":"External Ids for this item","type":"Identifier","isSummary":true,"array":true,"index":0},"active":{"short":"Whether this schedule is in active use","type":"boolean","meaningWhenMissing":"This resource is generally assumed to be active if no value is provided for the active element","isModifier":true,"isModifierReason":"This element is labelled as a modifier because it is a status element that can indicate that a record should not be treated as valid","isSummary":true,"index":1},"serviceCategory":{"short":"High-level category","type":"CodeableConcept","isSummary":true,"binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/service-category","bindingName":"service-category"},"array":true,"index":2},"serviceType":{"short":"Specific service","type":"CodeableConcept","isSummary":true,"binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/service-type","bindingName":"service-type"},"array":true,"index":3},"specialty":{"short":"Type of specialty needed","type":"CodeableConcept","isSummary":true,"binding":{"strength":"preferred","valueSet":"http://hl7.org/fhir/ValueSet/c80-practice-codes","bindingName":"specialty"},"array":true,"index":4},"actor":{"short":"Resource(s) that availability information is being provided for","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Device","http://hl7.org/fhir/StructureDefinition/HealthcareService","http://hl7.org/fhir/StructureDefinition/Location","http://hl7.org/fhir/StructureDefinition/Patient","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole","http://hl7.org/fhir/StructureDefinition/RelatedPerson"],"array":true,"min":1,"index":5},"planningHorizon":{"short":"Period of time covered by schedule","type":"Period","isSummary":true,"index":6},"comment":{"short":"Comments on availability","type":"string","index":7}},"required":["actor"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"SearchParameter","type":"SearchParameter","kind":"resource","class":"resource","url":"http://hl7.org/fhir/StructureDefinition/SearchParameter","version":"4.0.1","description":"A search parameter that defines a named search item that can be used to search/filter on a resource.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/DomainResource","elements":{"url":{"short":"Canonical identifier for this search parameter, represented as a URI (globally unique)","type":"uri","isSummary":true,"index":0},"version":{"short":"Business version of the search parameter","type":"string","isSummary":true,"index":1},"name":{"short":"Name for this search parameter (computer friendly)","type":"string","isSummary":true,"index":2},"derivedFrom":{"short":"Original definition for the search parameter","type":"canonical","index":3},"status":{"short":"draft | active | retired | unknown","type":"code","isModifier":true,"isModifierReason":"This is labeled as \\"Is Modifier\\" because applications should not use a retired {{title}} without due consideration","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/publication-status|4.0.1","bindingName":"PublicationStatus"},"index":4},"experimental":{"short":"For testing purposes, not real usage","type":"boolean","isSummary":true,"index":5},"date":{"short":"Date last changed","type":"dateTime","isSummary":true,"index":6},"publisher":{"short":"Name of the publisher (organization or individual)","type":"string","isSummary":true,"index":7},"contact":{"short":"Contact details for the publisher","type":"ContactDetail","isSummary":true,"array":true,"index":8},"description":{"short":"Natural language description of the search parameter","type":"markdown","isSummary":true,"index":9},"useContext":{"short":"The context that the content is intended to support","type":"UsageContext","isSummary":true,"array":true,"index":10},"jurisdiction":{"short":"Intended jurisdiction for search parameter (if applicable)","type":"CodeableConcept","isSummary":true,"binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/ValueSet/jurisdiction","bindingName":"Jurisdiction"},"array":true,"index":11},"purpose":{"short":"Why this search parameter is defined","type":"markdown","index":12},"code":{"short":"Code used in URL","type":"code","isSummary":true,"index":13},"base":{"short":"The resource type(s) this search parameter applies to","type":"code","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/resource-types|4.0.1","bindingName":"ResourceType"},"array":true,"min":1,"index":14},"type":{"short":"number | date | string | token | reference | composite | quantity | uri | special","type":"code","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/search-param-type|4.0.1","bindingName":"SearchParamType"},"index":15},"expression":{"short":"FHIRPath expression that extracts the values","type":"string","index":16},"xpath":{"short":"XPath that extracts the values","type":"string","index":17},"xpathUsage":{"short":"normal | phonetic | nearby | distance | other","type":"code","binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/search-xpath-usage|4.0.1","bindingName":"XPathUsageType"},"index":18},"target":{"short":"Types of resource (if a resource reference)","type":"code","binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/resource-types|4.0.1","bindingName":"ResourceType"},"array":true,"index":19},"multipleOr":{"short":"Allow multiple values per parameter (or)","type":"boolean","index":20},"multipleAnd":{"short":"Allow multiple parameters (and)","type":"boolean","index":21},"comparator":{"short":"eq | ne | gt | lt | ge | le | sa | eb | ap","type":"code","binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/search-comparator|4.0.1","bindingName":"SearchComparator"},"array":true,"index":22},"modifier":{"short":"missing | exact | contains | not | text | in | not-in | below | above | type | identifier | ofType","type":"code","binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/search-modifier-code|4.0.1","bindingName":"SearchModifierCode"},"array":true,"index":23},"chain":{"short":"Chained names supported","type":"string","array":true,"index":24},"component":{"short":"For Composite resources to define the parts","type":"BackboneElement","array":true,"index":25,"elements":{"definition":{"short":"Defines how the part works","type":"canonical","index":26},"expression":{"short":"Subexpression relative to main expression","type":"string","index":27}},"required":["definition","expression"]}},"required":["base","code","description","name","status","type","url"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"ServiceRequest-Genetics","type":"ServiceRequest","kind":"resource","class":"profile","url":"http://hl7.org/fhir/StructureDefinition/servicerequest-genetics","version":"4.0.1","description":"Describes how the ServiceRequest resource is used to for genetics","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/ServiceRequest","extensions":{"Item":{"short":"The items the orderer requested","max":"*","url":"http://hl7.org/fhir/StructureDefinition/servicerequest-geneticsItem","index":0}},"elements":{"extension":{"short":"The items the orderer requested","min":0,"max":"*","type":"Extension","url":"http://hl7.org/fhir/StructureDefinition/servicerequest-geneticsItem","index":0,"slicing":{"slices":{"Item":{"match":{},"schema":{"short":"The items the orderer requested","min":0,"max":"*","type":"Extension","url":"http://hl7.org/fhir/StructureDefinition/servicerequest-geneticsItem","index":0}}}}}},"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"Item","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/servicerequest-geneticsItem","version":"4.0.1","description":"The specific diagnostic investigations that are requested as part of this request. Sometimes, there can only be one item per request, but in most contexts, more than one investigation can be requested.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{"code":{"min":1,"max":1,"short":"Code to indicate the item (test, panel or sequence variant) being ordered","_required":true,"index":0,"extensions":{},"required":["value"]},"geneticsObservation":{"max":1,"short":"Indicate the genetic variant ordered to be tested","index":6,"extensions":{},"required":["value"]},"specimen":{"max":1,"short":"If this item relates to specific specimens","index":12,"extensions":{},"required":["value"]},"status":{"max":1,"short":"proposed | draft | planned | requested | received | accepted | in-progress | review | completed | cancelled | suspended | rejected | failed","index":18,"extensions":{},"required":["value"]}},"elements":{"extension":{"short":"Code to indicate the item (test, panel or sequence variant) being ordered","type":"Extension","index":0,"slicing":{"slices":{"code":{"match":{},"schema":{"short":"Code to indicate the item (test, panel or sequence variant) being ordered","type":"Extension","_required":true,"index":0,"extensions":"[Circular Reference]","elements":{"extension":{"index":1},"url":{"type":"uri","pattern":{"type":"uri","value":"code"},"index":2},"value":{"choices":["valueCodeableConcept"],"index":4},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":5}},"required":["value"]},"min":1,"max":1},"geneticsObservation":{"match":{},"schema":{"short":"Indicate the genetic variant ordered to be tested","type":"Extension","index":6,"extensions":"[Circular Reference]","elements":{"extension":{"index":7},"url":{"type":"uri","pattern":{"type":"uri","value":"geneticsObservation"},"index":8},"value":{"choices":["valueReference"],"index":10},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/Observation"],"index":11}},"required":["value"]},"max":1},"specimen":{"match":{},"schema":{"short":"If this item relates to specific specimens","type":"Extension","index":12,"extensions":"[Circular Reference]","elements":{"extension":{"index":13},"url":{"type":"uri","pattern":{"type":"uri","value":"specimen"},"index":14},"value":{"choices":["valueReference"],"index":16},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/Specimen"],"index":17}},"required":["value"]},"max":1},"status":{"match":{},"schema":{"short":"proposed | draft | planned | requested | received | accepted | in-progress | review | completed | cancelled | suspended | rejected | failed","type":"Extension","index":18,"extensions":"[Circular Reference]","elements":{"extension":{"index":19},"url":{"type":"uri","pattern":{"type":"uri","value":"status"},"index":20},"value":{"choices":["valueCode"],"index":22},"valueCode":{"type":"code","choiceOf":"value","index":23}},"required":["value"]},"max":1}}}},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/servicerequest-geneticsItem"},"type":"uri","index":24}},"required":["extension"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"precondition","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/servicerequest-precondition","version":"4.0.1","description":"The condition or state of the patient, prior or during the diagnostic procedure or test, for example, fasting, at-rest, or post-operative. This captures circumstances that may influence the measured value and have bearing on the interpretation of the result.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/servicerequest-precondition"},"type":"uri","index":1},"value":{"choices":["valueCodeableConcept"],"index":3},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"questionnaireRequest","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/servicerequest-questionnaireRequest","version":"4.0.1","description":"Reference to a specific Questionnaire Resource as an ordered item. Allows for ordering a specific questionnaire to be completed.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/servicerequest-questionnaireRequest"},"type":"uri","index":1},"value":{"choices":["valueReference"],"index":3},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/Questionnaire"],"index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"Item","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/servicerequest-geneticsItem","version":"4.0.1","description":"The specific diagnostic investigations that are requested as part of this request. Sometimes, there can only be one item per request, but in most contexts, more than one investigation can be requested.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{"code":{"min":1,"max":1,"short":"Code to indicate the item (test, panel or sequence variant) being ordered","_required":true,"index":0,"extensions":{},"required":["value"]},"geneticsObservation":{"max":1,"short":"Indicate the genetic variant ordered to be tested","index":6,"extensions":{},"required":["value"]},"specimen":{"max":1,"short":"If this item relates to specific specimens","index":12,"extensions":{},"required":["value"]},"status":{"max":1,"short":"proposed | draft | planned | requested | received | accepted | in-progress | review | completed | cancelled | suspended | rejected | failed","index":18,"extensions":{},"required":["value"]}},"elements":{"extension":{"short":"Code to indicate the item (test, panel or sequence variant) being ordered","type":"Extension","index":0,"slicing":{"slices":{"code":{"match":{},"schema":{"short":"Code to indicate the item (test, panel or sequence variant) being ordered","type":"Extension","_required":true,"index":0,"extensions":"[Circular Reference]","elements":{"extension":{"index":1},"url":{"type":"uri","fixed":{"type":"uri","value":"code"},"index":2},"value":{"choices":["valueCodeableConcept"],"index":4},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":5}},"required":["value"]},"min":1,"max":1},"geneticsObservation":{"match":{},"schema":{"short":"Indicate the genetic variant ordered to be tested","type":"Extension","index":6,"extensions":"[Circular Reference]","elements":{"extension":{"index":7},"url":{"type":"uri","fixed":{"type":"uri","value":"geneticsObservation"},"index":8},"value":{"choices":["valueReference"],"index":10},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/Observation"],"index":11}},"required":["value"]},"max":1},"specimen":{"match":{},"schema":{"short":"If this item relates to specific specimens","type":"Extension","index":12,"extensions":"[Circular Reference]","elements":{"extension":{"index":13},"url":{"type":"uri","fixed":{"type":"uri","value":"specimen"},"index":14},"value":{"choices":["valueReference"],"index":16},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/Specimen"],"index":17}},"required":["value"]},"max":1},"status":{"match":{},"schema":{"short":"proposed | draft | planned | requested | received | accepted | in-progress | review | completed | cancelled | suspended | rejected | failed","type":"Extension","index":18,"extensions":"[Circular Reference]","elements":{"extension":{"index":19},"url":{"type":"uri","fixed":{"type":"uri","value":"status"},"index":20},"value":{"choices":["valueCode"],"index":22},"valueCode":{"type":"code","choiceOf":"value","index":23}},"required":["value"]},"max":1}}}},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/servicerequest-geneticsItem"},"index":24}},"required":["extension"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"precondition","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/servicerequest-precondition","version":"4.0.1","description":"The condition or state of the patient, prior or during the diagnostic procedure or test, for example, fasting, at-rest, or post-operative. This captures circumstances that may influence the measured value and have bearing on the interpretation of the result.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/servicerequest-precondition"},"index":1},"value":{"choices":["valueCodeableConcept"],"index":3},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"questionnaireRequest","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/servicerequest-questionnaireRequest","version":"4.0.1","description":"Reference to a specific Questionnaire Resource as an ordered item. Allows for ordering a specific questionnaire to be completed.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/servicerequest-questionnaireRequest"},"index":1},"value":{"choices":["valueReference"],"index":3},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/Questionnaire"],"index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"ServiceRequest","type":"ServiceRequest","kind":"resource","class":"resource","url":"http://hl7.org/fhir/StructureDefinition/ServiceRequest","version":"4.0.1","description":"A record of a request for service such as diagnostic investigations, treatments, or operations to be performed.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/DomainResource","elements":{"identifier":{"short":"Identifiers assigned to this order","type":"Identifier","isSummary":true,"array":true,"index":0},"instantiatesCanonical":{"short":"Instantiates FHIR protocol or definition","type":"canonical","isSummary":true,"array":true,"index":1},"instantiatesUri":{"short":"Instantiates external protocol or definition","type":"uri","isSummary":true,"array":true,"index":2},"basedOn":{"short":"What request fulfills","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/CarePlan","http://hl7.org/fhir/StructureDefinition/MedicationRequest","http://hl7.org/fhir/StructureDefinition/ServiceRequest"],"array":true,"index":3},"replaces":{"short":"What request replaces","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/ServiceRequest"],"array":true,"index":4},"requisition":{"short":"Composite Request ID","type":"Identifier","isSummary":true,"index":5},"status":{"short":"draft | active | on-hold | revoked | completed | entered-in-error | unknown","type":"code","isModifier":true,"isModifierReason":"This element is labeled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/request-status|4.0.1","bindingName":"ServiceRequestStatus"},"index":6},"intent":{"short":"proposal | plan | directive | order | original-order | reflex-order | filler-order | instance-order | option","type":"code","isModifier":true,"isModifierReason":"This element changes the interpretation of all descriptive attributes. For example \\"the time the request is recommended to occur\\" vs. \\"the time the request is authorized to occur\\" or \\"who is recommended to perform the request\\" vs. \\"who is authorized to perform the request","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/request-intent|4.0.1","bindingName":"ServiceRequestIntent"},"index":7},"category":{"short":"Classification of service","type":"CodeableConcept","isSummary":true,"binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/servicerequest-category","bindingName":"ServiceRequestCategory"},"array":true,"index":8},"priority":{"short":"routine | urgent | asap | stat","type":"code","meaningWhenMissing":"If missing, this task should be performed with normal priority","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/request-priority|4.0.1","bindingName":"ServiceRequestPriority"},"index":9},"doNotPerform":{"short":"True if service/procedure should not be performed","type":"boolean","meaningWhenMissing":"If missing, the request is a positive request e.g. \\"do perform\\"","isModifier":true,"isModifierReason":"If true this element negates the specified action. For Example, instead of a request for a procedure, it is a request for the procedure to not occur.","isSummary":true,"index":10},"code":{"short":"What is being requested/ordered","type":"CodeableConcept","isSummary":true,"binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/procedure-code","bindingName":"ServiceRequestCode"},"index":11},"orderDetail":{"short":"Additional order information","type":"CodeableConcept","isSummary":true,"binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/servicerequest-orderdetail","bindingName":"OrderDetail"},"array":true,"index":12},"quantity":{"short":"Service amount","isSummary":true,"choices":["quantityQuantity","quantityRatio","quantityRange"],"index":14},"quantityQuantity":{"short":"Service amount","type":"Quantity","isSummary":true,"choiceOf":"quantity","index":15},"quantityRatio":{"short":"Service amount","type":"Ratio","isSummary":true,"choiceOf":"quantity","index":16},"quantityRange":{"short":"Service amount","type":"Range","isSummary":true,"choiceOf":"quantity","index":17},"subject":{"short":"Individual or Entity the service is ordered for","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Device","http://hl7.org/fhir/StructureDefinition/Group","http://hl7.org/fhir/StructureDefinition/Location","http://hl7.org/fhir/StructureDefinition/Patient"],"index":18},"encounter":{"short":"Encounter in which the request was created","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Encounter"],"index":19},"occurrence":{"short":"When service should occur","isSummary":true,"choices":["occurrenceDateTime","occurrencePeriod","occurrenceTiming"],"index":21},"occurrenceDateTime":{"short":"When service should occur","type":"dateTime","isSummary":true,"choiceOf":"occurrence","index":22},"occurrencePeriod":{"short":"When service should occur","type":"Period","isSummary":true,"choiceOf":"occurrence","index":23},"occurrenceTiming":{"short":"When service should occur","type":"Timing","isSummary":true,"choiceOf":"occurrence","index":24},"asNeeded":{"short":"Preconditions for service","isSummary":true,"choices":["asNeededBoolean","asNeededCodeableConcept"],"index":26},"asNeededBoolean":{"short":"Preconditions for service","type":"boolean","isSummary":true,"choiceOf":"asNeeded","index":27},"asNeededCodeableConcept":{"short":"Preconditions for service","type":"CodeableConcept","isSummary":true,"choiceOf":"asNeeded","index":28},"authoredOn":{"short":"Date request signed","type":"dateTime","isSummary":true,"index":29},"requester":{"short":"Who/what is requesting service","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Device","http://hl7.org/fhir/StructureDefinition/Organization","http://hl7.org/fhir/StructureDefinition/Patient","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole","http://hl7.org/fhir/StructureDefinition/RelatedPerson"],"index":30},"performerType":{"short":"Performer role","type":"CodeableConcept","isSummary":true,"binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/participant-role","bindingName":"ServiceRequestParticipantRole"},"index":31},"performer":{"short":"Requested performer","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/CareTeam","http://hl7.org/fhir/StructureDefinition/Device","http://hl7.org/fhir/StructureDefinition/HealthcareService","http://hl7.org/fhir/StructureDefinition/Organization","http://hl7.org/fhir/StructureDefinition/Patient","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole","http://hl7.org/fhir/StructureDefinition/RelatedPerson"],"array":true,"index":32},"locationCode":{"short":"Requested location","type":"CodeableConcept","isSummary":true,"binding":{"strength":"example","valueSet":"http://terminology.hl7.org/ValueSet/v3-ServiceDeliveryLocationRoleType","bindingName":"ServiceRequestLocation"},"array":true,"index":33},"locationReference":{"short":"Requested location","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Location"],"array":true,"index":34},"reasonCode":{"short":"Explanation/Justification for procedure or service","type":"CodeableConcept","isSummary":true,"binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/procedure-reason","bindingName":"ServiceRequestReason"},"array":true,"index":35},"reasonReference":{"short":"Explanation/Justification for service or service","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Condition","http://hl7.org/fhir/StructureDefinition/DiagnosticReport","http://hl7.org/fhir/StructureDefinition/DocumentReference","http://hl7.org/fhir/StructureDefinition/Observation"],"array":true,"index":36},"insurance":{"short":"Associated insurance coverage","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/ClaimResponse","http://hl7.org/fhir/StructureDefinition/Coverage"],"array":true,"index":37},"supportingInfo":{"short":"Additional clinical information","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Resource"],"array":true,"index":38},"specimen":{"short":"Procedure Samples","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Specimen"],"array":true,"index":39},"bodySite":{"short":"Location on Body","type":"CodeableConcept","isSummary":true,"binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/body-site","bindingName":"BodySite"},"array":true,"index":40},"note":{"short":"Comments","type":"Annotation","array":true,"index":41},"patientInstruction":{"short":"Patient or consumer-oriented instructions","type":"string","isSummary":true,"index":42},"relevantHistory":{"short":"Request provenance","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Provenance"],"array":true,"index":43}},"required":["intent","status","subject"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"Shareable ActivityDefinition","type":"ActivityDefinition","kind":"resource","class":"profile","url":"http://hl7.org/fhir/StructureDefinition/shareableactivitydefinition","version":"4.0.1","description":"Enforces the minimum information set for the activity definition metadata required by HL7 and other organizations that share and publish activity definitions","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/ActivityDefinition","elements":{"url":{"type":"uri","index":0},"identifier":{"mustSupport":true,"index":1},"version":{"type":"string","index":2},"name":{"type":"string","index":3},"title":{"mustSupport":true,"index":4},"experimental":{"type":"boolean","index":5},"date":{"mustSupport":true,"index":6},"publisher":{"type":"string","index":7},"contact":{"mustSupport":true,"index":8},"description":{"type":"markdown","index":9},"useContext":{"mustSupport":true,"index":10},"jurisdiction":{"mustSupport":true,"index":11}},"required":["description","experimental","name","publisher","url","version"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"Shareable CodeSystem","type":"CodeSystem","kind":"resource","class":"profile","url":"http://hl7.org/fhir/StructureDefinition/shareablecodesystem","version":"4.0.1","description":"Enforces the minimum information set for the value set metadata required by HL7 and other organizations that share and publish value sets","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/CodeSystem","elements":{"url":{"type":"uri","index":0},"version":{"type":"string","index":1},"name":{"type":"string","index":2},"status":{"type":"code","index":3},"experimental":{"type":"boolean","index":4},"publisher":{"type":"string","index":5},"description":{"type":"markdown","index":6},"caseSensitive":{"type":"boolean","index":7},"concept":{"array":true,"min":1,"index":8,"elements":{"code":{"type":"code","index":9},"display":{"type":"string","index":10},"definition":{"type":"string","index":11},"concept":{"elementReference":["http://hl7.org/fhir/StructureDefinition/shareablecodesystem","elements","concept"],"array":true,"index":12}},"required":["code"]}},"required":["concept","description","experimental","name","publisher","status","url","version"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} @@ -1294,33 +1294,33 @@ exports[`IntrospectionWriter - Fhir Schema Output Check all introspection data i {"name":"Signature","type":"Signature","kind":"complex-type","class":"complex-type","url":"http://hl7.org/fhir/StructureDefinition/Signature","version":"4.0.1","description":"Base StructureDefinition for Signature Type: A signature along with supporting context. The signature may be a digital signature that is cryptographic in nature, or some other signature acceptable to the domain. This other signature may be as simple as a graphical image representing a hand-written signature, or a signature ceremony Different signature approaches have different utilities.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/Element","elements":{"type":{"short":"Indication of the reason the entity signed the object(s)","type":"Coding","isSummary":true,"binding":{"strength":"preferred","valueSet":"http://hl7.org/fhir/ValueSet/signature-type","bindingName":"SignatureType"},"array":true,"min":1,"index":0},"when":{"short":"When the signature was created","type":"instant","isSummary":true,"index":1},"who":{"short":"Who signed","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Device","http://hl7.org/fhir/StructureDefinition/Organization","http://hl7.org/fhir/StructureDefinition/Patient","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole","http://hl7.org/fhir/StructureDefinition/RelatedPerson"],"index":2},"onBehalfOf":{"short":"The party represented","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Device","http://hl7.org/fhir/StructureDefinition/Organization","http://hl7.org/fhir/StructureDefinition/Patient","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole","http://hl7.org/fhir/StructureDefinition/RelatedPerson"],"index":3},"targetFormat":{"short":"The technical format of the signed resources","type":"code","binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/mimetypes|4.0.1","bindingName":"MimeType"},"index":4},"sigFormat":{"short":"The technical format of the signature","type":"code","binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/mimetypes|4.0.1","bindingName":"MimeType"},"index":5},"data":{"short":"The actual signature content (XML DigSig. JWS, picture, etc.)","type":"base64Binary","index":6}},"required":["type","when","who"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"SimpleQuantity","type":"Quantity","kind":"complex-type","class":"complex-type","url":"http://hl7.org/fhir/StructureDefinition/SimpleQuantity","version":"4.0.1","description":"A fixed quantity (no comparator)","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Quantity","elements":{"comparator":{"index":0}},"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"Slot","type":"Slot","kind":"resource","class":"resource","url":"http://hl7.org/fhir/StructureDefinition/Slot","version":"4.0.1","description":"A slot of time on a schedule that may be available for booking appointments.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/DomainResource","elements":{"identifier":{"short":"External Ids for this item","type":"Identifier","isSummary":true,"array":true,"index":0},"serviceCategory":{"short":"A broad categorization of the service that is to be performed during this appointment","type":"CodeableConcept","isSummary":true,"binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/service-category","bindingName":"service-category"},"array":true,"index":1},"serviceType":{"short":"The type of appointments that can be booked into this slot (ideally this would be an identifiable service - which is at a location, rather than the location itself). If provided then this overrides the value provided on the availability resource","type":"CodeableConcept","isSummary":true,"binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/service-type","bindingName":"service-type"},"array":true,"index":2},"specialty":{"short":"The specialty of a practitioner that would be required to perform the service requested in this appointment","type":"CodeableConcept","isSummary":true,"binding":{"strength":"preferred","valueSet":"http://hl7.org/fhir/ValueSet/c80-practice-codes","bindingName":"specialty"},"array":true,"index":3},"appointmentType":{"short":"The style of appointment or patient that may be booked in the slot (not service type)","type":"CodeableConcept","isSummary":true,"binding":{"strength":"preferred","valueSet":"http://terminology.hl7.org/ValueSet/v2-0276","bindingName":"appointment-type"},"index":4},"schedule":{"short":"The schedule resource that this slot defines an interval of status information","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Schedule"],"index":5},"status":{"short":"busy | free | busy-unavailable | busy-tentative | entered-in-error","type":"code","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/slotstatus|4.0.1","bindingName":"SlotStatus"},"index":6},"start":{"short":"Date/Time that the slot is to begin","type":"instant","isSummary":true,"index":7},"end":{"short":"Date/Time that the slot is to conclude","type":"instant","isSummary":true,"index":8},"overbooked":{"short":"This slot has already been overbooked, appointments are unlikely to be accepted for this time","type":"boolean","meaningWhenMissing":"If overbooked is missing, systems may assume that there are still appointments available","index":9},"comment":{"short":"Comments on the slot to describe any extended information. Such as custom constraints on the slot","type":"string","index":10}},"required":["end","schedule","start","status"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"collectionPriority","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/specimen-collectionPriority","version":"4.0.1","description":"The urgency of sample collection, such as STAT, ASAP, ASAP-ED, ROUTINE, ROUTINE-AM, etc….","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/specimen-collectionPriority"},"type":"uri","index":1},"value":{"choices":["valueCodeableConcept"],"index":3},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"isDryWeight","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/specimen-isDryWeight","version":"4.0.1","description":"If the recorded quantity of the specimen is reported as a weight, if it is a dry weight.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/specimen-isDryWeight"},"type":"uri","index":1},"value":{"choices":["valueBoolean"],"index":3},"valueBoolean":{"type":"boolean","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"processingTime","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/specimen-processingTime","version":"4.0.1","description":"Period or duration of processing.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/specimen-processingTime"},"type":"uri","index":1},"value":{"choices":["valuePeriod","valueDuration"],"index":3},"valuePeriod":{"type":"Period","choiceOf":"value","index":4},"valueDuration":{"type":"Duration","choiceOf":"value","index":5}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"sequenceNumber","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/specimen-sequenceNumber","version":"4.0.1","description":"An assigned number on the specimen denoting the order of collection.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/specimen-sequenceNumber"},"type":"uri","index":1},"value":{"choices":["valueInteger"],"index":3},"valueInteger":{"type":"integer","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"specialHandling","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/specimen-specialHandling","version":"4.0.1","description":"Special handling during the collection, transport, or storage of the specimen.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/specimen-specialHandling"},"type":"uri","index":1},"value":{"choices":["valueCodeableConcept"],"index":3},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"collectionPriority","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/specimen-collectionPriority","version":"4.0.1","description":"The urgency of sample collection, such as STAT, ASAP, ASAP-ED, ROUTINE, ROUTINE-AM, etc….","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/specimen-collectionPriority"},"index":1},"value":{"choices":["valueCodeableConcept"],"index":3},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"isDryWeight","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/specimen-isDryWeight","version":"4.0.1","description":"If the recorded quantity of the specimen is reported as a weight, if it is a dry weight.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/specimen-isDryWeight"},"index":1},"value":{"choices":["valueBoolean"],"index":3},"valueBoolean":{"type":"boolean","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"processingTime","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/specimen-processingTime","version":"4.0.1","description":"Period or duration of processing.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/specimen-processingTime"},"index":1},"value":{"choices":["valuePeriod","valueDuration"],"index":3},"valuePeriod":{"type":"Period","choiceOf":"value","index":4},"valueDuration":{"type":"Duration","choiceOf":"value","index":5}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"sequenceNumber","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/specimen-sequenceNumber","version":"4.0.1","description":"An assigned number on the specimen denoting the order of collection.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/specimen-sequenceNumber"},"index":1},"value":{"choices":["valueInteger"],"index":3},"valueInteger":{"type":"integer","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"specialHandling","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/specimen-specialHandling","version":"4.0.1","description":"Special handling during the collection, transport, or storage of the specimen.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/specimen-specialHandling"},"index":1},"value":{"choices":["valueCodeableConcept"],"index":3},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"Specimen","type":"Specimen","kind":"resource","class":"resource","url":"http://hl7.org/fhir/StructureDefinition/Specimen","version":"4.0.1","description":"A sample to be used for analysis.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/DomainResource","elements":{"identifier":{"short":"External Identifier","type":"Identifier","isSummary":true,"array":true,"index":0},"accessionIdentifier":{"short":"Identifier assigned by the lab","type":"Identifier","isSummary":true,"index":1},"status":{"short":"available | unavailable | unsatisfactory | entered-in-error","type":"code","isModifier":true,"isModifierReason":"This element is labelled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/specimen-status|4.0.1","bindingName":"SpecimenStatus"},"index":2},"type":{"short":"Kind of material that forms the specimen","type":"CodeableConcept","isSummary":true,"binding":{"strength":"example","valueSet":"http://terminology.hl7.org/ValueSet/v2-0487","bindingName":"SpecimenType"},"index":3},"subject":{"short":"Where the specimen came from. This may be from patient(s), from a location (e.g., the source of an environmental sample), or a sampling of a substance or a device","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Device","http://hl7.org/fhir/StructureDefinition/Group","http://hl7.org/fhir/StructureDefinition/Location","http://hl7.org/fhir/StructureDefinition/Patient","http://hl7.org/fhir/StructureDefinition/Substance"],"index":4},"receivedTime":{"short":"The time when specimen was received for processing","type":"dateTime","isSummary":true,"index":5},"parent":{"short":"Specimen from which this specimen originated","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Specimen"],"array":true,"index":6},"request":{"short":"Why the specimen was collected","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/ServiceRequest"],"array":true,"index":7},"collection":{"short":"Collection details","type":"BackboneElement","index":8,"elements":{"collector":{"short":"Who collected the specimen","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole"],"index":9},"collected":{"short":"Collection time","isSummary":true,"choices":["collectedDateTime","collectedPeriod"],"index":11},"collectedDateTime":{"short":"Collection time","type":"dateTime","isSummary":true,"choiceOf":"collected","index":12},"collectedPeriod":{"short":"Collection time","type":"Period","isSummary":true,"choiceOf":"collected","index":13},"duration":{"short":"How long it took to collect specimen","type":"Duration","isSummary":true,"index":14},"quantity":{"short":"The quantity of specimen collected","type":"Quantity","index":15},"method":{"short":"Technique used to perform collection","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/specimen-collection-method","bindingName":"SpecimenCollectionMethod"},"index":16},"bodySite":{"short":"Anatomical collection site","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/body-site","bindingName":"BodySite"},"index":17},"fastingStatus":{"short":"Whether or how long patient abstained from food and/or drink","isSummary":true,"choices":["fastingStatusCodeableConcept","fastingStatusDuration"],"index":19},"fastingStatusCodeableConcept":{"short":"Whether or how long patient abstained from food and/or drink","type":"CodeableConcept","isSummary":true,"choiceOf":"fastingStatus","index":20},"fastingStatusDuration":{"short":"Whether or how long patient abstained from food and/or drink","type":"Duration","isSummary":true,"choiceOf":"fastingStatus","index":21}}},"processing":{"short":"Processing and processing step details","type":"BackboneElement","array":true,"index":22,"elements":{"description":{"short":"Textual description of procedure","type":"string","index":23},"procedure":{"short":"Indicates the treatment step applied to the specimen","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/specimen-processing-procedure","bindingName":"SpecimenProcessingProcedure"},"index":24},"additive":{"short":"Material used in the processing step","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Substance"],"array":true,"index":25},"time":{"short":"Date and time of specimen processing","choices":["timeDateTime","timePeriod"],"index":27},"timeDateTime":{"short":"Date and time of specimen processing","type":"dateTime","choiceOf":"time","index":28},"timePeriod":{"short":"Date and time of specimen processing","type":"Period","choiceOf":"time","index":29}}},"container":{"short":"Direct container of specimen (tube/slide, etc.)","type":"BackboneElement","array":true,"index":30,"elements":{"identifier":{"short":"Id for the container","type":"Identifier","isSummary":true,"array":true,"index":31},"description":{"short":"Textual description of the container","type":"string","index":32},"type":{"short":"Kind of container directly associated with specimen","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/specimen-container-type","bindingName":"SpecimenContainerType"},"index":33},"capacity":{"short":"Container volume or size","type":"Quantity","index":34},"specimenQuantity":{"short":"Quantity of specimen within container","type":"Quantity","index":35},"additive":{"short":"Additive associated with container","choices":["additiveCodeableConcept","additiveReference"],"index":37},"additiveCodeableConcept":{"short":"Additive associated with container","type":"CodeableConcept","choiceOf":"additive","index":38},"additiveReference":{"short":"Additive associated with container","type":"Reference","choiceOf":"additive","refers":["http://hl7.org/fhir/StructureDefinition/Substance"],"index":39}}},"condition":{"short":"State of the specimen","type":"CodeableConcept","isSummary":true,"binding":{"strength":"extensible","valueSet":"http://terminology.hl7.org/ValueSet/v2-0493","bindingName":"SpecimenCondition"},"array":true,"index":40},"note":{"short":"Comments","type":"Annotation","array":true,"index":41}},"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"SpecimenDefinition","type":"SpecimenDefinition","kind":"resource","class":"resource","url":"http://hl7.org/fhir/StructureDefinition/SpecimenDefinition","version":"4.0.1","description":"A kind of specimen with associated set of requirements.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/DomainResource","elements":{"identifier":{"short":"Business identifier of a kind of specimen","type":"Identifier","isSummary":true,"index":0},"typeCollected":{"short":"Kind of material to collect","type":"CodeableConcept","isSummary":true,"binding":{"strength":"example","valueSet":"http://terminology.hl7.org/ValueSet/v2-0487","bindingName":"CollectedSpecimenType"},"index":1},"patientPreparation":{"short":"Patient preparation for collection","type":"CodeableConcept","isSummary":true,"binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/prepare-patient-prior-specimen-collection","bindingName":"PreparePatient"},"array":true,"index":2},"timeAspect":{"short":"Time aspect for collection","type":"string","isSummary":true,"index":3},"collection":{"short":"Specimen collection procedure","type":"CodeableConcept","isSummary":true,"binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/specimen-collection","bindingName":"SpecimenCollection"},"array":true,"index":4},"typeTested":{"short":"Specimen in container intended for testing by lab","type":"BackboneElement","array":true,"index":5,"elements":{"isDerived":{"short":"Primary or secondary specimen","type":"boolean","index":6},"type":{"short":"Type of intended specimen","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://terminology.hl7.org/ValueSet/v2-0487","bindingName":"IntendedSpecimenType"},"index":7},"preference":{"short":"preferred | alternate","type":"code","binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/specimen-contained-preference|4.0.1","bindingName":"SpecimenContainedPreference"},"index":8},"container":{"short":"The specimen's container","type":"BackboneElement","index":9,"elements":{"material":{"short":"Container material","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/container-material","bindingName":"ContainerMaterial"},"index":10},"type":{"short":"Kind of container associated with the kind of specimen","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/specimen-container-type","bindingName":"ContainerType"},"index":11},"cap":{"short":"Color of container cap","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/container-cap","bindingName":"ContainerCap"},"index":12},"description":{"short":"Container description","type":"string","index":13},"capacity":{"short":"Container capacity","type":"Quantity","index":14},"minimumVolume":{"short":"Minimum volume","choices":["minimumVolumeQuantity","minimumVolumeString"],"index":16},"minimumVolumeQuantity":{"short":"Minimum volume","type":"Quantity","choiceOf":"minimumVolume","index":17},"minimumVolumeString":{"short":"Minimum volume","type":"string","choiceOf":"minimumVolume","index":18},"additive":{"short":"Additive associated with container","type":"BackboneElement","array":true,"index":19,"elements":{"additive":{"short":"Additive associated with container","choices":["additiveCodeableConcept","additiveReference"],"index":21},"additiveCodeableConcept":{"short":"Additive associated with container","type":"CodeableConcept","choiceOf":"additive","index":22},"additiveReference":{"short":"Additive associated with container","type":"Reference","choiceOf":"additive","refers":["http://hl7.org/fhir/StructureDefinition/Substance"],"index":23}},"required":["additive"]},"preparation":{"short":"Specimen container preparation","type":"string","index":24}}},"requirement":{"short":"Specimen requirements","type":"string","index":25},"retentionTime":{"short":"Specimen retention time","type":"Duration","index":26},"rejectionCriterion":{"short":"Rejection criterion","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/rejection-criteria","bindingName":"RejectionCriterion"},"array":true,"index":27},"handling":{"short":"Specimen handling before testing","type":"BackboneElement","array":true,"index":28,"elements":{"temperatureQualifier":{"short":"Temperature qualifier","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/handling-condition","bindingName":"HandlingConditionSet"},"index":29},"temperatureRange":{"short":"Temperature range","type":"Range","index":30},"maxDuration":{"short":"Maximum preservation time","type":"Duration","index":31},"instruction":{"short":"Preservation instruction","type":"string","index":32}}}},"required":["preference"]}},"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"string","type":"string","kind":"primitive-type","class":"primitive-type","url":"http://hl7.org/fhir/StructureDefinition/string","version":"4.0.1","description":"Base StructureDefinition for string Type: A sequence of Unicode characters","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/Element","package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"ancestor","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-ancestor","version":"4.0.1","description":"A canonical reference to a StructureDefinition that this is derived from. This is a de-normalization of a chain of StructureDefinition.baseDefinition.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/structuredefinition-ancestor"},"type":"uri","index":1},"value":{"choices":["valueUri"],"index":3},"valueUri":{"type":"uri","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"applicable-version","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-applicable-version","version":"4.0.1","description":"An additional version that this profile apples to, other than the version explicitly stated in StructureDefinition.fhirVersion.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/structuredefinition-applicable-version"},"type":"uri","index":1},"value":{"choices":["valueCode"],"index":3},"valueCode":{"type":"code","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"category","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-category","version":"4.0.1","description":"The category under which the resource type is presented on the official resource list.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/structuredefinition-category"},"type":"uri","index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"codegen-super","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-codegen-super","version":"4.0.1","description":"A specific instruction to use an intermediate parent class when generating code for the classes.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/structuredefinition-codegen-super"},"type":"uri","index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"dependencies","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-dependencies","version":"4.0.1","description":"Instances can only be valid against this StructureDefinition, if they also sucessfully validate against the dependent profile identified in this extension.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/structuredefinition-dependencies"},"type":"uri","index":1},"value":{"choices":["valueCanonical"],"index":3},"valueCanonical":{"type":"canonical","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"display-hint","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint","version":"4.0.1","description":"Hinting information for the narrative generator - a series of name: value; pairs.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint"},"type":"uri","index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"explicit-type-name","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name","version":"4.0.1","description":"A name to use for the type, in implementations. This is a suggestion; it's not a normative part of the FHIR specification, but it does appear in the UML diagrams, and is used in generated code, schemas, etc.to identify the type.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name"},"type":"uri","index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"fhir-type","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","version":"4.0.1","description":"The formal FHIR type of a property - used for the value property of a primitive type (for which there is no type in the FHIR typing system), and Element.id and Extension.url.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"},"type":"uri","index":1},"value":{"choices":["valueUrl"],"index":3},"valueUrl":{"type":"url","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"fmm-no-warnings","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm-no-warnings","version":"4.0.1","description":"The FMM level that would be assigned to the artifact if it had no warnings.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm-no-warnings"},"type":"uri","index":1},"value":{"choices":["valueInteger"],"index":3},"valueInteger":{"type":"integer","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"fmm","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm","version":"4.0.1","description":"The FMM level assigned to the artifact.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm"},"type":"uri","index":1},"value":{"choices":["valueInteger"],"index":3},"valueInteger":{"type":"integer","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"hierarchy","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-hierarchy","version":"4.0.1","description":"For circular references (references back to the same type of resource): whether they are allowed to transitively point back to the same instance (false), or whether the relationship must be a strict one-way hierarchy (true).","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/structuredefinition-hierarchy"},"type":"uri","index":1},"value":{"choices":["valueBoolean"],"index":3},"valueBoolean":{"type":"boolean","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"normative-version","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version","version":"4.0.1","description":"If this StructureDefinition is normative, which was the first normative version.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version"},"type":"uri","index":1},"value":{"choices":["valueCode"],"index":3},"valueCode":{"type":"code","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"security-category","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category","version":"4.0.1","description":"Provides general guidance around the kind of access Control to Read, Search, Create, Update, or Delete the resource.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category"},"type":"uri","index":1},"value":{"choices":["valueCode"],"index":3},"valueCode":{"type":"code","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"standards-status","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status","version":"4.0.1","description":"The Current HL7 ballot/Standards status of this artifact.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status"},"type":"uri","index":1},"value":{"choices":["valueCode"],"index":3},"valueCode":{"type":"code","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"summary","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-summary","version":"4.0.1","description":"Additional text for the summary presentation.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/structuredefinition-summary"},"type":"uri","index":1},"value":{"choices":["valueMarkdown"],"index":3},"valueMarkdown":{"type":"markdown","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"table-name","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-table-name","version":"4.0.1","description":"A name to use to show mappings of this type in the generated summary tables.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/structuredefinition-table-name"},"type":"uri","index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"template-status","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-template-status","version":"4.0.1","description":"Status code taken from [HL7 template specification](http://www.hl7.org/implement/standards/product_brief.cfm?product_id=377) - allows for alignment with the template DSTU, and has more authoring status codes.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/structuredefinition-template-status"},"type":"uri","index":1},"value":{"choices":["valueCode"],"index":3},"valueCode":{"type":"code","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"wg","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-wg","version":"4.0.1","description":"The work group that owns and maintains this resource.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"},"type":"uri","index":1},"value":{"choices":["valueCode"],"index":3},"valueCode":{"type":"code","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"xml-no-order","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-no-order","version":"4.0.1","description":"Whether elements can come in any order in XML.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-no-order"},"type":"uri","index":1},"value":{"choices":["valueBoolean"],"index":3},"valueBoolean":{"type":"boolean","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"ancestor","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-ancestor","version":"4.0.1","description":"A canonical reference to a StructureDefinition that this is derived from. This is a de-normalization of a chain of StructureDefinition.baseDefinition.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/structuredefinition-ancestor"},"index":1},"value":{"choices":["valueUri"],"index":3},"valueUri":{"type":"uri","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"applicable-version","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-applicable-version","version":"4.0.1","description":"An additional version that this profile apples to, other than the version explicitly stated in StructureDefinition.fhirVersion.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/structuredefinition-applicable-version"},"index":1},"value":{"choices":["valueCode"],"index":3},"valueCode":{"type":"code","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"category","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-category","version":"4.0.1","description":"The category under which the resource type is presented on the official resource list.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/structuredefinition-category"},"index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"codegen-super","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-codegen-super","version":"4.0.1","description":"A specific instruction to use an intermediate parent class when generating code for the classes.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/structuredefinition-codegen-super"},"index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"dependencies","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-dependencies","version":"4.0.1","description":"Instances can only be valid against this StructureDefinition, if they also sucessfully validate against the dependent profile identified in this extension.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/structuredefinition-dependencies"},"index":1},"value":{"choices":["valueCanonical"],"index":3},"valueCanonical":{"type":"canonical","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"display-hint","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint","version":"4.0.1","description":"Hinting information for the narrative generator - a series of name: value; pairs.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/structuredefinition-display-hint"},"index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"explicit-type-name","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name","version":"4.0.1","description":"A name to use for the type, in implementations. This is a suggestion; it's not a normative part of the FHIR specification, but it does appear in the UML diagrams, and is used in generated code, schemas, etc.to identify the type.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/structuredefinition-explicit-type-name"},"index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"fhir-type","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type","version":"4.0.1","description":"The formal FHIR type of a property - used for the value property of a primitive type (for which there is no type in the FHIR typing system), and Element.id and Extension.url.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type"},"index":1},"value":{"choices":["valueUrl"],"index":3},"valueUrl":{"type":"url","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"fmm-no-warnings","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm-no-warnings","version":"4.0.1","description":"The FMM level that would be assigned to the artifact if it had no warnings.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm-no-warnings"},"index":1},"value":{"choices":["valueInteger"],"index":3},"valueInteger":{"type":"integer","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"fmm","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm","version":"4.0.1","description":"The FMM level assigned to the artifact.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm"},"index":1},"value":{"choices":["valueInteger"],"index":3},"valueInteger":{"type":"integer","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"hierarchy","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-hierarchy","version":"4.0.1","description":"For circular references (references back to the same type of resource): whether they are allowed to transitively point back to the same instance (false), or whether the relationship must be a strict one-way hierarchy (true).","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/structuredefinition-hierarchy"},"index":1},"value":{"choices":["valueBoolean"],"index":3},"valueBoolean":{"type":"boolean","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"normative-version","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version","version":"4.0.1","description":"If this StructureDefinition is normative, which was the first normative version.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/structuredefinition-normative-version"},"index":1},"value":{"choices":["valueCode"],"index":3},"valueCode":{"type":"code","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"security-category","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category","version":"4.0.1","description":"Provides general guidance around the kind of access Control to Read, Search, Create, Update, or Delete the resource.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category"},"index":1},"value":{"choices":["valueCode"],"index":3},"valueCode":{"type":"code","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"standards-status","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status","version":"4.0.1","description":"The Current HL7 ballot/Standards status of this artifact.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status"},"index":1},"value":{"choices":["valueCode"],"index":3},"valueCode":{"type":"code","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"summary","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-summary","version":"4.0.1","description":"Additional text for the summary presentation.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/structuredefinition-summary"},"index":1},"value":{"choices":["valueMarkdown"],"index":3},"valueMarkdown":{"type":"markdown","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"table-name","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-table-name","version":"4.0.1","description":"A name to use to show mappings of this type in the generated summary tables.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/structuredefinition-table-name"},"index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"template-status","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-template-status","version":"4.0.1","description":"Status code taken from [HL7 template specification](http://www.hl7.org/implement/standards/product_brief.cfm?product_id=377) - allows for alignment with the template DSTU, and has more authoring status codes.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/structuredefinition-template-status"},"index":1},"value":{"choices":["valueCode"],"index":3},"valueCode":{"type":"code","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"wg","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-wg","version":"4.0.1","description":"The work group that owns and maintains this resource.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"},"index":1},"value":{"choices":["valueCode"],"index":3},"valueCode":{"type":"code","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"xml-no-order","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-no-order","version":"4.0.1","description":"Whether elements can come in any order in XML.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/structuredefinition-xml-no-order"},"index":1},"value":{"choices":["valueBoolean"],"index":3},"valueBoolean":{"type":"boolean","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"StructureDefinition","type":"StructureDefinition","kind":"resource","class":"resource","url":"http://hl7.org/fhir/StructureDefinition/StructureDefinition","version":"4.0.1","description":"A definition of a FHIR structure. This resource is used to describe the underlying resources, data types defined in FHIR, and also for describing extensions and constraints on resources and data types.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/DomainResource","elements":{"url":{"short":"Canonical identifier for this structure definition, represented as a URI (globally unique)","type":"uri","isSummary":true,"index":0},"identifier":{"short":"Additional identifier for the structure definition","type":"Identifier","isSummary":true,"array":true,"index":1},"version":{"short":"Business version of the structure definition","type":"string","isSummary":true,"index":2},"name":{"short":"Name for this structure definition (computer friendly)","type":"string","isSummary":true,"index":3},"title":{"short":"Name for this structure definition (human friendly)","type":"string","isSummary":true,"index":4},"status":{"short":"draft | active | retired | unknown","type":"code","isModifier":true,"isModifierReason":"This is labeled as \\"Is Modifier\\" because applications should not use a retired {{title}} without due consideration","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/publication-status|4.0.1","bindingName":"PublicationStatus"},"index":5},"experimental":{"short":"For testing purposes, not real usage","type":"boolean","isSummary":true,"index":6},"date":{"short":"Date last changed","type":"dateTime","isSummary":true,"index":7},"publisher":{"short":"Name of the publisher (organization or individual)","type":"string","isSummary":true,"index":8},"contact":{"short":"Contact details for the publisher","type":"ContactDetail","isSummary":true,"array":true,"index":9},"description":{"short":"Natural language description of the structure definition","type":"markdown","index":10},"useContext":{"short":"The context that the content is intended to support","type":"UsageContext","isSummary":true,"array":true,"index":11},"jurisdiction":{"short":"Intended jurisdiction for structure definition (if applicable)","type":"CodeableConcept","isSummary":true,"binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/ValueSet/jurisdiction","bindingName":"Jurisdiction"},"array":true,"index":12},"purpose":{"short":"Why this structure definition is defined","type":"markdown","index":13},"copyright":{"short":"Use and/or publishing restrictions","type":"markdown","index":14},"keyword":{"short":"Assist with indexing and finding","type":"Coding","isSummary":true,"binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/ValueSet/definition-use","bindingName":"StructureDefinitionKeyword"},"array":true,"index":15},"fhirVersion":{"short":"FHIR Version this StructureDefinition targets","type":"code","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/FHIR-version|4.0.1","bindingName":"FHIRVersion"},"index":16},"mapping":{"short":"External specification that the content is mapped to","type":"BackboneElement","constraint":{"sdf-2":{"expression":"name.exists() or uri.exists()","human":"Must have at least a name or a uri (or both)","severity":"error"}},"array":true,"index":17,"elements":{"identity":{"short":"Internal id when this mapping is used","type":"id","index":18},"uri":{"short":"Identifies what this mapping refers to","type":"uri","index":19},"name":{"short":"Names what this mapping refers to","type":"string","index":20},"comment":{"short":"Versions, Issues, Scope limitations etc.","type":"string","index":21}},"required":["identity"]},"kind":{"short":"primitive-type | complex-type | resource | logical","type":"code","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/structure-definition-kind|4.0.1","bindingName":"StructureDefinitionKind"},"index":22},"abstract":{"short":"Whether the structure is abstract","type":"boolean","isSummary":true,"index":23},"context":{"short":"If an extension, where it can be used in instances","type":"BackboneElement","isSummary":true,"array":true,"index":24,"elements":{"type":{"short":"fhirpath | element | extension","type":"code","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/extension-context-type|4.0.1","bindingName":"ExtensionContextType"},"index":25},"expression":{"short":"Where the extension can be used in instances","type":"string","isSummary":true,"index":26}},"required":["expression","type"]},"contextInvariant":{"short":"FHIRPath invariants - when the extension can be used","type":"string","isSummary":true,"array":true,"index":27},"type":{"short":"Type defined or constrained by this structure","type":"uri","isSummary":true,"binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/ValueSet/defined-types","bindingName":"FHIRDefinedTypeExt"},"index":28},"baseDefinition":{"short":"Definition that this type is constrained/specialized from","type":"canonical","isSummary":true,"index":29},"derivation":{"short":"specialization | constraint - How relates to base definition","type":"code","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/type-derivation-rule|4.0.1","bindingName":"TypeDerivationRule"},"index":30},"snapshot":{"short":"Snapshot view of the structure","type":"BackboneElement","constraint":{"sdf-8":{"expression":"(%resource.kind = 'logical' or element.first().path = %resource.type) and element.tail().all(path.startsWith(%resource.snapshot.element.first().path&'.'))","human":"All snapshot elements must start with the StructureDefinition's specified type for non-logical models, or with the same type name for logical models","severity":"error"},"sdf-3":{"expression":"element.all(definition.exists() and min.exists() and max.exists())","human":"Each element definition in a snapshot must have a formal definition and cardinalities","severity":"error"},"sdf-8b":{"expression":"element.all(base.exists())","human":"All snapshot elements must have a base definition","severity":"error"}},"index":31,"elements":{"element":{"short":"Definition of elements in the resource (if no StructureDefinition)","type":"ElementDefinition","constraint":{"sdf-10":{"expression":"binding.empty() or binding.valueSet.exists() or binding.description.exists()","human":"provide either a binding reference or a description (or both)","severity":"error"}},"array":true,"min":1,"index":32}},"required":["element"]},"differential":{"short":"Differential view of the structure","type":"BackboneElement","constraint":{"sdf-20":{"expression":"element.where(path.contains('.').not()).slicing.empty()","human":"No slicing on the root element","severity":"error"},"sdf-8a":{"expression":"(%resource.kind = 'logical' or element.first().path.startsWith(%resource.type)) and (element.tail().empty() or element.tail().all(path.startsWith(%resource.differential.element.first().path.replaceMatches('\\\\\\\\..*','')&'.')))","human":"In any differential, all the elements must start with the StructureDefinition's specified type for non-logical models, or with the same type name for logical models","severity":"error"}},"index":33,"elements":{"element":{"short":"Definition of elements in the resource (if no StructureDefinition)","type":"ElementDefinition","array":true,"min":1,"index":34}},"required":["element"]}},"required":["abstract","kind","name","status","type","url"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"StructureMap","type":"StructureMap","kind":"resource","class":"resource","url":"http://hl7.org/fhir/StructureDefinition/StructureMap","version":"4.0.1","description":"A Map of relationships between 2 structures that can be used to transform data.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/DomainResource","elements":{"url":{"short":"Canonical identifier for this structure map, represented as a URI (globally unique)","type":"uri","isSummary":true,"index":0},"identifier":{"short":"Additional identifier for the structure map","type":"Identifier","isSummary":true,"array":true,"index":1},"version":{"short":"Business version of the structure map","type":"string","isSummary":true,"index":2},"name":{"short":"Name for this structure map (computer friendly)","type":"string","isSummary":true,"index":3},"title":{"short":"Name for this structure map (human friendly)","type":"string","isSummary":true,"index":4},"status":{"short":"draft | active | retired | unknown","type":"code","isModifier":true,"isModifierReason":"This is labeled as \\"Is Modifier\\" because applications should not use a retired {{title}} without due consideration","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/publication-status|4.0.1","bindingName":"PublicationStatus"},"index":5},"experimental":{"short":"For testing purposes, not real usage","type":"boolean","isSummary":true,"index":6},"date":{"short":"Date last changed","type":"dateTime","isSummary":true,"index":7},"publisher":{"short":"Name of the publisher (organization or individual)","type":"string","isSummary":true,"index":8},"contact":{"short":"Contact details for the publisher","type":"ContactDetail","isSummary":true,"array":true,"index":9},"description":{"short":"Natural language description of the structure map","type":"markdown","index":10},"useContext":{"short":"The context that the content is intended to support","type":"UsageContext","isSummary":true,"array":true,"index":11},"jurisdiction":{"short":"Intended jurisdiction for structure map (if applicable)","type":"CodeableConcept","isSummary":true,"binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/ValueSet/jurisdiction","bindingName":"Jurisdiction"},"array":true,"index":12},"purpose":{"short":"Why this structure map is defined","type":"markdown","index":13},"copyright":{"short":"Use and/or publishing restrictions","type":"markdown","index":14},"structure":{"short":"Structure Definition used by this map","type":"BackboneElement","isSummary":true,"array":true,"index":15,"elements":{"url":{"short":"Canonical reference to structure definition","type":"canonical","isSummary":true,"index":16},"mode":{"short":"source | queried | target | produced","type":"code","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/map-model-mode|4.0.1","bindingName":"StructureMapModelMode"},"index":17},"alias":{"short":"Name for type in this map","type":"string","isSummary":true,"index":18},"documentation":{"short":"Documentation on use of structure","type":"string","index":19}},"required":["mode","url"]},"import":{"short":"Other maps used by this map (canonical URLs)","type":"canonical","isSummary":true,"array":true,"index":20},"group":{"short":"Named sections for reader convenience","type":"BackboneElement","isSummary":true,"array":true,"min":1,"index":21,"elements":{"name":{"short":"Human-readable label","type":"id","isSummary":true,"index":22},"extends":{"short":"Another group that this group adds rules to","type":"id","isSummary":true,"index":23},"typeMode":{"short":"none | types | type-and-types","type":"code","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/map-group-type-mode|4.0.1","bindingName":"StructureMapGroupTypeMode"},"index":24},"documentation":{"short":"Additional description/explanation for group","type":"string","isSummary":true,"index":25},"input":{"short":"Named instance provided when invoking the map","type":"BackboneElement","isSummary":true,"array":true,"min":1,"index":26,"elements":{"name":{"short":"Name for this instance of data","type":"id","isSummary":true,"index":27},"type":{"short":"Type for this instance of data","type":"string","isSummary":true,"index":28},"mode":{"short":"source | target","type":"code","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/map-input-mode|4.0.1","bindingName":"StructureMapInputMode"},"index":29},"documentation":{"short":"Documentation for this instance of data","type":"string","index":30}},"required":["mode","name"]},"rule":{"short":"Transform Rule from source to target","type":"BackboneElement","isSummary":true,"array":true,"min":1,"index":31,"elements":{"name":{"short":"Name of the rule for internal references","type":"id","isSummary":true,"index":32},"source":{"short":"Source inputs to the mapping","type":"BackboneElement","isSummary":true,"array":true,"min":1,"index":33,"elements":{"context":{"short":"Type or variable this rule applies to","type":"id","isSummary":true,"index":34},"min":{"short":"Specified minimum cardinality","type":"integer","isSummary":true,"index":35},"max":{"short":"Specified maximum cardinality (number or *)","type":"string","isSummary":true,"index":36},"type":{"short":"Rule only applies if source has this type","type":"string","isSummary":true,"index":37},"defaultValue":{"short":"Default value if no value exists","isSummary":true,"choices":["defaultValueBase64Binary","defaultValueBoolean","defaultValueCanonical","defaultValueCode","defaultValueDate","defaultValueDateTime","defaultValueDecimal","defaultValueId","defaultValueInstant","defaultValueInteger","defaultValueMarkdown","defaultValueOid","defaultValuePositiveInt","defaultValueString","defaultValueTime","defaultValueUnsignedInt","defaultValueUri","defaultValueUrl","defaultValueUuid","defaultValueAddress","defaultValueAge","defaultValueAnnotation","defaultValueAttachment","defaultValueCodeableConcept","defaultValueCoding","defaultValueContactPoint","defaultValueCount","defaultValueDistance","defaultValueDuration","defaultValueHumanName","defaultValueIdentifier","defaultValueMoney","defaultValuePeriod","defaultValueQuantity","defaultValueRange","defaultValueRatio","defaultValueReference","defaultValueSampledData","defaultValueSignature","defaultValueTiming","defaultValueContactDetail","defaultValueContributor","defaultValueDataRequirement","defaultValueExpression","defaultValueParameterDefinition","defaultValueRelatedArtifact","defaultValueTriggerDefinition","defaultValueUsageContext","defaultValueDosage","defaultValueMeta"],"index":39},"defaultValueBase64Binary":{"short":"Default value if no value exists","type":"base64Binary","isSummary":true,"choiceOf":"defaultValue","index":40},"defaultValueBoolean":{"short":"Default value if no value exists","type":"boolean","isSummary":true,"choiceOf":"defaultValue","index":41},"defaultValueCanonical":{"short":"Default value if no value exists","type":"canonical","isSummary":true,"choiceOf":"defaultValue","index":42},"defaultValueCode":{"short":"Default value if no value exists","type":"code","isSummary":true,"choiceOf":"defaultValue","index":43},"defaultValueDate":{"short":"Default value if no value exists","type":"date","isSummary":true,"choiceOf":"defaultValue","index":44},"defaultValueDateTime":{"short":"Default value if no value exists","type":"dateTime","isSummary":true,"choiceOf":"defaultValue","index":45},"defaultValueDecimal":{"short":"Default value if no value exists","type":"decimal","isSummary":true,"choiceOf":"defaultValue","index":46},"defaultValueId":{"short":"Default value if no value exists","type":"id","isSummary":true,"choiceOf":"defaultValue","index":47},"defaultValueInstant":{"short":"Default value if no value exists","type":"instant","isSummary":true,"choiceOf":"defaultValue","index":48},"defaultValueInteger":{"short":"Default value if no value exists","type":"integer","isSummary":true,"choiceOf":"defaultValue","index":49},"defaultValueMarkdown":{"short":"Default value if no value exists","type":"markdown","isSummary":true,"choiceOf":"defaultValue","index":50},"defaultValueOid":{"short":"Default value if no value exists","type":"oid","isSummary":true,"choiceOf":"defaultValue","index":51},"defaultValuePositiveInt":{"short":"Default value if no value exists","type":"positiveInt","isSummary":true,"choiceOf":"defaultValue","index":52},"defaultValueString":{"short":"Default value if no value exists","type":"string","isSummary":true,"choiceOf":"defaultValue","index":53},"defaultValueTime":{"short":"Default value if no value exists","type":"time","isSummary":true,"choiceOf":"defaultValue","index":54},"defaultValueUnsignedInt":{"short":"Default value if no value exists","type":"unsignedInt","isSummary":true,"choiceOf":"defaultValue","index":55},"defaultValueUri":{"short":"Default value if no value exists","type":"uri","isSummary":true,"choiceOf":"defaultValue","index":56},"defaultValueUrl":{"short":"Default value if no value exists","type":"url","isSummary":true,"choiceOf":"defaultValue","index":57},"defaultValueUuid":{"short":"Default value if no value exists","type":"uuid","isSummary":true,"choiceOf":"defaultValue","index":58},"defaultValueAddress":{"short":"Default value if no value exists","type":"Address","isSummary":true,"choiceOf":"defaultValue","index":59},"defaultValueAge":{"short":"Default value if no value exists","type":"Age","isSummary":true,"choiceOf":"defaultValue","index":60},"defaultValueAnnotation":{"short":"Default value if no value exists","type":"Annotation","isSummary":true,"choiceOf":"defaultValue","index":61},"defaultValueAttachment":{"short":"Default value if no value exists","type":"Attachment","isSummary":true,"choiceOf":"defaultValue","index":62},"defaultValueCodeableConcept":{"short":"Default value if no value exists","type":"CodeableConcept","isSummary":true,"choiceOf":"defaultValue","index":63},"defaultValueCoding":{"short":"Default value if no value exists","type":"Coding","isSummary":true,"choiceOf":"defaultValue","index":64},"defaultValueContactPoint":{"short":"Default value if no value exists","type":"ContactPoint","isSummary":true,"choiceOf":"defaultValue","index":65},"defaultValueCount":{"short":"Default value if no value exists","type":"Count","isSummary":true,"choiceOf":"defaultValue","index":66},"defaultValueDistance":{"short":"Default value if no value exists","type":"Distance","isSummary":true,"choiceOf":"defaultValue","index":67},"defaultValueDuration":{"short":"Default value if no value exists","type":"Duration","isSummary":true,"choiceOf":"defaultValue","index":68},"defaultValueHumanName":{"short":"Default value if no value exists","type":"HumanName","isSummary":true,"choiceOf":"defaultValue","index":69},"defaultValueIdentifier":{"short":"Default value if no value exists","type":"Identifier","isSummary":true,"choiceOf":"defaultValue","index":70},"defaultValueMoney":{"short":"Default value if no value exists","type":"Money","isSummary":true,"choiceOf":"defaultValue","index":71},"defaultValuePeriod":{"short":"Default value if no value exists","type":"Period","isSummary":true,"choiceOf":"defaultValue","index":72},"defaultValueQuantity":{"short":"Default value if no value exists","type":"Quantity","isSummary":true,"choiceOf":"defaultValue","index":73},"defaultValueRange":{"short":"Default value if no value exists","type":"Range","isSummary":true,"choiceOf":"defaultValue","index":74},"defaultValueRatio":{"short":"Default value if no value exists","type":"Ratio","isSummary":true,"choiceOf":"defaultValue","index":75},"defaultValueReference":{"short":"Default value if no value exists","type":"Reference","isSummary":true,"choiceOf":"defaultValue","index":76},"defaultValueSampledData":{"short":"Default value if no value exists","type":"SampledData","isSummary":true,"choiceOf":"defaultValue","index":77},"defaultValueSignature":{"short":"Default value if no value exists","type":"Signature","isSummary":true,"choiceOf":"defaultValue","index":78},"defaultValueTiming":{"short":"Default value if no value exists","type":"Timing","isSummary":true,"choiceOf":"defaultValue","index":79},"defaultValueContactDetail":{"short":"Default value if no value exists","type":"ContactDetail","isSummary":true,"choiceOf":"defaultValue","index":80},"defaultValueContributor":{"short":"Default value if no value exists","type":"Contributor","isSummary":true,"choiceOf":"defaultValue","index":81},"defaultValueDataRequirement":{"short":"Default value if no value exists","type":"DataRequirement","isSummary":true,"choiceOf":"defaultValue","index":82},"defaultValueExpression":{"short":"Default value if no value exists","type":"Expression","isSummary":true,"choiceOf":"defaultValue","index":83},"defaultValueParameterDefinition":{"short":"Default value if no value exists","type":"ParameterDefinition","isSummary":true,"choiceOf":"defaultValue","index":84},"defaultValueRelatedArtifact":{"short":"Default value if no value exists","type":"RelatedArtifact","isSummary":true,"choiceOf":"defaultValue","index":85},"defaultValueTriggerDefinition":{"short":"Default value if no value exists","type":"TriggerDefinition","isSummary":true,"choiceOf":"defaultValue","index":86},"defaultValueUsageContext":{"short":"Default value if no value exists","type":"UsageContext","isSummary":true,"choiceOf":"defaultValue","index":87},"defaultValueDosage":{"short":"Default value if no value exists","type":"Dosage","isSummary":true,"choiceOf":"defaultValue","index":88},"defaultValueMeta":{"short":"Default value if no value exists","type":"Meta","isSummary":true,"choiceOf":"defaultValue","index":89},"element":{"short":"Optional field for this source","type":"string","isSummary":true,"index":90},"listMode":{"short":"first | not_first | last | not_last | only_one","type":"code","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/map-source-list-mode|4.0.1","bindingName":"StructureMapSourceListMode"},"index":91},"variable":{"short":"Named context for field, if a field is specified","type":"id","isSummary":true,"index":92},"condition":{"short":"FHIRPath expression - must be true or the rule does not apply","type":"string","isSummary":true,"index":93},"check":{"short":"FHIRPath expression - must be true or the mapping engine throws an error instead of completing","type":"string","isSummary":true,"index":94},"logMessage":{"short":"Message to put in log if source exists (FHIRPath)","type":"string","isSummary":true,"index":95}},"required":["context"]},"target":{"short":"Content to create because of this mapping rule","type":"BackboneElement","constraint":{"smp-2":{"expression":"context.exists() implies contextType.exists()","human":"Must have a contextType if you have a context","severity":"error"},"smp-1":{"expression":"element.exists() implies context.exists()","human":"Can only have an element if you have a context","severity":"error"}},"isSummary":true,"array":true,"index":96,"elements":{"context":{"short":"Type or variable this rule applies to","type":"id","isSummary":true,"index":97},"contextType":{"short":"type | variable","type":"code","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/map-context-type|4.0.1","bindingName":"StructureMapContextType"},"index":98},"element":{"short":"Field to create in the context","type":"string","isSummary":true,"index":99},"variable":{"short":"Named context for field, if desired, and a field is specified","type":"id","isSummary":true,"index":100},"listMode":{"short":"first | share | last | collate","type":"code","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/map-target-list-mode|4.0.1","bindingName":"StructureMapTargetListMode"},"array":true,"index":101},"listRuleId":{"short":"Internal rule reference for shared list items","type":"id","isSummary":true,"index":102},"transform":{"short":"create | copy +","type":"code","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/map-transform|4.0.1","bindingName":"StructureMapTransform"},"index":103},"parameter":{"short":"Parameters to the transform","type":"BackboneElement","isSummary":true,"array":true,"index":104,"elements":{"value":{"short":"Parameter value - variable or literal","isSummary":true,"choices":["valueId","valueString","valueBoolean","valueInteger","valueDecimal"],"index":106},"valueId":{"short":"Parameter value - variable or literal","type":"id","isSummary":true,"choiceOf":"value","index":107},"valueString":{"short":"Parameter value - variable or literal","type":"string","isSummary":true,"choiceOf":"value","index":108},"valueBoolean":{"short":"Parameter value - variable or literal","type":"boolean","isSummary":true,"choiceOf":"value","index":109},"valueInteger":{"short":"Parameter value - variable or literal","type":"integer","isSummary":true,"choiceOf":"value","index":110},"valueDecimal":{"short":"Parameter value - variable or literal","type":"decimal","isSummary":true,"choiceOf":"value","index":111}},"required":["value"]}}},"rule":{"short":"Rules contained in this rule","isSummary":true,"elementReference":["http://hl7.org/fhir/StructureDefinition/StructureMap","elements","group","elements","rule"],"array":true,"index":112},"dependent":{"short":"Which other rules to apply in the context of this rule","type":"BackboneElement","isSummary":true,"array":true,"index":113,"elements":{"name":{"short":"Name of a rule or group to apply","type":"id","isSummary":true,"index":114},"variable":{"short":"Variable to pass to the rule or group","type":"string","isSummary":true,"array":true,"min":1,"index":115}},"required":["name","variable"]},"documentation":{"short":"Documentation for this instance of data","type":"string","index":116}},"required":["name","source"]}},"required":["input","name","rule","typeMode"]}},"required":["group","name","status","url"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"Subscription","type":"Subscription","kind":"resource","class":"resource","url":"http://hl7.org/fhir/StructureDefinition/Subscription","version":"4.0.1","description":"The subscription resource is used to define a push-based subscription from a server to another system. Once a subscription is registered with the server, the server checks every resource that is created or updated, and if the resource matches the given criteria, it sends a message on the defined \\"channel\\" so that another system can take an appropriate action.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/DomainResource","elements":{"status":{"short":"requested | active | error | off","type":"code","isModifier":true,"isModifierReason":"This element is labelled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/subscription-status|4.0.1","bindingName":"SubscriptionStatus"},"index":0},"contact":{"short":"Contact details for source (e.g. troubleshooting)","type":"ContactPoint","isSummary":true,"array":true,"index":1},"end":{"short":"When to automatically delete the subscription","type":"instant","isSummary":true,"index":2},"reason":{"short":"Description of why this subscription was created","type":"string","isSummary":true,"index":3},"criteria":{"short":"Rule for server push","type":"string","isSummary":true,"index":4},"error":{"short":"Latest error note","type":"string","isSummary":true,"index":5},"channel":{"short":"The channel on which to report matches to the criteria","type":"BackboneElement","isSummary":true,"index":6,"elements":{"type":{"short":"rest-hook | websocket | email | sms | message","type":"code","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/subscription-channel-type|4.0.1","bindingName":"SubscriptionChannelType"},"index":7},"endpoint":{"short":"Where the channel points to","type":"url","isSummary":true,"index":8},"payload":{"short":"MIME type to send, or omit for no payload","type":"code","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/mimetypes|4.0.1","bindingName":"MimeType"},"index":9},"header":{"short":"Usage depends on the channel type","type":"string","isSummary":true,"array":true,"index":10}},"required":["type"]}},"required":["channel","criteria","reason","status"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} @@ -1335,77 +1335,77 @@ exports[`IntrospectionWriter - Fhir Schema Output Check all introspection data i {"name":"SupplyDelivery","type":"SupplyDelivery","kind":"resource","class":"resource","url":"http://hl7.org/fhir/StructureDefinition/SupplyDelivery","version":"4.0.1","description":"Record of delivery of what is supplied.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/DomainResource","elements":{"identifier":{"short":"External identifier","type":"Identifier","array":true,"index":0},"basedOn":{"short":"Fulfills plan, proposal or order","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/SupplyRequest"],"array":true,"index":1},"partOf":{"short":"Part of referenced event","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Contract","http://hl7.org/fhir/StructureDefinition/SupplyDelivery"],"array":true,"index":2},"status":{"short":"in-progress | completed | abandoned | entered-in-error","type":"code","isModifier":true,"isModifierReason":"This element is labelled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/supplydelivery-status|4.0.1","bindingName":"SupplyDeliveryStatus"},"index":3},"patient":{"short":"Patient for whom the item is supplied","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Patient"],"index":4},"type":{"short":"Category of dispense event","type":"CodeableConcept","binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/supplydelivery-type|4.0.1","bindingName":"SupplyDeliveryType"},"index":5},"suppliedItem":{"short":"The item that is delivered or supplied","type":"BackboneElement","index":6,"elements":{"quantity":{"short":"Amount dispensed","type":"Quantity","index":7},"item":{"short":"Medication, Substance, or Device supplied","choices":["itemCodeableConcept","itemReference"],"index":9},"itemCodeableConcept":{"short":"Medication, Substance, or Device supplied","type":"CodeableConcept","choiceOf":"item","index":10},"itemReference":{"short":"Medication, Substance, or Device supplied","type":"Reference","choiceOf":"item","refers":["http://hl7.org/fhir/StructureDefinition/Device","http://hl7.org/fhir/StructureDefinition/Medication","http://hl7.org/fhir/StructureDefinition/Substance"],"index":11}}},"occurrence":{"short":"When event occurred","isSummary":true,"choices":["occurrenceDateTime","occurrencePeriod","occurrenceTiming"],"index":13},"occurrenceDateTime":{"short":"When event occurred","type":"dateTime","isSummary":true,"choiceOf":"occurrence","index":14},"occurrencePeriod":{"short":"When event occurred","type":"Period","isSummary":true,"choiceOf":"occurrence","index":15},"occurrenceTiming":{"short":"When event occurred","type":"Timing","isSummary":true,"choiceOf":"occurrence","index":16},"supplier":{"short":"Dispenser","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Organization","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole"],"index":17},"destination":{"short":"Where the Supply was sent","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Location"],"index":18},"receiver":{"short":"Who collected the Supply","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole"],"array":true,"index":19}},"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"SupplyRequest","type":"SupplyRequest","kind":"resource","class":"resource","url":"http://hl7.org/fhir/StructureDefinition/SupplyRequest","version":"4.0.1","description":"A record of a request for a medication, substance or device used in the healthcare setting.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/DomainResource","elements":{"identifier":{"short":"Business Identifier for SupplyRequest","type":"Identifier","isSummary":true,"array":true,"index":0},"status":{"short":"draft | active | suspended +","type":"code","isModifier":true,"isModifierReason":"This element is labeled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/supplyrequest-status|4.0.1","bindingName":"SupplyRequestStatus"},"index":1},"category":{"short":"The kind of supply (central, non-stock, etc.)","type":"CodeableConcept","isSummary":true,"binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/supplyrequest-kind","bindingName":"SupplyRequestKind"},"index":2},"priority":{"short":"routine | urgent | asap | stat","type":"code","meaningWhenMissing":"If missing, this task should be performed with normal priority","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/request-priority|4.0.1","bindingName":"RequestPriority"},"index":3},"item":{"short":"Medication, Substance, or Device requested to be supplied","isSummary":true,"choices":["itemCodeableConcept","itemReference"],"index":5},"itemCodeableConcept":{"short":"Medication, Substance, or Device requested to be supplied","type":"CodeableConcept","isSummary":true,"choiceOf":"item","index":6},"itemReference":{"short":"Medication, Substance, or Device requested to be supplied","type":"Reference","isSummary":true,"choiceOf":"item","refers":["http://hl7.org/fhir/StructureDefinition/Device","http://hl7.org/fhir/StructureDefinition/Medication","http://hl7.org/fhir/StructureDefinition/Substance"],"index":7},"quantity":{"short":"The requested amount of the item indicated","type":"Quantity","isSummary":true,"index":8},"parameter":{"short":"Ordered item details","type":"BackboneElement","array":true,"index":9,"elements":{"code":{"short":"Item detail","type":"CodeableConcept","index":10},"value":{"short":"Value of detail","choices":["valueCodeableConcept","valueQuantity","valueRange","valueBoolean"],"index":12},"valueCodeableConcept":{"short":"Value of detail","type":"CodeableConcept","choiceOf":"value","index":13},"valueQuantity":{"short":"Value of detail","type":"Quantity","choiceOf":"value","index":14},"valueRange":{"short":"Value of detail","type":"Range","choiceOf":"value","index":15},"valueBoolean":{"short":"Value of detail","type":"boolean","choiceOf":"value","index":16}}},"occurrence":{"short":"When the request should be fulfilled","isSummary":true,"choices":["occurrenceDateTime","occurrencePeriod","occurrenceTiming"],"index":18},"occurrenceDateTime":{"short":"When the request should be fulfilled","type":"dateTime","isSummary":true,"choiceOf":"occurrence","index":19},"occurrencePeriod":{"short":"When the request should be fulfilled","type":"Period","isSummary":true,"choiceOf":"occurrence","index":20},"occurrenceTiming":{"short":"When the request should be fulfilled","type":"Timing","isSummary":true,"choiceOf":"occurrence","index":21},"authoredOn":{"short":"When the request was made","type":"dateTime","isSummary":true,"index":22},"requester":{"short":"Individual making the request","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Device","http://hl7.org/fhir/StructureDefinition/Organization","http://hl7.org/fhir/StructureDefinition/Patient","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole","http://hl7.org/fhir/StructureDefinition/RelatedPerson"],"index":23},"supplier":{"short":"Who is intended to fulfill the request","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/HealthcareService","http://hl7.org/fhir/StructureDefinition/Organization"],"array":true,"index":24},"reasonCode":{"short":"The reason why the supply item was requested","type":"CodeableConcept","binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/supplyrequest-reason","bindingName":"SupplyRequestReason"},"array":true,"index":25},"reasonReference":{"short":"The reason why the supply item was requested","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Condition","http://hl7.org/fhir/StructureDefinition/DiagnosticReport","http://hl7.org/fhir/StructureDefinition/DocumentReference","http://hl7.org/fhir/StructureDefinition/Observation"],"array":true,"index":26},"deliverFrom":{"short":"The origin of the supply","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Location","http://hl7.org/fhir/StructureDefinition/Organization"],"index":27},"deliverTo":{"short":"The destination of the supply","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Location","http://hl7.org/fhir/StructureDefinition/Organization","http://hl7.org/fhir/StructureDefinition/Patient"],"index":28}},"required":["item","quantity"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"Evidence Synthesis Profile","type":"Evidence","kind":"resource","class":"profile","url":"http://hl7.org/fhir/StructureDefinition/synthesis","version":"4.0.1","description":"Explanation of what this profile contains/is for.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Evidence","elements":{"url":{"short":"Canonical identifier for this evidence, represented as a URI (globally unique)","type":"uri","isSummary":true,"index":0},"identifier":{"short":"Additional identifier for the evidence","type":"Identifier","isSummary":true,"array":true,"index":1},"version":{"short":"Business version of the evidence","type":"string","isSummary":true,"index":2},"title":{"short":"Name for this evidence (human friendly)","type":"string","isSummary":true,"index":3},"shortTitle":{"short":"Title for use in informal contexts","type":"string","index":4},"subtitle":{"short":"Subordinate title of the Evidence","type":"string","index":5},"status":{"short":"draft | active | retired | unknown","type":"code","isModifier":true,"isModifierReason":"This is labeled as \\"Is Modifier\\" because applications should not use a retired {{title}} without due consideration","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/publication-status|4.0.1","bindingName":"PublicationStatus"},"index":6},"date":{"short":"Date last changed","type":"dateTime","isSummary":true,"index":7},"publisher":{"short":"Name of the publisher (organization or individual)","type":"string","isSummary":true,"index":8},"contact":{"short":"Contact details for the publisher","type":"ContactDetail","isSummary":true,"array":true,"index":9},"description":{"short":"Natural language description of the evidence","type":"markdown","index":10},"note":{"short":"Used for footnotes or explanatory notes","type":"Annotation","array":true,"index":11},"copyright":{"short":"Use and/or publishing restrictions","type":"markdown","index":12},"approvalDate":{"short":"When the evidence was approved by publisher","type":"date","index":13},"lastReviewDate":{"short":"When the evidence was last reviewed","type":"date","index":14},"author":{"short":"Who authored the content","type":"ContactDetail","array":true,"index":15},"editor":{"short":"Who edited the content","type":"ContactDetail","array":true,"index":16},"reviewer":{"short":"Who reviewed the content","type":"ContactDetail","array":true,"index":17},"relatedArtifact":{"short":"Additional documentation, citations, etc.","type":"RelatedArtifact","array":true,"index":18},"exposureBackground":{"short":"What population?","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/EvidenceVariable"],"index":19},"exposureVariant":{"short":"What exposure?","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/EvidenceVariable"],"array":true,"min":1,"max":2,"index":20},"outcome":{"short":"What outcome?","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/EvidenceVariable"],"array":true,"min":1,"index":21}},"required":["exposureBackground","exposureVariant","outcome","status"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"candidateList","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/task-candidateList","version":"4.0.1","description":"Identifies the individuals who are candidates for being the owner of the task.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/task-candidateList"},"type":"uri","index":1},"value":{"choices":["valueReference"],"index":3},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/Device","http://hl7.org/fhir/StructureDefinition/Organization","http://hl7.org/fhir/StructureDefinition/Patient","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/RelatedPerson"],"index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"replaces","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/task-replaces","version":"4.0.1","description":"Completed or terminated task(s) whose function is taken by this new task.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/task-replaces"},"type":"uri","index":1},"value":{"choices":["valueReference"],"index":3},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/Task"],"index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"candidateList","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/task-candidateList","version":"4.0.1","description":"Identifies the individuals who are candidates for being the owner of the task.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/task-candidateList"},"index":1},"value":{"choices":["valueReference"],"index":3},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/Device","http://hl7.org/fhir/StructureDefinition/Organization","http://hl7.org/fhir/StructureDefinition/Patient","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/RelatedPerson"],"index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"replaces","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/task-replaces","version":"4.0.1","description":"Completed or terminated task(s) whose function is taken by this new task.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/task-replaces"},"index":1},"value":{"choices":["valueReference"],"index":3},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/Task"],"index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"Task","type":"Task","kind":"resource","class":"resource","url":"http://hl7.org/fhir/StructureDefinition/Task","version":"4.0.1","description":"A task to be performed.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/DomainResource","elements":{"identifier":{"short":"Task Instance Identifier","type":"Identifier","array":true,"index":0},"instantiatesCanonical":{"short":"Formal definition of task","type":"canonical","isSummary":true,"index":1},"instantiatesUri":{"short":"Formal definition of task","type":"uri","isSummary":true,"index":2},"basedOn":{"short":"Request fulfilled by this task","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Resource"],"array":true,"index":3},"groupIdentifier":{"short":"Requisition or grouper id","type":"Identifier","isSummary":true,"index":4},"partOf":{"short":"Composite task","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Task"],"array":true,"index":5},"status":{"short":"draft | requested | received | accepted | +","type":"code","isModifier":true,"isModifierReason":"This element is labeled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/task-status|4.0.1","bindingName":"TaskStatus"},"index":6},"statusReason":{"short":"Reason for current status","type":"CodeableConcept","isSummary":true,"index":7},"businessStatus":{"short":"E.g. \\"Specimen collected\\", \\"IV prepped\\"","type":"CodeableConcept","isSummary":true,"index":8},"intent":{"short":"unknown | proposal | plan | order | original-order | reflex-order | filler-order | instance-order | option","type":"code","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/task-intent|4.0.1","bindingName":"TaskIntent"},"index":9},"priority":{"short":"routine | urgent | asap | stat","type":"code","meaningWhenMissing":"If missing, this task should be performed with normal priority","binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/request-priority|4.0.1","bindingName":"TaskPriority"},"index":10},"code":{"short":"Task Type","type":"CodeableConcept","isSummary":true,"binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/task-code","bindingName":"TaskCode"},"index":11},"description":{"short":"Human-readable explanation of task","type":"string","isSummary":true,"index":12},"focus":{"short":"What task is acting on","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Resource"],"index":13},"for":{"short":"Beneficiary of the Task","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Resource"],"index":14},"encounter":{"short":"Healthcare event during which this task originated","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Encounter"],"index":15},"executionPeriod":{"short":"Start and end time of execution","type":"Period","isSummary":true,"index":16},"authoredOn":{"short":"Task Creation Date","type":"dateTime","index":17},"lastModified":{"short":"Task Last Modified Date","type":"dateTime","isSummary":true,"index":18},"requester":{"short":"Who is asking for task to be done","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Device","http://hl7.org/fhir/StructureDefinition/Organization","http://hl7.org/fhir/StructureDefinition/Patient","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole","http://hl7.org/fhir/StructureDefinition/RelatedPerson"],"index":19},"performerType":{"short":"Requested performer","type":"CodeableConcept","binding":{"strength":"preferred","valueSet":"http://hl7.org/fhir/ValueSet/performer-role","bindingName":"TaskPerformerType"},"array":true,"index":20},"owner":{"short":"Responsible individual","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/CareTeam","http://hl7.org/fhir/StructureDefinition/Device","http://hl7.org/fhir/StructureDefinition/HealthcareService","http://hl7.org/fhir/StructureDefinition/Organization","http://hl7.org/fhir/StructureDefinition/Patient","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole","http://hl7.org/fhir/StructureDefinition/RelatedPerson"],"index":21},"location":{"short":"Where task occurs","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Location"],"index":22},"reasonCode":{"short":"Why task is needed","type":"CodeableConcept","index":23},"reasonReference":{"short":"Why task is needed","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Resource"],"index":24},"insurance":{"short":"Associated insurance coverage","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/ClaimResponse","http://hl7.org/fhir/StructureDefinition/Coverage"],"array":true,"index":25},"note":{"short":"Comments made about the task","type":"Annotation","array":true,"index":26},"relevantHistory":{"short":"Key events in history of the Task","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Provenance"],"array":true,"index":27},"restriction":{"short":"Constraints on fulfillment tasks","type":"BackboneElement","index":28,"elements":{"repetitions":{"short":"How many times to repeat","type":"positiveInt","index":29},"period":{"short":"When fulfillment sought","type":"Period","index":30},"recipient":{"short":"For whom is fulfillment sought?","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Group","http://hl7.org/fhir/StructureDefinition/Organization","http://hl7.org/fhir/StructureDefinition/Patient","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole","http://hl7.org/fhir/StructureDefinition/RelatedPerson"],"array":true,"index":31}}},"input":{"short":"Information used to perform task","type":"BackboneElement","array":true,"index":32,"elements":{"type":{"short":"Label for the input","type":"CodeableConcept","index":33},"value":{"short":"Content to use in performing the task","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","valueMeta"],"index":35},"valueBase64Binary":{"short":"Content to use in performing the task","type":"base64Binary","choiceOf":"value","index":36},"valueBoolean":{"short":"Content to use in performing the task","type":"boolean","choiceOf":"value","index":37},"valueCanonical":{"short":"Content to use in performing the task","type":"canonical","choiceOf":"value","index":38},"valueCode":{"short":"Content to use in performing the task","type":"code","choiceOf":"value","index":39},"valueDate":{"short":"Content to use in performing the task","type":"date","choiceOf":"value","index":40},"valueDateTime":{"short":"Content to use in performing the task","type":"dateTime","choiceOf":"value","index":41},"valueDecimal":{"short":"Content to use in performing the task","type":"decimal","choiceOf":"value","index":42},"valueId":{"short":"Content to use in performing the task","type":"id","choiceOf":"value","index":43},"valueInstant":{"short":"Content to use in performing the task","type":"instant","choiceOf":"value","index":44},"valueInteger":{"short":"Content to use in performing the task","type":"integer","choiceOf":"value","index":45},"valueMarkdown":{"short":"Content to use in performing the task","type":"markdown","choiceOf":"value","index":46},"valueOid":{"short":"Content to use in performing the task","type":"oid","choiceOf":"value","index":47},"valuePositiveInt":{"short":"Content to use in performing the task","type":"positiveInt","choiceOf":"value","index":48},"valueString":{"short":"Content to use in performing the task","type":"string","choiceOf":"value","index":49},"valueTime":{"short":"Content to use in performing the task","type":"time","choiceOf":"value","index":50},"valueUnsignedInt":{"short":"Content to use in performing the task","type":"unsignedInt","choiceOf":"value","index":51},"valueUri":{"short":"Content to use in performing the task","type":"uri","choiceOf":"value","index":52},"valueUrl":{"short":"Content to use in performing the task","type":"url","choiceOf":"value","index":53},"valueUuid":{"short":"Content to use in performing the task","type":"uuid","choiceOf":"value","index":54},"valueAddress":{"short":"Content to use in performing the task","type":"Address","choiceOf":"value","index":55},"valueAge":{"short":"Content to use in performing the task","type":"Age","choiceOf":"value","index":56},"valueAnnotation":{"short":"Content to use in performing the task","type":"Annotation","choiceOf":"value","index":57},"valueAttachment":{"short":"Content to use in performing the task","type":"Attachment","choiceOf":"value","index":58},"valueCodeableConcept":{"short":"Content to use in performing the task","type":"CodeableConcept","choiceOf":"value","index":59},"valueCoding":{"short":"Content to use in performing the task","type":"Coding","choiceOf":"value","index":60},"valueContactPoint":{"short":"Content to use in performing the task","type":"ContactPoint","choiceOf":"value","index":61},"valueCount":{"short":"Content to use in performing the task","type":"Count","choiceOf":"value","index":62},"valueDistance":{"short":"Content to use in performing the task","type":"Distance","choiceOf":"value","index":63},"valueDuration":{"short":"Content to use in performing the task","type":"Duration","choiceOf":"value","index":64},"valueHumanName":{"short":"Content to use in performing the task","type":"HumanName","choiceOf":"value","index":65},"valueIdentifier":{"short":"Content to use in performing the task","type":"Identifier","choiceOf":"value","index":66},"valueMoney":{"short":"Content to use in performing the task","type":"Money","choiceOf":"value","index":67},"valuePeriod":{"short":"Content to use in performing the task","type":"Period","choiceOf":"value","index":68},"valueQuantity":{"short":"Content to use in performing the task","type":"Quantity","choiceOf":"value","index":69},"valueRange":{"short":"Content to use in performing the task","type":"Range","choiceOf":"value","index":70},"valueRatio":{"short":"Content to use in performing the task","type":"Ratio","choiceOf":"value","index":71},"valueReference":{"short":"Content to use in performing the task","type":"Reference","choiceOf":"value","index":72},"valueSampledData":{"short":"Content to use in performing the task","type":"SampledData","choiceOf":"value","index":73},"valueSignature":{"short":"Content to use in performing the task","type":"Signature","choiceOf":"value","index":74},"valueTiming":{"short":"Content to use in performing the task","type":"Timing","choiceOf":"value","index":75},"valueContactDetail":{"short":"Content to use in performing the task","type":"ContactDetail","choiceOf":"value","index":76},"valueContributor":{"short":"Content to use in performing the task","type":"Contributor","choiceOf":"value","index":77},"valueDataRequirement":{"short":"Content to use in performing the task","type":"DataRequirement","choiceOf":"value","index":78},"valueExpression":{"short":"Content to use in performing the task","type":"Expression","choiceOf":"value","index":79},"valueParameterDefinition":{"short":"Content to use in performing the task","type":"ParameterDefinition","choiceOf":"value","index":80},"valueRelatedArtifact":{"short":"Content to use in performing the task","type":"RelatedArtifact","choiceOf":"value","index":81},"valueTriggerDefinition":{"short":"Content to use in performing the task","type":"TriggerDefinition","choiceOf":"value","index":82},"valueUsageContext":{"short":"Content to use in performing the task","type":"UsageContext","choiceOf":"value","index":83},"valueDosage":{"short":"Content to use in performing the task","type":"Dosage","choiceOf":"value","index":84},"valueMeta":{"short":"Content to use in performing the task","type":"Meta","choiceOf":"value","index":85}},"required":["type","value"]},"output":{"short":"Information produced as part of task","type":"BackboneElement","array":true,"index":86,"elements":{"type":{"short":"Label for output","type":"CodeableConcept","index":87},"value":{"short":"Result of output","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","valueMeta"],"index":89},"valueBase64Binary":{"short":"Result of output","type":"base64Binary","choiceOf":"value","index":90},"valueBoolean":{"short":"Result of output","type":"boolean","choiceOf":"value","index":91},"valueCanonical":{"short":"Result of output","type":"canonical","choiceOf":"value","index":92},"valueCode":{"short":"Result of output","type":"code","choiceOf":"value","index":93},"valueDate":{"short":"Result of output","type":"date","choiceOf":"value","index":94},"valueDateTime":{"short":"Result of output","type":"dateTime","choiceOf":"value","index":95},"valueDecimal":{"short":"Result of output","type":"decimal","choiceOf":"value","index":96},"valueId":{"short":"Result of output","type":"id","choiceOf":"value","index":97},"valueInstant":{"short":"Result of output","type":"instant","choiceOf":"value","index":98},"valueInteger":{"short":"Result of output","type":"integer","choiceOf":"value","index":99},"valueMarkdown":{"short":"Result of output","type":"markdown","choiceOf":"value","index":100},"valueOid":{"short":"Result of output","type":"oid","choiceOf":"value","index":101},"valuePositiveInt":{"short":"Result of output","type":"positiveInt","choiceOf":"value","index":102},"valueString":{"short":"Result of output","type":"string","choiceOf":"value","index":103},"valueTime":{"short":"Result of output","type":"time","choiceOf":"value","index":104},"valueUnsignedInt":{"short":"Result of output","type":"unsignedInt","choiceOf":"value","index":105},"valueUri":{"short":"Result of output","type":"uri","choiceOf":"value","index":106},"valueUrl":{"short":"Result of output","type":"url","choiceOf":"value","index":107},"valueUuid":{"short":"Result of output","type":"uuid","choiceOf":"value","index":108},"valueAddress":{"short":"Result of output","type":"Address","choiceOf":"value","index":109},"valueAge":{"short":"Result of output","type":"Age","choiceOf":"value","index":110},"valueAnnotation":{"short":"Result of output","type":"Annotation","choiceOf":"value","index":111},"valueAttachment":{"short":"Result of output","type":"Attachment","choiceOf":"value","index":112},"valueCodeableConcept":{"short":"Result of output","type":"CodeableConcept","choiceOf":"value","index":113},"valueCoding":{"short":"Result of output","type":"Coding","choiceOf":"value","index":114},"valueContactPoint":{"short":"Result of output","type":"ContactPoint","choiceOf":"value","index":115},"valueCount":{"short":"Result of output","type":"Count","choiceOf":"value","index":116},"valueDistance":{"short":"Result of output","type":"Distance","choiceOf":"value","index":117},"valueDuration":{"short":"Result of output","type":"Duration","choiceOf":"value","index":118},"valueHumanName":{"short":"Result of output","type":"HumanName","choiceOf":"value","index":119},"valueIdentifier":{"short":"Result of output","type":"Identifier","choiceOf":"value","index":120},"valueMoney":{"short":"Result of output","type":"Money","choiceOf":"value","index":121},"valuePeriod":{"short":"Result of output","type":"Period","choiceOf":"value","index":122},"valueQuantity":{"short":"Result of output","type":"Quantity","choiceOf":"value","index":123},"valueRange":{"short":"Result of output","type":"Range","choiceOf":"value","index":124},"valueRatio":{"short":"Result of output","type":"Ratio","choiceOf":"value","index":125},"valueReference":{"short":"Result of output","type":"Reference","choiceOf":"value","index":126},"valueSampledData":{"short":"Result of output","type":"SampledData","choiceOf":"value","index":127},"valueSignature":{"short":"Result of output","type":"Signature","choiceOf":"value","index":128},"valueTiming":{"short":"Result of output","type":"Timing","choiceOf":"value","index":129},"valueContactDetail":{"short":"Result of output","type":"ContactDetail","choiceOf":"value","index":130},"valueContributor":{"short":"Result of output","type":"Contributor","choiceOf":"value","index":131},"valueDataRequirement":{"short":"Result of output","type":"DataRequirement","choiceOf":"value","index":132},"valueExpression":{"short":"Result of output","type":"Expression","choiceOf":"value","index":133},"valueParameterDefinition":{"short":"Result of output","type":"ParameterDefinition","choiceOf":"value","index":134},"valueRelatedArtifact":{"short":"Result of output","type":"RelatedArtifact","choiceOf":"value","index":135},"valueTriggerDefinition":{"short":"Result of output","type":"TriggerDefinition","choiceOf":"value","index":136},"valueUsageContext":{"short":"Result of output","type":"UsageContext","choiceOf":"value","index":137},"valueDosage":{"short":"Result of output","type":"Dosage","choiceOf":"value","index":138},"valueMeta":{"short":"Result of output","type":"Meta","choiceOf":"value","index":139}},"required":["type","value"]}},"required":["intent","status"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"TerminologyCapabilities","type":"TerminologyCapabilities","kind":"resource","class":"resource","url":"http://hl7.org/fhir/StructureDefinition/TerminologyCapabilities","version":"4.0.1","description":"A TerminologyCapabilities resource documents a set of capabilities (behaviors) of a FHIR Terminology Server that may be used as a statement of actual server functionality or a statement of required or desired server implementation.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/DomainResource","elements":{"url":{"short":"Canonical identifier for this terminology capabilities, represented as a URI (globally unique)","type":"uri","isSummary":true,"index":0},"version":{"short":"Business version of the terminology capabilities","type":"string","isSummary":true,"index":1},"name":{"short":"Name for this terminology capabilities (computer friendly)","type":"string","isSummary":true,"index":2},"title":{"short":"Name for this terminology capabilities (human friendly)","type":"string","isSummary":true,"index":3},"status":{"short":"draft | active | retired | unknown","type":"code","isModifier":true,"isModifierReason":"This is labeled as \\"Is Modifier\\" because applications should not use a retired {{title}} without due consideration","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/publication-status|4.0.1","bindingName":"PublicationStatus"},"index":4},"experimental":{"short":"For testing purposes, not real usage","type":"boolean","isSummary":true,"index":5},"date":{"short":"Date last changed","type":"dateTime","isSummary":true,"index":6},"publisher":{"short":"Name of the publisher (organization or individual)","type":"string","isSummary":true,"index":7},"contact":{"short":"Contact details for the publisher","type":"ContactDetail","isSummary":true,"array":true,"index":8},"description":{"short":"Natural language description of the terminology capabilities","type":"markdown","index":9},"useContext":{"short":"The context that the content is intended to support","type":"UsageContext","isSummary":true,"array":true,"index":10},"jurisdiction":{"short":"Intended jurisdiction for terminology capabilities (if applicable)","type":"CodeableConcept","isSummary":true,"binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/ValueSet/jurisdiction","bindingName":"Jurisdiction"},"array":true,"index":11},"purpose":{"short":"Why this terminology capabilities is defined","type":"markdown","index":12},"copyright":{"short":"Use and/or publishing restrictions","type":"markdown","isSummary":true,"index":13},"kind":{"short":"instance | capability | requirements","type":"code","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/capability-statement-kind|4.0.1","bindingName":"CapabilityStatementKind"},"index":14},"software":{"short":"Software that is covered by this terminology capability statement","type":"BackboneElement","isSummary":true,"index":15,"elements":{"name":{"short":"A name the software is known by","type":"string","isSummary":true,"index":16},"version":{"short":"Version covered by this statement","type":"string","isSummary":true,"index":17}},"required":["name"]},"implementation":{"short":"If this describes a specific instance","type":"BackboneElement","isSummary":true,"index":18,"elements":{"description":{"short":"Describes this specific instance","type":"string","isSummary":true,"index":19},"url":{"short":"Base URL for the implementation","type":"url","isSummary":true,"index":20}},"required":["description"]},"lockedDate":{"short":"Whether lockedDate is supported","type":"boolean","isSummary":true,"index":21},"codeSystem":{"short":"A code system supported by the server","type":"BackboneElement","constraint":{"tcp-1":{"expression":"version.count() > 1 implies version.all(code.exists())","human":"If there is more than one version, a version code must be defined","severity":"error"}},"array":true,"index":22,"elements":{"uri":{"short":"URI for the Code System","type":"canonical","index":23},"version":{"short":"Version of Code System supported","type":"BackboneElement","array":true,"index":24,"elements":{"code":{"short":"Version identifier for this version","type":"string","isSummary":true,"index":25},"isDefault":{"short":"If this is the default version for this code system","type":"boolean","isSummary":true,"index":26},"compositional":{"short":"If compositional grammar is supported","type":"boolean","index":27},"language":{"short":"Language Displays supported","type":"code","array":true,"index":28},"filter":{"short":"Filter Properties supported","type":"BackboneElement","array":true,"index":29,"elements":{"code":{"short":"Code of the property supported","type":"code","index":30},"op":{"short":"Operations supported for the property","type":"code","array":true,"min":1,"index":31}},"required":["code","op"]},"property":{"short":"Properties supported for $lookup","type":"code","array":true,"index":32}}},"subsumption":{"short":"Whether subsumption is supported","type":"boolean","index":33}}},"expansion":{"short":"Information about the [ValueSet/$expand](valueset-operation-expand.html) operation","type":"BackboneElement","index":34,"elements":{"hierarchical":{"short":"Whether the server can return nested value sets","type":"boolean","index":35},"paging":{"short":"Whether the server supports paging on expansion","type":"boolean","index":36},"incomplete":{"short":"Allow request for incomplete expansions?","type":"boolean","index":37},"parameter":{"short":"Supported expansion parameter","type":"BackboneElement","array":true,"index":38,"elements":{"name":{"short":"Expansion Parameter name","type":"code","index":39},"documentation":{"short":"Description of support for parameter","type":"string","index":40}},"required":["name"]},"textFilter":{"short":"Documentation about text searching works","type":"markdown","index":41}}},"codeSearch":{"short":"explicit | all","type":"code","binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/code-search-support|4.0.1","bindingName":"CodeSearchSupport"},"index":42},"validateCode":{"short":"Information about the [ValueSet/$validate-code](valueset-operation-validate-code.html) operation","type":"BackboneElement","index":43,"elements":{"translations":{"short":"Whether translations are validated","type":"boolean","index":44}},"required":["translations"]},"translation":{"short":"Information about the [ConceptMap/$translate](conceptmap-operation-translate.html) operation","type":"BackboneElement","index":45,"elements":{"needsMap":{"short":"Whether the client must identify the map","type":"boolean","index":46}},"required":["needsMap"]},"closure":{"short":"Information about the [ConceptMap/$closure](conceptmap-operation-closure.html) operation","type":"BackboneElement","index":47,"elements":{"translation":{"short":"If cross-system closure is supported","type":"boolean","index":48}}}},"required":["date","kind","status"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"TestReport","type":"TestReport","kind":"resource","class":"resource","url":"http://hl7.org/fhir/StructureDefinition/TestReport","version":"4.0.1","description":"A summary of information based on the results of executing a TestScript.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/DomainResource","elements":{"identifier":{"short":"External identifier","type":"Identifier","isSummary":true,"index":0},"name":{"short":"Informal name of the executed TestScript","type":"string","isSummary":true,"index":1},"status":{"short":"completed | in-progress | waiting | stopped | entered-in-error","type":"code","isModifier":true,"isModifierReason":"This element is labelled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/report-status-codes|4.0.1","bindingName":"TestReportStatus"},"index":2},"testScript":{"short":"Reference to the version-specific TestScript that was executed to produce this TestReport","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/TestScript"],"index":3},"result":{"short":"pass | fail | pending","type":"code","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/report-result-codes|4.0.1","bindingName":"TestReportResult"},"index":4},"score":{"short":"The final score (percentage of tests passed) resulting from the execution of the TestScript","type":"decimal","isSummary":true,"index":5},"tester":{"short":"Name of the tester producing this report (Organization or individual)","type":"string","isSummary":true,"index":6},"issued":{"short":"When the TestScript was executed and this TestReport was generated","type":"dateTime","isSummary":true,"index":7},"participant":{"short":"A participant in the test execution, either the execution engine, a client, or a server","type":"BackboneElement","array":true,"index":8,"elements":{"type":{"short":"test-engine | client | server","type":"code","binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/report-participant-type|4.0.1","bindingName":"TestReportParticipantType"},"index":9},"uri":{"short":"The uri of the participant. An absolute URL is preferred","type":"uri","index":10},"display":{"short":"The display name of the participant","type":"string","index":11}},"required":["type","uri"]},"setup":{"short":"The results of the series of required setup operations before the tests were executed","type":"BackboneElement","index":12,"elements":{"action":{"short":"A setup operation or assert that was executed","type":"BackboneElement","constraint":{"inv-1":{"expression":"operation.exists() xor assert.exists()","human":"Setup action SHALL contain either an operation or assert but not both.","severity":"error"}},"array":true,"min":1,"index":13,"elements":{"operation":{"short":"The operation to perform","type":"BackboneElement","index":14,"elements":{"result":{"short":"pass | skip | fail | warning | error","type":"code","binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/report-action-result-codes|4.0.1","bindingName":"TestReportActionResult"},"index":15},"message":{"short":"A message associated with the result","type":"markdown","index":16},"detail":{"short":"A link to further details on the result","type":"uri","index":17}},"required":["result"]},"assert":{"short":"The assertion to perform","type":"BackboneElement","index":18,"elements":{"result":{"short":"pass | skip | fail | warning | error","type":"code","binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/report-action-result-codes|4.0.1","bindingName":"TestReportActionResult"},"index":19},"message":{"short":"A message associated with the result","type":"markdown","index":20},"detail":{"short":"A link to further details on the result","type":"string","index":21}},"required":["result"]}}}},"required":["action"]},"test":{"short":"A test executed from the test script","type":"BackboneElement","array":true,"index":22,"elements":{"name":{"short":"Tracking/logging name of this test","type":"string","index":23},"description":{"short":"Tracking/reporting short description of the test","type":"string","index":24},"action":{"short":"A test operation or assert that was performed","type":"BackboneElement","constraint":{"inv-2":{"expression":"operation.exists() xor assert.exists()","human":"Test action SHALL contain either an operation or assert but not both.","severity":"error"}},"array":true,"min":1,"index":25,"elements":{"operation":{"short":"The operation performed","elementReference":["http://hl7.org/fhir/StructureDefinition/TestReport","elements","setup","elements","action","elements","operation"],"index":26},"assert":{"short":"The assertion performed","elementReference":["http://hl7.org/fhir/StructureDefinition/TestReport","elements","setup","elements","action","elements","assert"],"index":27}}}},"required":["action"]},"teardown":{"short":"The results of running the series of required clean up steps","type":"BackboneElement","index":28,"elements":{"action":{"short":"One or more teardown operations performed","type":"BackboneElement","array":true,"min":1,"index":29,"elements":{"operation":{"short":"The teardown operation performed","elementReference":["http://hl7.org/fhir/StructureDefinition/TestReport","elements","setup","elements","action","elements","operation"],"index":30}},"required":["operation"]}},"required":["action"]}},"required":["result","status","testScript"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"TestScript","type":"TestScript","kind":"resource","class":"resource","url":"http://hl7.org/fhir/StructureDefinition/TestScript","version":"4.0.1","description":"A structured set of tests against a FHIR server or client implementation to determine compliance against the FHIR specification.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/DomainResource","elements":{"url":{"short":"Canonical identifier for this test script, represented as a URI (globally unique)","type":"uri","isSummary":true,"index":0},"identifier":{"short":"Additional identifier for the test script","type":"Identifier","isSummary":true,"index":1},"version":{"short":"Business version of the test script","type":"string","isSummary":true,"index":2},"name":{"short":"Name for this test script (computer friendly)","type":"string","isSummary":true,"index":3},"title":{"short":"Name for this test script (human friendly)","type":"string","isSummary":true,"index":4},"status":{"short":"draft | active | retired | unknown","type":"code","isModifier":true,"isModifierReason":"This is labeled as \\"Is Modifier\\" because applications should not use a retired {{title}} without due consideration","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/publication-status|4.0.1","bindingName":"PublicationStatus"},"index":5},"experimental":{"short":"For testing purposes, not real usage","type":"boolean","isSummary":true,"index":6},"date":{"short":"Date last changed","type":"dateTime","isSummary":true,"index":7},"publisher":{"short":"Name of the publisher (organization or individual)","type":"string","isSummary":true,"index":8},"contact":{"short":"Contact details for the publisher","type":"ContactDetail","isSummary":true,"array":true,"index":9},"description":{"short":"Natural language description of the test script","type":"markdown","index":10},"useContext":{"short":"The context that the content is intended to support","type":"UsageContext","isSummary":true,"array":true,"index":11},"jurisdiction":{"short":"Intended jurisdiction for test script (if applicable)","type":"CodeableConcept","isSummary":true,"binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/ValueSet/jurisdiction","bindingName":"Jurisdiction"},"array":true,"index":12},"purpose":{"short":"Why this test script is defined","type":"markdown","index":13},"copyright":{"short":"Use and/or publishing restrictions","type":"markdown","index":14},"origin":{"short":"An abstract server representing a client or sender in a message exchange","type":"BackboneElement","array":true,"index":15,"elements":{"index":{"short":"The index of the abstract origin server starting at 1","type":"integer","index":16},"profile":{"short":"FHIR-Client | FHIR-SDC-FormFiller","type":"Coding","meaningWhenMissing":"FHIR-Client","binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/ValueSet/testscript-profile-origin-types","bindingName":"TestScriptProfileOriginType"},"index":17}},"required":["index","profile"]},"destination":{"short":"An abstract server representing a destination or receiver in a message exchange","type":"BackboneElement","array":true,"index":18,"elements":{"index":{"short":"The index of the abstract destination server starting at 1","type":"integer","index":19},"profile":{"short":"FHIR-Server | FHIR-SDC-FormManager | FHIR-SDC-FormReceiver | FHIR-SDC-FormProcessor","type":"Coding","meaningWhenMissing":"FHIR-Server","binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/ValueSet/testscript-profile-destination-types","bindingName":"TestScriptProfileDestinationType"},"index":20}},"required":["index","profile"]},"metadata":{"short":"Required capability that is assumed to function correctly on the FHIR server being tested","type":"BackboneElement","constraint":{"tst-4":{"expression":"capability.required.exists() or capability.validated.exists()","human":"TestScript metadata capability SHALL contain required or validated or both.","severity":"error"}},"index":21,"elements":{"link":{"short":"Links to the FHIR specification","type":"BackboneElement","array":true,"index":22,"elements":{"url":{"short":"URL to the specification","type":"uri","index":23},"description":{"short":"Short description","type":"string","index":24}},"required":["url"]},"capability":{"short":"Capabilities that are assumed to function correctly on the FHIR server being tested","type":"BackboneElement","array":true,"min":1,"index":25,"elements":{"required":{"short":"Are the capabilities required?","type":"boolean","index":26},"validated":{"short":"Are the capabilities validated?","type":"boolean","index":27},"description":{"short":"The expected capabilities of the server","type":"string","index":28},"origin":{"short":"Which origin server these requirements apply to","type":"integer","array":true,"index":29},"destination":{"short":"Which server these requirements apply to","type":"integer","index":30},"link":{"short":"Links to the FHIR specification","type":"uri","array":true,"index":31},"capabilities":{"short":"Required Capability Statement","type":"canonical","index":32}},"required":["capabilities","required","validated"]}},"required":["capability"]},"fixture":{"short":"Fixture in the test script - by reference (uri)","type":"BackboneElement","array":true,"index":33,"elements":{"autocreate":{"short":"Whether or not to implicitly create the fixture during setup","type":"boolean","index":34},"autodelete":{"short":"Whether or not to implicitly delete the fixture during teardown","type":"boolean","index":35},"resource":{"short":"Reference of the resource","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Resource"],"index":36}},"required":["autocreate","autodelete"]},"profile":{"short":"Reference of the validation profile","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Resource"],"array":true,"index":37},"variable":{"short":"Placeholder for evaluated elements","type":"BackboneElement","constraint":{"tst-3":{"expression":"expression.empty() or headerField.empty() or path.empty()","human":"Variable can only contain one of expression, headerField or path.","severity":"error"}},"array":true,"index":38,"elements":{"name":{"short":"Descriptive name for this variable","type":"string","index":39},"defaultValue":{"short":"Default, hard-coded, or user-defined value for this variable","type":"string","index":40},"description":{"short":"Natural language description of the variable","type":"string","index":41},"expression":{"short":"The FHIRPath expression against the fixture body","type":"string","index":42},"headerField":{"short":"HTTP header field name for source","type":"string","index":43},"hint":{"short":"Hint help text for default value to enter","type":"string","index":44},"path":{"short":"XPath or JSONPath against the fixture body","type":"string","index":45},"sourceId":{"short":"Fixture Id of source expression or headerField within this variable","type":"id","index":46}},"required":["name"]},"setup":{"short":"A series of required setup operations before tests are executed","type":"BackboneElement","index":47,"elements":{"action":{"short":"A setup operation or assert to perform","type":"BackboneElement","constraint":{"tst-1":{"expression":"operation.exists() xor assert.exists()","human":"Setup action SHALL contain either an operation or assert but not both.","severity":"error"}},"array":true,"min":1,"index":48,"elements":{"operation":{"short":"The setup operation to perform","type":"BackboneElement","constraint":{"tst-7":{"expression":"sourceId.exists() or (targetId.count() + url.count() + params.count() = 1) or (type.code in ('capabilities' |'search' | 'transaction' | 'history'))","human":"Setup operation SHALL contain either sourceId or targetId or params or url.","severity":"error"}},"index":49,"elements":{"type":{"short":"The operation code type that will be executed","type":"Coding","binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/ValueSet/testscript-operation-codes","bindingName":"TestScriptOperationCode"},"index":50},"resource":{"short":"Resource type","type":"code","binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/defined-types|4.0.1","bindingName":"FHIRDefinedType"},"index":51},"label":{"short":"Tracking/logging operation label","type":"string","index":52},"description":{"short":"Tracking/reporting operation description","type":"string","index":53},"accept":{"short":"Mime type to accept in the payload of the response, with charset etc.","type":"code","binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/mimetypes|4.0.1","bindingName":"MimeType"},"index":54},"contentType":{"short":"Mime type of the request payload contents, with charset etc.","type":"code","binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/mimetypes|4.0.1","bindingName":"MimeType"},"index":55},"destination":{"short":"Server responding to the request","type":"integer","index":56},"encodeRequestUrl":{"short":"Whether or not to send the request url in encoded format","type":"boolean","index":57},"method":{"short":"delete | get | options | patch | post | put | head","type":"code","binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/http-operations|4.0.1","bindingName":"TestScriptRequestMethodCode"},"index":58},"origin":{"short":"Server initiating the request","type":"integer","index":59},"params":{"short":"Explicitly defined path parameters","type":"string","index":60},"requestHeader":{"short":"Each operation can have one or more header elements","type":"BackboneElement","array":true,"index":61,"elements":{"field":{"short":"HTTP header field name","type":"string","index":62},"value":{"short":"HTTP headerfield value","type":"string","index":63}},"required":["field","value"]},"requestId":{"short":"Fixture Id of mapped request","type":"id","index":64},"responseId":{"short":"Fixture Id of mapped response","type":"id","index":65},"sourceId":{"short":"Fixture Id of body for PUT and POST requests","type":"id","index":66},"targetId":{"short":"Id of fixture used for extracting the [id], [type], and [vid] for GET requests","type":"id","index":67},"url":{"short":"Request URL","type":"string","index":68}},"required":["encodeRequestUrl"]},"assert":{"short":"The assertion to perform","type":"BackboneElement","constraint":{"tst-12":{"expression":"(response.empty() and responseCode.empty() and direction = 'request') or direction.empty() or direction = 'response'","human":"Setup action assert response and responseCode SHALL be empty when direction equals request","severity":"error"},"tst-5":{"expression":"extension.exists() or (contentType.count() + expression.count() + headerField.count() + minimumId.count() + navigationLinks.count() + path.count() + requestMethod.count() + resource.count() + responseCode.count() + response.count() + validateProfileId.count() <=1)","human":"Only a single assertion SHALL be present within setup action assert element.","severity":"error"},"tst-10":{"expression":"compareToSourceId.empty() xor (compareToSourceExpression.exists() or compareToSourcePath.exists())","human":"Setup action assert SHALL contain either compareToSourceId and compareToSourceExpression, compareToSourceId and compareToSourcePath or neither.","severity":"error"}},"index":69,"elements":{"label":{"short":"Tracking/logging assertion label","type":"string","index":70},"description":{"short":"Tracking/reporting assertion description","type":"string","index":71},"direction":{"short":"response | request","type":"code","binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/assert-direction-codes|4.0.1","bindingName":"AssertionDirectionType"},"index":72},"compareToSourceId":{"short":"Id of the source fixture to be evaluated","type":"string","index":73},"compareToSourceExpression":{"short":"The FHIRPath expression to evaluate against the source fixture","type":"string","index":74},"compareToSourcePath":{"short":"XPath or JSONPath expression to evaluate against the source fixture","type":"string","index":75},"contentType":{"short":"Mime type to compare against the 'Content-Type' header","type":"code","binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/mimetypes|4.0.1","bindingName":"MimeType"},"index":76},"expression":{"short":"The FHIRPath expression to be evaluated","type":"string","index":77},"headerField":{"short":"HTTP header field name","type":"string","index":78},"minimumId":{"short":"Fixture Id of minimum content resource","type":"string","index":79},"navigationLinks":{"short":"Perform validation on navigation links?","type":"boolean","index":80},"operator":{"short":"equals | notEquals | in | notIn | greaterThan | lessThan | empty | notEmpty | contains | notContains | eval","type":"code","binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/assert-operator-codes|4.0.1","bindingName":"AssertionOperatorType"},"index":81},"path":{"short":"XPath or JSONPath expression","type":"string","index":82},"requestMethod":{"short":"delete | get | options | patch | post | put | head","type":"code","binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/http-operations|4.0.1","bindingName":"TestScriptRequestMethodCode"},"index":83},"requestURL":{"short":"Request URL comparison value","type":"string","index":84},"resource":{"short":"Resource type","type":"code","binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/defined-types|4.0.1","bindingName":"FHIRDefinedType"},"index":85},"response":{"short":"okay | created | noContent | notModified | bad | forbidden | notFound | methodNotAllowed | conflict | gone | preconditionFailed | unprocessable","type":"code","binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/assert-response-code-types|4.0.1","bindingName":"AssertionResponseTypes"},"index":86},"responseCode":{"short":"HTTP response code to test","type":"string","index":87},"sourceId":{"short":"Fixture Id of source expression or headerField","type":"id","index":88},"validateProfileId":{"short":"Profile Id of validation profile reference","type":"id","index":89},"value":{"short":"The value to compare to","type":"string","index":90},"warningOnly":{"short":"Will this assert produce a warning only on error?","type":"boolean","index":91}},"required":["warningOnly"]}}}},"required":["action"]},"test":{"short":"A test in this script","type":"BackboneElement","array":true,"index":92,"elements":{"name":{"short":"Tracking/logging name of this test","type":"string","index":93},"description":{"short":"Tracking/reporting short description of the test","type":"string","index":94},"action":{"short":"A test operation or assert to perform","type":"BackboneElement","constraint":{"tst-2":{"expression":"operation.exists() xor assert.exists()","human":"Test action SHALL contain either an operation or assert but not both.","severity":"error"}},"array":true,"min":1,"index":95,"elements":{"operation":{"short":"The setup operation to perform","constraint":{"tst-8":{"expression":"sourceId.exists() or (targetId.count() + url.count() + params.count() = 1) or (type.code in ('capabilities' | 'search' | 'transaction' | 'history'))","human":"Test operation SHALL contain either sourceId or targetId or params or url.","severity":"error"}},"elementReference":["http://hl7.org/fhir/StructureDefinition/TestScript","elements","setup","elements","action","elements","operation"],"index":96},"assert":{"short":"The setup assertion to perform","constraint":{"tst-11":{"expression":"compareToSourceId.empty() xor (compareToSourceExpression.exists() or compareToSourcePath.exists())","human":"Test action assert SHALL contain either compareToSourceId and compareToSourceExpression, compareToSourceId and compareToSourcePath or neither.","severity":"error"},"tst-13":{"expression":"(response.empty() and responseCode.empty() and direction = 'request') or direction.empty() or direction = 'response'","human":"Test action assert response and response and responseCode SHALL be empty when direction equals request","severity":"error"},"tst-6":{"expression":"extension.exists() or (contentType.count() + expression.count() + headerField.count() + minimumId.count() + navigationLinks.count() + path.count() + requestMethod.count() + resource.count() + responseCode.count() + response.count() + validateProfileId.count() <=1)","human":"Only a single assertion SHALL be present within test action assert element.","severity":"error"}},"elementReference":["http://hl7.org/fhir/StructureDefinition/TestScript","elements","setup","elements","action","elements","assert"],"index":97}}}},"required":["action"]},"teardown":{"short":"A series of required clean up steps","type":"BackboneElement","index":98,"elements":{"action":{"short":"One or more teardown operations to perform","type":"BackboneElement","array":true,"min":1,"index":99,"elements":{"operation":{"short":"The teardown operation to perform","constraint":{"tst-9":{"expression":"sourceId.exists() or (targetId.count() + url.count() + params.count() = 1) or (type.code in ('capabilities' | 'search' | 'transaction' | 'history'))","human":"Teardown operation SHALL contain either sourceId or targetId or params or url.","severity":"error"}},"elementReference":["http://hl7.org/fhir/StructureDefinition/TestScript","elements","setup","elements","action","elements","operation"],"index":100}},"required":["operation"]}},"required":["action"]}},"required":["name","status","url"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"time","type":"time","kind":"primitive-type","class":"primitive-type","url":"http://hl7.org/fhir/StructureDefinition/time","version":"4.0.1","description":"Base StructureDefinition for time Type: A time during the day, with no date specified","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/Element","package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"dayOfMonth","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/timing-dayOfMonth","version":"4.0.1","description":"When present, this extension indicate that the event actually only occurs on the specified days of the month, on the times as otherwise specified by the timing schedule.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/timing-dayOfMonth"},"type":"uri","index":1},"value":{"choices":["valuePositiveInt"],"index":3},"valuePositiveInt":{"type":"positiveInt","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"daysOfCycle","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/timing-daysOfCycle","version":"4.0.1","description":"Days of a possibly repeating cycle on which the action is to be performed. The cycle is defined by the first action with a timing element that is a parent of the daysOfCycle.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{"day":{"min":1,"short":"What day to perform","array":true,"_required":true,"index":0,"extensions":{},"required":["value"]}},"elements":{"extension":{"short":"What day to perform","type":"Extension","array":true,"min":1,"index":0,"slicing":{"slices":{"day":{"match":{},"schema":{"short":"What day to perform","type":"Extension","array":true,"min":1,"_required":true,"index":0,"extensions":"[Circular Reference]","elements":{"extension":{"index":1},"url":{"type":"uri","pattern":{"type":"uri","value":"day"},"index":2},"value":{"choices":["valueInteger"],"index":4},"valueInteger":{"type":"integer","choiceOf":"value","index":5}},"required":["value"]},"min":1}}}},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/timing-daysOfCycle"},"type":"uri","index":6}},"required":["extension"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"exact","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/timing-exact","version":"4.0.1","description":"If true, indicates that the specified times, frequencies, periods are expected to be adhered to as precisely as possible. If false, indicates that a typical degree of variability based on institutional and/or patient convenience is acceptable.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/timing-exact"},"type":"uri","index":1},"value":{"choices":["valueBoolean"],"index":3},"valueBoolean":{"type":"boolean","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"dayOfMonth","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/timing-dayOfMonth","version":"4.0.1","description":"When present, this extension indicate that the event actually only occurs on the specified days of the month, on the times as otherwise specified by the timing schedule.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/timing-dayOfMonth"},"index":1},"value":{"choices":["valuePositiveInt"],"index":3},"valuePositiveInt":{"type":"positiveInt","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"daysOfCycle","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/timing-daysOfCycle","version":"4.0.1","description":"Days of a possibly repeating cycle on which the action is to be performed. The cycle is defined by the first action with a timing element that is a parent of the daysOfCycle.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{"day":{"min":1,"short":"What day to perform","array":true,"_required":true,"index":0,"extensions":{},"required":["value"]}},"elements":{"extension":{"short":"What day to perform","type":"Extension","array":true,"min":1,"index":0,"slicing":{"slices":{"day":{"match":{},"schema":{"short":"What day to perform","type":"Extension","array":true,"min":1,"_required":true,"index":0,"extensions":"[Circular Reference]","elements":{"extension":{"index":1},"url":{"type":"uri","fixed":{"type":"uri","value":"day"},"index":2},"value":{"choices":["valueInteger"],"index":4},"valueInteger":{"type":"integer","choiceOf":"value","index":5}},"required":["value"]},"min":1}}}},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/timing-daysOfCycle"},"index":6}},"required":["extension"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"exact","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/timing-exact","version":"4.0.1","description":"If true, indicates that the specified times, frequencies, periods are expected to be adhered to as precisely as possible. If false, indicates that a typical degree of variability based on institutional and/or patient convenience is acceptable.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/timing-exact"},"index":1},"value":{"choices":["valueBoolean"],"index":3},"valueBoolean":{"type":"boolean","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"Timing","type":"Timing","kind":"complex-type","class":"complex-type","url":"http://hl7.org/fhir/StructureDefinition/Timing","version":"4.0.1","description":"Base StructureDefinition for Timing Type: Specifies an event that may occur multiple times. Timing schedules are used to record when things are planned, expected or requested to occur. The most common usage is in dosage instructions for medications. They are also used when planning care of various kinds, and may be used for reporting the schedule to which past regular activities were carried out.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/BackboneElement","elements":{"event":{"short":"When the event occurs","type":"dateTime","isSummary":true,"array":true,"index":0},"repeat":{"short":"When the event is to occur","type":"Element","constraint":{"tim-9":{"expression":"offset.empty() or (when.exists() and ((when in ('C' | 'CM' | 'CD' | 'CV')).not()))","human":"If there's an offset, there must be a when (and not C, CM, CD, CV)","severity":"error"},"tim-5":{"expression":"period.exists() implies period >= 0","human":"period SHALL be a non-negative value","severity":"error"},"tim-6":{"expression":"periodMax.empty() or period.exists()","human":"If there's a periodMax, there must be a period","severity":"error"},"tim-7":{"expression":"durationMax.empty() or duration.exists()","human":"If there's a durationMax, there must be a duration","severity":"error"},"tim-8":{"expression":"countMax.empty() or count.exists()","human":"If there's a countMax, there must be a count","severity":"error"},"tim-1":{"expression":"duration.empty() or durationUnit.exists()","human":"if there's a duration, there needs to be duration units","severity":"error"},"tim-10":{"expression":"timeOfDay.empty() or when.empty()","human":"If there's a timeOfDay, there cannot be a when, or vice versa","severity":"error"},"tim-2":{"expression":"period.empty() or periodUnit.exists()","human":"if there's a period, there needs to be period units","severity":"error"},"tim-4":{"expression":"duration.exists() implies duration >= 0","human":"duration SHALL be a non-negative value","severity":"error"}},"isSummary":true,"index":1,"elements":{"bounds":{"short":"Length/Range of lengths, or (Start and/or end) limits","isSummary":true,"choices":["boundsDuration","boundsRange","boundsPeriod"],"index":3},"boundsDuration":{"short":"Length/Range of lengths, or (Start and/or end) limits","type":"Duration","isSummary":true,"choiceOf":"bounds","index":4},"boundsRange":{"short":"Length/Range of lengths, or (Start and/or end) limits","type":"Range","isSummary":true,"choiceOf":"bounds","index":5},"boundsPeriod":{"short":"Length/Range of lengths, or (Start and/or end) limits","type":"Period","isSummary":true,"choiceOf":"bounds","index":6},"count":{"short":"Number of times to repeat","type":"positiveInt","isSummary":true,"index":7},"countMax":{"short":"Maximum number of times to repeat","type":"positiveInt","isSummary":true,"index":8},"duration":{"short":"How long when it happens","type":"decimal","isSummary":true,"index":9},"durationMax":{"short":"How long when it happens (Max)","type":"decimal","isSummary":true,"index":10},"durationUnit":{"short":"s | min | h | d | wk | mo | a - unit of time (UCUM)","type":"code","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/units-of-time|4.0.1","bindingName":"UnitsOfTime"},"index":11},"frequency":{"short":"Event occurs frequency times per period","type":"positiveInt","meaningWhenMissing":"If no frequency is stated, the assumption is that the event occurs once per period, but systems SHOULD always be specific about this","isSummary":true,"index":12},"frequencyMax":{"short":"Event occurs up to frequencyMax times per period","type":"positiveInt","isSummary":true,"index":13},"period":{"short":"Event occurs frequency times per period","type":"decimal","isSummary":true,"index":14},"periodMax":{"short":"Upper limit of period (3-4 hours)","type":"decimal","isSummary":true,"index":15},"periodUnit":{"short":"s | min | h | d | wk | mo | a - unit of time (UCUM)","type":"code","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/units-of-time|4.0.1","bindingName":"UnitsOfTime"},"index":16},"dayOfWeek":{"short":"mon | tue | wed | thu | fri | sat | sun","type":"code","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/days-of-week|4.0.1","bindingName":"DayOfWeek"},"array":true,"index":17},"timeOfDay":{"short":"Time of day for action","type":"time","isSummary":true,"array":true,"index":18},"when":{"short":"Code for time period of occurrence","type":"code","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/event-timing|4.0.1","bindingName":"EventTiming"},"array":true,"index":19},"offset":{"short":"Minutes from event (before or after)","type":"unsignedInt","isSummary":true,"index":20}}},"code":{"short":"BID | TID | QID | AM | PM | QD | QOD | +","type":"CodeableConcept","isSummary":true,"binding":{"strength":"preferred","valueSet":"http://hl7.org/fhir/ValueSet/timing-abbreviation","bindingName":"TimingAbbreviation"},"index":21}},"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"Translation","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/translation","version":"4.0.1","description":"Language translation from base language of resource to another language.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{"lang":{"min":1,"max":1,"short":"Code for Language","_required":true,"index":0,"extensions":{},"required":["value"]},"content":{"min":1,"max":1,"short":"Content in other Language","_required":true,"index":6,"extensions":{},"required":["value"]}},"elements":{"extension":{"short":"Code for Language","type":"Extension","index":0,"slicing":{"slices":{"lang":{"match":{},"schema":{"short":"Code for Language","type":"Extension","_required":true,"index":0,"extensions":"[Circular Reference]","elements":{"extension":{"index":1},"url":{"type":"uri","pattern":{"type":"uri","value":"lang"},"index":2},"value":{"choices":["valueCode"],"index":4},"valueCode":{"type":"code","choiceOf":"value","index":5}},"required":["value"]},"min":1,"max":1},"content":{"match":{},"schema":{"short":"Content in other Language","type":"Extension","_required":true,"index":6,"extensions":"[Circular Reference]","elements":{"extension":{"index":7},"url":{"type":"uri","pattern":{"type":"uri","value":"content"},"index":8},"value":{"choices":["valueString","valueMarkdown"],"index":10},"valueString":{"type":"string","choiceOf":"value","index":11},"valueMarkdown":{"type":"markdown","choiceOf":"value","index":12}},"required":["value"]},"min":1,"max":1}}}},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/translation"},"type":"uri","index":13}},"required":["extension"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"Translation","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/translation","version":"4.0.1","description":"Language translation from base language of resource to another language.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{"lang":{"min":1,"max":1,"short":"Code for Language","_required":true,"index":0,"extensions":{},"required":["value"]},"content":{"min":1,"max":1,"short":"Content in other Language","_required":true,"index":6,"extensions":{},"required":["value"]}},"elements":{"extension":{"short":"Code for Language","type":"Extension","index":0,"slicing":{"slices":{"lang":{"match":{},"schema":{"short":"Code for Language","type":"Extension","_required":true,"index":0,"extensions":"[Circular Reference]","elements":{"extension":{"index":1},"url":{"type":"uri","fixed":{"type":"uri","value":"lang"},"index":2},"value":{"choices":["valueCode"],"index":4},"valueCode":{"type":"code","choiceOf":"value","index":5}},"required":["value"]},"min":1,"max":1},"content":{"match":{},"schema":{"short":"Content in other Language","type":"Extension","_required":true,"index":6,"extensions":"[Circular Reference]","elements":{"extension":{"index":7},"url":{"type":"uri","fixed":{"type":"uri","value":"content"},"index":8},"value":{"choices":["valueString","valueMarkdown"],"index":10},"valueString":{"type":"string","choiceOf":"value","index":11},"valueMarkdown":{"type":"markdown","choiceOf":"value","index":12}},"required":["value"]},"min":1,"max":1}}}},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/translation"},"index":13}},"required":["extension"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"TriggerDefinition","type":"TriggerDefinition","kind":"complex-type","class":"complex-type","url":"http://hl7.org/fhir/StructureDefinition/TriggerDefinition","version":"4.0.1","description":"Base StructureDefinition for TriggerDefinition Type: A description of a triggering event. Triggering events can be named events, data events, or periodic, as determined by the type element.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/Element","elements":{"type":{"short":"named-event | periodic | data-changed | data-added | data-modified | data-removed | data-accessed | data-access-ended","type":"code","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/trigger-type|4.0.1","bindingName":"TriggerType"},"index":0},"name":{"short":"Name or URI that identifies the event","type":"string","isSummary":true,"index":1},"timing":{"short":"Timing of the event","isSummary":true,"choices":["timingTiming","timingReference","timingDate","timingDateTime"],"index":3},"timingTiming":{"short":"Timing of the event","type":"Timing","isSummary":true,"choiceOf":"timing","index":4},"timingReference":{"short":"Timing of the event","type":"Reference","isSummary":true,"choiceOf":"timing","refers":["http://hl7.org/fhir/StructureDefinition/Schedule"],"index":5},"timingDate":{"short":"Timing of the event","type":"date","isSummary":true,"choiceOf":"timing","index":6},"timingDateTime":{"short":"Timing of the event","type":"dateTime","isSummary":true,"choiceOf":"timing","index":7},"data":{"short":"Triggering data of the event (multiple = 'and')","type":"DataRequirement","isSummary":true,"array":true,"index":8},"condition":{"short":"Whether the event triggers (boolean expression)","type":"Expression","isSummary":true,"index":9}},"required":["type"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"Example Lipid Profile","type":"Observation","kind":"resource","class":"profile","url":"http://hl7.org/fhir/StructureDefinition/triglyceride","version":"4.0.1","description":"Triglyceride Result","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Observation","elements":{"code":{"short":"Triglyceride","type":"CodeableConcept","pattern":{"type":"CodeableConcept","value":{"coding":[{"system":"http://loinc.org","code":"35217-9","display":"Triglyceride [Moles/​volume] in Serum or Plasma"}]}},"mustSupport":true,"index":0},"valueQuantity":{"short":"Triglyceride value","type":"Quantity","mustSupport":true,"index":1},"interpretation":{"short":"+ | ++ | +++ | - | -- | ---","type":"CodeableConcept","mustSupport":true,"index":2},"note":{"short":"Comments about result","type":"Annotation","mustSupport":true,"array":true,"index":3},"referenceRange":{"mustSupport":true,"index":4,"elements":{"low":{"index":5},"high":{"index":6},"type":{"type":"CodeableConcept","index":7},"appliesTo":{"type":"CodeableConcept","index":8},"age":{"type":"Range","index":9}},"required":["high"]},"hasMember":{"index":10},"derivedFrom":{"index":11}},"required":["code","referenceRange"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"Timezone Code","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/tz-code","version":"4.0.1","description":"An IANA timezone code for the timezone offset per [BCP 175](https://www.iana.org/go/rfc6557). The offset is specified as part of a dateTime/instant (or using the tzOffset extension on a date if necessary). The timezone code may also be provided to allow for human display of the location associated with the offset.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/tz-code"},"type":"uri","index":1},"value":{"choices":["valueCode"],"index":3},"valueCode":{"type":"code","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"Timezone Offset","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/tz-offset","version":"4.0.1","description":"Timezone offset, for dates where timezone is not allowed as part of the base date.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/tz-offset"},"type":"uri","index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"Timezone Code","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/tz-code","version":"4.0.1","description":"An IANA timezone code for the timezone offset per [BCP 175](https://www.iana.org/go/rfc6557). The offset is specified as part of a dateTime/instant (or using the tzOffset extension on a date if necessary). The timezone code may also be provided to allow for human display of the location associated with the offset.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/tz-code"},"index":1},"value":{"choices":["valueCode"],"index":3},"valueCode":{"type":"code","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"Timezone Offset","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/tz-offset","version":"4.0.1","description":"Timezone offset, for dates where timezone is not allowed as part of the base date.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/tz-offset"},"index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"unsignedInt","type":"unsignedInt","kind":"primitive-type","class":"primitive-type","url":"http://hl7.org/fhir/StructureDefinition/unsignedInt","version":"4.0.1","description":"Base StructureDefinition for unsignedInt type: An integer with a value that is not negative (e.g. >= 0)","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/integer","package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"uri","type":"uri","kind":"primitive-type","class":"primitive-type","url":"http://hl7.org/fhir/StructureDefinition/uri","version":"4.0.1","description":"Base StructureDefinition for uri Type: String of characters used to identify a name or a resource","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/Element","package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"url","type":"url","kind":"primitive-type","class":"primitive-type","url":"http://hl7.org/fhir/StructureDefinition/url","version":"4.0.1","description":"Base StructureDefinition for url type: A URI that is a literal reference","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/uri","package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"group","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/usagecontext-group","version":"4.0.1","description":"Defines the group in which this usage context is a member. Multiple groups are \\"OR'ed\\", contexts within a group are \\"AND'ed\\".","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/usagecontext-group"},"type":"uri","index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"group","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/usagecontext-group","version":"4.0.1","description":"Defines the group in which this usage context is a member. Multiple groups are \\"OR'ed\\", contexts within a group are \\"AND'ed\\".","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/usagecontext-group"},"index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"UsageContext","type":"UsageContext","kind":"complex-type","class":"complex-type","url":"http://hl7.org/fhir/StructureDefinition/UsageContext","version":"4.0.1","description":"Base StructureDefinition for UsageContext Type: Specifies clinical/business/etc. metadata that can be used to retrieve, index and/or categorize an artifact. This metadata can either be specific to the applicable population (e.g., age category, DRG) or the specific context of care (e.g., venue, care setting, provider of care).","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/Element","elements":{"code":{"short":"Type of context being specified","type":"Coding","isSummary":true,"binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/ValueSet/usage-context-type","bindingName":"UsageContextType"},"index":0},"value":{"short":"Value that defines the context","isSummary":true,"choices":["valueCodeableConcept","valueQuantity","valueRange","valueReference"],"index":2},"valueCodeableConcept":{"short":"Value that defines the context","type":"CodeableConcept","isSummary":true,"choiceOf":"value","index":3},"valueQuantity":{"short":"Value that defines the context","type":"Quantity","isSummary":true,"choiceOf":"value","index":4},"valueRange":{"short":"Value that defines the context","type":"Range","isSummary":true,"choiceOf":"value","index":5},"valueReference":{"short":"Value that defines the context","type":"Reference","isSummary":true,"choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/Group","http://hl7.org/fhir/StructureDefinition/HealthcareService","http://hl7.org/fhir/StructureDefinition/InsurancePlan","http://hl7.org/fhir/StructureDefinition/Location","http://hl7.org/fhir/StructureDefinition/Organization","http://hl7.org/fhir/StructureDefinition/PlanDefinition","http://hl7.org/fhir/StructureDefinition/ResearchStudy"],"index":6}},"required":["code","value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"uuid","type":"uuid","kind":"primitive-type","class":"primitive-type","url":"http://hl7.org/fhir/StructureDefinition/uuid","version":"4.0.1","description":"Base StructureDefinition for uuid type: A UUID, represented as a URI","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/uri","package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"activityStatusDate","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/valueset-activityStatusDate","version":"4.0.1","description":"The date when the associated Value Set Definition Version activity status is in effect.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/valueset-activityStatusDate"},"type":"uri","index":1},"value":{"choices":["valueDate"],"index":3},"valueDate":{"type":"date","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"author","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/valueset-author","version":"4.0.1","description":"The entity or set of entities that create and may modify the Value Set Definition content. The name of a group or an individual, along with contact details.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/valueset-author"},"type":"uri","index":1},"value":{"choices":["valueContactDetail"],"index":3},"valueContactDetail":{"type":"ContactDetail","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"authoritativeSource","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/valueset-authoritativeSource","version":"4.0.1","description":"A reference to the authoritative accessible, persisted source of truth of the entire Value Set Definition, including textual information and available versions.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/valueset-authoritativeSource"},"type":"uri","index":1},"value":{"choices":["valueUri"],"index":3},"valueUri":{"type":"uri","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"caseSensitive","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/valueset-caseSensitive","version":"4.0.1","description":"If this a case sensitive code.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/valueset-caseSensitive"},"type":"uri","index":1},"value":{"choices":["valueBoolean"],"index":3},"valueBoolean":{"type":"boolean","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"concept-comments","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/valueset-concept-comments","version":"4.0.1","description":"A comment that explains how this code is used in this context (where the value set is expected to be used).","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/valueset-concept-comments"},"type":"uri","index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"concept-definition","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/valueset-concept-definition","version":"4.0.1","description":"A definition that describes the meaning of this code when used as part of this value set.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/valueset-concept-definition"},"type":"uri","index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"conceptOrder","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/valueset-conceptOrder","version":"4.0.1","description":"Identifies the relative order in which concepts within the value set should be presented to a user.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/valueset-conceptOrder"},"type":"uri","index":1},"value":{"choices":["valueInteger"],"index":3},"valueInteger":{"type":"integer","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"deprecated","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/valueset-deprecated","version":"4.0.1","description":"if ture, indicates that the concept is deprecated from the value set - that is, it should not be used, and is planned to be withdrawn.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/valueset-deprecated"},"type":"uri","index":1},"value":{"choices":["valueBoolean"],"index":3},"valueBoolean":{"type":"boolean","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"effectiveDate","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/valueset-effectiveDate","version":"4.0.1","description":"This is the first date-time when the value set version becomes active, so this value is present on Inactive value set versions as well. The start Date_time is expected to be as of 0001 UTC of the Effective Date.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/valueset-effectiveDate"},"type":"uri","index":1},"value":{"choices":["valueDateTime"],"index":3},"valueDateTime":{"type":"dateTime","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"expand-group","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/valueset-expand-group","version":"4.0.1","description":"This extension declares a group of concepts that is generated into the ValueSet.expansion.contains hierarchy when the expansion is generated for a UI. THere is no inherent assigned meaning to the hierarchy; it is used to help the user navigate the concepts. Each group has a display and/or a code, and a list of members, which are either concepts in the value set, or other groups (by code).","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{"code":{"max":1,"short":"Underlying code from the system","index":0,"extensions":{},"required":["value"]},"display":{"max":1,"short":"Display for the group","index":6,"extensions":{},"required":["value"]},"member":{"min":1,"short":"Codes or other groups in this group","array":true,"_required":true,"index":12,"extensions":{},"required":["value"]}},"elements":{"extension":{"short":"Underlying code from the system","type":"Extension","index":0,"slicing":{"slices":{"code":{"match":{},"schema":{"short":"Underlying code from the system","type":"Extension","index":0,"extensions":"[Circular Reference]","elements":{"extension":{"index":1},"url":{"type":"uri","pattern":{"type":"uri","value":"code"},"index":2},"value":{"choices":["valueCode"],"index":4},"valueCode":{"type":"code","choiceOf":"value","index":5}},"required":["value"]},"max":1},"display":{"match":{},"schema":{"short":"Display for the group","type":"Extension","index":6,"extensions":"[Circular Reference]","elements":{"extension":{"index":7},"url":{"type":"uri","pattern":{"type":"uri","value":"display"},"index":8},"value":{"choices":["valueString"],"index":10},"valueString":{"type":"string","choiceOf":"value","index":11}},"required":["value"]},"max":1},"member":{"match":{},"schema":{"short":"Codes or other groups in this group","type":"Extension","array":true,"min":1,"_required":true,"index":12,"extensions":"[Circular Reference]","elements":{"extension":{"index":13},"url":{"type":"uri","pattern":{"type":"uri","value":"member"},"index":14},"value":{"choices":["valueCode"],"index":16},"valueCode":{"type":"code","choiceOf":"value","index":17}},"required":["value"]},"min":1}}}},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/valueset-expand-group"},"type":"uri","index":18}},"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"expand-rules","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/valueset-expand-rules","version":"4.0.1","description":"Defines how concepts are processed into the expansion when it's for UI presentation.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/valueset-expand-rules"},"type":"uri","index":1},"value":{"choices":["valueCode"],"index":3},"valueCode":{"type":"code","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"expansionSource","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/valueset-expansionSource","version":"4.0.1","description":"The logical URL of the ValueSet definition that was used to generate this expansion.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/valueset-expansionSource"},"type":"uri","index":1},"value":{"choices":["valueUri"],"index":3},"valueUri":{"type":"uri","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"expirationDate","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/valueset-expirationDate","version":"4.0.1","description":"The date when the value set version is no longer expected to be used to create new content. This is the first date-time when the value set version becomes Inactive, so this value SHALL present on all Inactive value set versions. The start Date_time is expected to be as of 0001 UTC of the Expiration Date.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/valueset-expirationDate"},"type":"uri","index":1},"value":{"choices":["valueDate"],"index":3},"valueDate":{"type":"date","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"expression","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/valueset-expression","version":"4.0.1","description":"An expression that provides an alternative definition of the content of the value set. There are two different ways to use this expression extension: If both an expression and a compose element is present, the compose is understood the make the same statement as the expression. If there is no compose, the expression is the only definition of the value set, and the value set can only be processed by a server that understands the expression syntax, it that is computable.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/valueset-expression"},"type":"uri","index":1},"value":{"choices":["valueExpression"],"index":3},"valueExpression":{"type":"Expression","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"extensible","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/valueset-extensible","version":"4.0.1","description":"Whether this is intended to be used with an extensible binding or not.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/valueset-extensible"},"type":"uri","index":1},"value":{"choices":["valueBoolean"],"index":3},"valueBoolean":{"type":"boolean","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"keyWord","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/valueset-keyWord","version":"4.0.1","description":"Word or words used in an information retrieval system to indicate the content of the value set.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/valueset-keyWord"},"type":"uri","index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"label","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/valueset-label","version":"4.0.1","description":"The label to list in front of a code when presenting a list of possible values in a questionnaire-like fashion.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/valueset-label"},"type":"uri","index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"map","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/valueset-map","version":"4.0.1","description":"A reference to a concept map that is relevant for the interpretation of this value set.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/valueset-map"},"type":"uri","index":1},"value":{"choices":["valueCanonical"],"index":3},"valueCanonical":{"type":"canonical","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"otherName","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/valueset-otherName","version":"4.0.1","description":"Human readable names for the valueset.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{"name":{"min":1,"max":1,"short":"Human readable, short and specific","isModifier":false,"_required":true,"index":0,"extensions":{},"required":["value"]},"preferred":{"max":1,"short":"Which name is preferred for this language","isModifier":false,"index":6,"extensions":{},"required":["value"]}},"elements":{"extension":{"short":"Human readable, short and specific","type":"Extension","isModifier":false,"index":0,"slicing":{"slices":{"name":{"match":{},"schema":{"short":"Human readable, short and specific","type":"Extension","isModifier":false,"_required":true,"index":0,"extensions":"[Circular Reference]","elements":{"extension":{"index":1},"url":{"type":"uri","pattern":{"type":"uri","value":"name"},"index":2},"value":{"choices":["valueString"],"index":4},"valueString":{"type":"string","choiceOf":"value","index":5}},"required":["value"]},"min":1,"max":1},"preferred":{"match":{},"schema":{"short":"Which name is preferred for this language","type":"Extension","isModifier":false,"index":6,"extensions":"[Circular Reference]","elements":{"extension":{"index":7},"url":{"type":"uri","pattern":{"type":"uri","value":"preferred"},"index":8},"value":{"choices":["valueBoolean"],"index":10},"valueBoolean":{"type":"boolean","choiceOf":"value","index":11}},"required":["value"]},"max":1}}}},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/valueset-otherName"},"type":"uri","index":12}},"required":["extension"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"parameterSource","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/valueset-parameterSource","version":"4.0.1","description":"Declares what the source of this parameter is.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/valueset-parameterSource"},"type":"uri","index":1},"value":{"choices":["valueCode"],"index":3},"valueCode":{"type":"code","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"reference","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/valueset-reference","version":"4.0.1","description":"A logical reference (e.g. a reference to ValueSet.url) that identifies the value set/version that identifies the set of possible coded values this coding was chosen from or constrained by.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/valueset-reference"},"type":"uri","index":1},"value":{"choices":["valueUri"],"index":3},"valueUri":{"type":"uri","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"rules-text","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/valueset-rules-text","version":"4.0.1","description":"An expression that provides an alternative definition of the content of the value set in some form that is not computable - e.g instructions that could only be followed by a human.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/valueset-rules-text"},"type":"uri","index":1},"value":{"choices":["valueMarkdown"],"index":3},"valueMarkdown":{"type":"markdown","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"sourceReference","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/valueset-sourceReference","version":"4.0.1","description":"This text is intended to act as a citation to work done elsewhere that is not part of the current stewarding process where the referenced source is in some way a basis of the current value set definition.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/valueset-sourceReference"},"type":"uri","index":1},"value":{"choices":["valueUri"],"index":3},"valueUri":{"type":"uri","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"special-status","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/valueset-special-status","version":"4.0.1","description":"A special note for implementers about the status of the resource.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/valueset-special-status"},"type":"uri","index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"steward","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/valueset-steward","version":"4.0.1","description":"The entity that is responsible for the content of the Value Set Definition. This is a textual description of the organizational entity responsible for the content and maintenance.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/valueset-steward"},"type":"uri","index":1},"value":{"choices":["valueContactDetail"],"index":3},"valueContactDetail":{"type":"ContactDetail","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"supplement","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/valueset-supplement","version":"4.0.1","description":"This extension declares that a value set depends on a particular supplement and should not be used in its absence.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/valueset-supplement"},"type":"uri","index":1},"value":{"choices":["valueCanonical"],"index":3},"valueCanonical":{"type":"canonical","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"system","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/valueset-system","version":"4.0.1","description":"Allows a direct reference to the code system for FHIR query.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/valueset-system"},"type":"uri","index":1},"value":{"choices":["valueCanonical"],"index":3},"valueCanonical":{"type":"canonical","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"systemName","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/valueset-systemName","version":"4.0.1","description":"The human-readable name for the code system.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/valueset-systemName"},"type":"uri","index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"systemRef","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/valueset-systemRef","version":"4.0.1","description":"The formal URI for the code system. I.e. ValueSet.codeSystem.system (or its equivalent).","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/valueset-systemRef"},"type":"uri","index":1},"value":{"choices":["valueUri"],"index":3},"valueUri":{"type":"uri","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"toocostly","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/valueset-toocostly","version":"4.0.1","description":"Marks that the expansion is incomplete, because the full value set is too large to represent, and the client asked for an incomplete fragment.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/valueset-toocostly"},"type":"uri","index":1},"value":{"choices":["valueBoolean"],"index":3},"valueBoolean":{"type":"boolean","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"trusted-expansion","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/valueset-trusted-expansion","version":"4.0.1","description":"Indicates an authoritative source for performing value set expansions.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/valueset-trusted-expansion"},"type":"uri","index":1},"value":{"choices":["valueUri"],"index":3},"valueUri":{"type":"uri","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"unclosed","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/valueset-unclosed","version":"4.0.1","description":"Marks that the expansion is incomplete, and values other than those listed may be valid. This may be used because post-coordinated codes are allowed, and no practical expansion can be produced.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/valueset-unclosed"},"type":"uri","index":1},"value":{"choices":["valueBoolean"],"index":3},"valueBoolean":{"type":"boolean","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"usage","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/valueset-usage","version":"4.0.1","description":"Consumers of the value set and the implementations, projects or standards that the author has utilized the value set in.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{"user":{"min":1,"max":1,"short":"A consumer of or client for the value set","isModifier":false,"_required":true,"index":0,"extensions":{},"required":["value"]},"use":{"min":1,"max":1,"short":"Implementation/project/standard that uses value set","isModifier":false,"_required":true,"index":6,"extensions":{},"required":["value"]}},"elements":{"extension":{"short":"A consumer of or client for the value set","type":"Extension","isModifier":false,"index":0,"slicing":{"slices":{"user":{"match":{},"schema":{"short":"A consumer of or client for the value set","type":"Extension","isModifier":false,"_required":true,"index":0,"extensions":"[Circular Reference]","elements":{"extension":{"index":1},"url":{"type":"uri","pattern":{"type":"uri","value":"user"},"index":2},"value":{"choices":["valueString"],"index":4},"valueString":{"type":"string","choiceOf":"value","index":5}},"required":["value"]},"min":1,"max":1},"use":{"match":{},"schema":{"short":"Implementation/project/standard that uses value set","type":"Extension","isModifier":false,"_required":true,"index":6,"extensions":"[Circular Reference]","elements":{"extension":{"index":7},"url":{"type":"uri","pattern":{"type":"uri","value":"use"},"index":8},"value":{"choices":["valueString"],"index":10},"valueString":{"type":"string","choiceOf":"value","index":11}},"required":["value"]},"min":1,"max":1}}}},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/valueset-usage"},"type":"uri","index":12}},"required":["extension"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"warning","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/valueset-warning","version":"4.0.1","description":"An extra warning about the correct use of the value set.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/valueset-warning"},"type":"uri","index":1},"value":{"choices":["valueMarkdown"],"index":3},"valueMarkdown":{"type":"markdown","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"workflowStatus","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/valueset-workflowStatus","version":"4.0.1","description":"Workflow Status is used to represent details of the value set development process while in a single Activity Status.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/valueset-workflowStatus"},"type":"uri","index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"activityStatusDate","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/valueset-activityStatusDate","version":"4.0.1","description":"The date when the associated Value Set Definition Version activity status is in effect.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/valueset-activityStatusDate"},"index":1},"value":{"choices":["valueDate"],"index":3},"valueDate":{"type":"date","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"author","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/valueset-author","version":"4.0.1","description":"The entity or set of entities that create and may modify the Value Set Definition content. The name of a group or an individual, along with contact details.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/valueset-author"},"index":1},"value":{"choices":["valueContactDetail"],"index":3},"valueContactDetail":{"type":"ContactDetail","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"authoritativeSource","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/valueset-authoritativeSource","version":"4.0.1","description":"A reference to the authoritative accessible, persisted source of truth of the entire Value Set Definition, including textual information and available versions.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/valueset-authoritativeSource"},"index":1},"value":{"choices":["valueUri"],"index":3},"valueUri":{"type":"uri","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"caseSensitive","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/valueset-caseSensitive","version":"4.0.1","description":"If this a case sensitive code.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/valueset-caseSensitive"},"index":1},"value":{"choices":["valueBoolean"],"index":3},"valueBoolean":{"type":"boolean","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"concept-comments","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/valueset-concept-comments","version":"4.0.1","description":"A comment that explains how this code is used in this context (where the value set is expected to be used).","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/valueset-concept-comments"},"index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"concept-definition","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/valueset-concept-definition","version":"4.0.1","description":"A definition that describes the meaning of this code when used as part of this value set.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/valueset-concept-definition"},"index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"conceptOrder","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/valueset-conceptOrder","version":"4.0.1","description":"Identifies the relative order in which concepts within the value set should be presented to a user.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/valueset-conceptOrder"},"index":1},"value":{"choices":["valueInteger"],"index":3},"valueInteger":{"type":"integer","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"deprecated","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/valueset-deprecated","version":"4.0.1","description":"if ture, indicates that the concept is deprecated from the value set - that is, it should not be used, and is planned to be withdrawn.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/valueset-deprecated"},"index":1},"value":{"choices":["valueBoolean"],"index":3},"valueBoolean":{"type":"boolean","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"effectiveDate","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/valueset-effectiveDate","version":"4.0.1","description":"This is the first date-time when the value set version becomes active, so this value is present on Inactive value set versions as well. The start Date_time is expected to be as of 0001 UTC of the Effective Date.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/valueset-effectiveDate"},"index":1},"value":{"choices":["valueDateTime"],"index":3},"valueDateTime":{"type":"dateTime","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"expand-group","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/valueset-expand-group","version":"4.0.1","description":"This extension declares a group of concepts that is generated into the ValueSet.expansion.contains hierarchy when the expansion is generated for a UI. THere is no inherent assigned meaning to the hierarchy; it is used to help the user navigate the concepts. Each group has a display and/or a code, and a list of members, which are either concepts in the value set, or other groups (by code).","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{"code":{"max":1,"short":"Underlying code from the system","index":0,"extensions":{},"required":["value"]},"display":{"max":1,"short":"Display for the group","index":6,"extensions":{},"required":["value"]},"member":{"min":1,"short":"Codes or other groups in this group","array":true,"_required":true,"index":12,"extensions":{},"required":["value"]}},"elements":{"extension":{"short":"Underlying code from the system","type":"Extension","index":0,"slicing":{"slices":{"code":{"match":{},"schema":{"short":"Underlying code from the system","type":"Extension","index":0,"extensions":"[Circular Reference]","elements":{"extension":{"index":1},"url":{"type":"uri","fixed":{"type":"uri","value":"code"},"index":2},"value":{"choices":["valueCode"],"index":4},"valueCode":{"type":"code","choiceOf":"value","index":5}},"required":["value"]},"max":1},"display":{"match":{},"schema":{"short":"Display for the group","type":"Extension","index":6,"extensions":"[Circular Reference]","elements":{"extension":{"index":7},"url":{"type":"uri","fixed":{"type":"uri","value":"display"},"index":8},"value":{"choices":["valueString"],"index":10},"valueString":{"type":"string","choiceOf":"value","index":11}},"required":["value"]},"max":1},"member":{"match":{},"schema":{"short":"Codes or other groups in this group","type":"Extension","array":true,"min":1,"_required":true,"index":12,"extensions":"[Circular Reference]","elements":{"extension":{"index":13},"url":{"type":"uri","fixed":{"type":"uri","value":"member"},"index":14},"value":{"choices":["valueCode"],"index":16},"valueCode":{"type":"code","choiceOf":"value","index":17}},"required":["value"]},"min":1}}}},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/valueset-expand-group"},"index":18}},"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"expand-rules","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/valueset-expand-rules","version":"4.0.1","description":"Defines how concepts are processed into the expansion when it's for UI presentation.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/valueset-expand-rules"},"index":1},"value":{"choices":["valueCode"],"index":3},"valueCode":{"type":"code","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"expansionSource","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/valueset-expansionSource","version":"4.0.1","description":"The logical URL of the ValueSet definition that was used to generate this expansion.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/valueset-expansionSource"},"index":1},"value":{"choices":["valueUri"],"index":3},"valueUri":{"type":"uri","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"expirationDate","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/valueset-expirationDate","version":"4.0.1","description":"The date when the value set version is no longer expected to be used to create new content. This is the first date-time when the value set version becomes Inactive, so this value SHALL present on all Inactive value set versions. The start Date_time is expected to be as of 0001 UTC of the Expiration Date.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/valueset-expirationDate"},"index":1},"value":{"choices":["valueDate"],"index":3},"valueDate":{"type":"date","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"expression","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/valueset-expression","version":"4.0.1","description":"An expression that provides an alternative definition of the content of the value set. There are two different ways to use this expression extension: If both an expression and a compose element is present, the compose is understood the make the same statement as the expression. If there is no compose, the expression is the only definition of the value set, and the value set can only be processed by a server that understands the expression syntax, it that is computable.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/valueset-expression"},"index":1},"value":{"choices":["valueExpression"],"index":3},"valueExpression":{"type":"Expression","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"extensible","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/valueset-extensible","version":"4.0.1","description":"Whether this is intended to be used with an extensible binding or not.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/valueset-extensible"},"index":1},"value":{"choices":["valueBoolean"],"index":3},"valueBoolean":{"type":"boolean","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"keyWord","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/valueset-keyWord","version":"4.0.1","description":"Word or words used in an information retrieval system to indicate the content of the value set.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/valueset-keyWord"},"index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"label","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/valueset-label","version":"4.0.1","description":"The label to list in front of a code when presenting a list of possible values in a questionnaire-like fashion.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/valueset-label"},"index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"map","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/valueset-map","version":"4.0.1","description":"A reference to a concept map that is relevant for the interpretation of this value set.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/valueset-map"},"index":1},"value":{"choices":["valueCanonical"],"index":3},"valueCanonical":{"type":"canonical","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"otherName","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/valueset-otherName","version":"4.0.1","description":"Human readable names for the valueset.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{"name":{"min":1,"max":1,"short":"Human readable, short and specific","isModifier":false,"_required":true,"index":0,"extensions":{},"required":["value"]},"preferred":{"max":1,"short":"Which name is preferred for this language","isModifier":false,"index":6,"extensions":{},"required":["value"]}},"elements":{"extension":{"short":"Human readable, short and specific","type":"Extension","isModifier":false,"index":0,"slicing":{"slices":{"name":{"match":{},"schema":{"short":"Human readable, short and specific","type":"Extension","isModifier":false,"_required":true,"index":0,"extensions":"[Circular Reference]","elements":{"extension":{"index":1},"url":{"type":"uri","fixed":{"type":"uri","value":"name"},"index":2},"value":{"choices":["valueString"],"index":4},"valueString":{"type":"string","choiceOf":"value","index":5}},"required":["value"]},"min":1,"max":1},"preferred":{"match":{},"schema":{"short":"Which name is preferred for this language","type":"Extension","isModifier":false,"index":6,"extensions":"[Circular Reference]","elements":{"extension":{"index":7},"url":{"type":"uri","fixed":{"type":"uri","value":"preferred"},"index":8},"value":{"choices":["valueBoolean"],"index":10},"valueBoolean":{"type":"boolean","choiceOf":"value","index":11}},"required":["value"]},"max":1}}}},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/valueset-otherName"},"index":12}},"required":["extension"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"parameterSource","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/valueset-parameterSource","version":"4.0.1","description":"Declares what the source of this parameter is.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/valueset-parameterSource"},"index":1},"value":{"choices":["valueCode"],"index":3},"valueCode":{"type":"code","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"reference","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/valueset-reference","version":"4.0.1","description":"A logical reference (e.g. a reference to ValueSet.url) that identifies the value set/version that identifies the set of possible coded values this coding was chosen from or constrained by.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/valueset-reference"},"index":1},"value":{"choices":["valueUri"],"index":3},"valueUri":{"type":"uri","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"rules-text","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/valueset-rules-text","version":"4.0.1","description":"An expression that provides an alternative definition of the content of the value set in some form that is not computable - e.g instructions that could only be followed by a human.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/valueset-rules-text"},"index":1},"value":{"choices":["valueMarkdown"],"index":3},"valueMarkdown":{"type":"markdown","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"sourceReference","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/valueset-sourceReference","version":"4.0.1","description":"This text is intended to act as a citation to work done elsewhere that is not part of the current stewarding process where the referenced source is in some way a basis of the current value set definition.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/valueset-sourceReference"},"index":1},"value":{"choices":["valueUri"],"index":3},"valueUri":{"type":"uri","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"special-status","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/valueset-special-status","version":"4.0.1","description":"A special note for implementers about the status of the resource.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/valueset-special-status"},"index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"steward","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/valueset-steward","version":"4.0.1","description":"The entity that is responsible for the content of the Value Set Definition. This is a textual description of the organizational entity responsible for the content and maintenance.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/valueset-steward"},"index":1},"value":{"choices":["valueContactDetail"],"index":3},"valueContactDetail":{"type":"ContactDetail","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"supplement","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/valueset-supplement","version":"4.0.1","description":"This extension declares that a value set depends on a particular supplement and should not be used in its absence.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/valueset-supplement"},"index":1},"value":{"choices":["valueCanonical"],"index":3},"valueCanonical":{"type":"canonical","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"system","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/valueset-system","version":"4.0.1","description":"Allows a direct reference to the code system for FHIR query.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/valueset-system"},"index":1},"value":{"choices":["valueCanonical"],"index":3},"valueCanonical":{"type":"canonical","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"systemName","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/valueset-systemName","version":"4.0.1","description":"The human-readable name for the code system.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/valueset-systemName"},"index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"systemRef","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/valueset-systemRef","version":"4.0.1","description":"The formal URI for the code system. I.e. ValueSet.codeSystem.system (or its equivalent).","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/valueset-systemRef"},"index":1},"value":{"choices":["valueUri"],"index":3},"valueUri":{"type":"uri","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"toocostly","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/valueset-toocostly","version":"4.0.1","description":"Marks that the expansion is incomplete, because the full value set is too large to represent, and the client asked for an incomplete fragment.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/valueset-toocostly"},"index":1},"value":{"choices":["valueBoolean"],"index":3},"valueBoolean":{"type":"boolean","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"trusted-expansion","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/valueset-trusted-expansion","version":"4.0.1","description":"Indicates an authoritative source for performing value set expansions.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/valueset-trusted-expansion"},"index":1},"value":{"choices":["valueUri"],"index":3},"valueUri":{"type":"uri","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"unclosed","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/valueset-unclosed","version":"4.0.1","description":"Marks that the expansion is incomplete, and values other than those listed may be valid. This may be used because post-coordinated codes are allowed, and no practical expansion can be produced.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/valueset-unclosed"},"index":1},"value":{"choices":["valueBoolean"],"index":3},"valueBoolean":{"type":"boolean","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"usage","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/valueset-usage","version":"4.0.1","description":"Consumers of the value set and the implementations, projects or standards that the author has utilized the value set in.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{"user":{"min":1,"max":1,"short":"A consumer of or client for the value set","isModifier":false,"_required":true,"index":0,"extensions":{},"required":["value"]},"use":{"min":1,"max":1,"short":"Implementation/project/standard that uses value set","isModifier":false,"_required":true,"index":6,"extensions":{},"required":["value"]}},"elements":{"extension":{"short":"A consumer of or client for the value set","type":"Extension","isModifier":false,"index":0,"slicing":{"slices":{"user":{"match":{},"schema":{"short":"A consumer of or client for the value set","type":"Extension","isModifier":false,"_required":true,"index":0,"extensions":"[Circular Reference]","elements":{"extension":{"index":1},"url":{"type":"uri","fixed":{"type":"uri","value":"user"},"index":2},"value":{"choices":["valueString"],"index":4},"valueString":{"type":"string","choiceOf":"value","index":5}},"required":["value"]},"min":1,"max":1},"use":{"match":{},"schema":{"short":"Implementation/project/standard that uses value set","type":"Extension","isModifier":false,"_required":true,"index":6,"extensions":"[Circular Reference]","elements":{"extension":{"index":7},"url":{"type":"uri","fixed":{"type":"uri","value":"use"},"index":8},"value":{"choices":["valueString"],"index":10},"valueString":{"type":"string","choiceOf":"value","index":11}},"required":["value"]},"min":1,"max":1}}}},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/valueset-usage"},"index":12}},"required":["extension"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"warning","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/valueset-warning","version":"4.0.1","description":"An extra warning about the correct use of the value set.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/valueset-warning"},"index":1},"value":{"choices":["valueMarkdown"],"index":3},"valueMarkdown":{"type":"markdown","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"workflowStatus","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/valueset-workflowStatus","version":"4.0.1","description":"Workflow Status is used to represent details of the value set development process while in a single Activity Status.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/valueset-workflowStatus"},"index":1},"value":{"choices":["valueString"],"index":3},"valueString":{"type":"string","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"ValueSet","type":"ValueSet","kind":"resource","class":"resource","url":"http://hl7.org/fhir/StructureDefinition/ValueSet","version":"4.0.1","description":"A ValueSet resource instance specifies a set of codes drawn from one or more code systems, intended for use in a particular context. Value sets link between [[[CodeSystem]]] definitions and their use in [coded elements](terminologies.html).","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/DomainResource","elements":{"url":{"short":"Canonical identifier for this value set, represented as a URI (globally unique)","type":"uri","isSummary":true,"index":0},"identifier":{"short":"Additional identifier for the value set (business identifier)","type":"Identifier","isSummary":true,"array":true,"index":1},"version":{"short":"Business version of the value set","type":"string","isSummary":true,"index":2},"name":{"short":"Name for this value set (computer friendly)","type":"string","isSummary":true,"index":3},"title":{"short":"Name for this value set (human friendly)","type":"string","isSummary":true,"index":4},"status":{"short":"draft | active | retired | unknown","type":"code","isModifier":true,"isModifierReason":"This is labeled as \\"Is Modifier\\" because applications should not use a retired {{title}} without due consideration","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/publication-status|4.0.1","bindingName":"PublicationStatus"},"index":5},"experimental":{"short":"For testing purposes, not real usage","type":"boolean","isSummary":true,"index":6},"date":{"short":"Date last changed","type":"dateTime","isSummary":true,"index":7},"publisher":{"short":"Name of the publisher (organization or individual)","type":"string","isSummary":true,"index":8},"contact":{"short":"Contact details for the publisher","type":"ContactDetail","isSummary":true,"array":true,"index":9},"description":{"short":"Natural language description of the value set","type":"markdown","index":10},"useContext":{"short":"The context that the content is intended to support","type":"UsageContext","isSummary":true,"array":true,"index":11},"jurisdiction":{"short":"Intended jurisdiction for value set (if applicable)","type":"CodeableConcept","isSummary":true,"binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/ValueSet/jurisdiction","bindingName":"Jurisdiction"},"array":true,"index":12},"immutable":{"short":"Indicates whether or not any change to the content logical definition may occur","type":"boolean","isSummary":true,"index":13},"purpose":{"short":"Why this value set is defined","type":"markdown","index":14},"copyright":{"short":"Use and/or publishing restrictions","type":"markdown","index":15},"compose":{"short":"Content logical definition of the value set (CLD)","type":"BackboneElement","index":16,"elements":{"lockedDate":{"short":"Fixed date for references with no specified version (transitive)","type":"date","isSummary":true,"index":17},"inactive":{"short":"Whether inactive codes are in the value set","type":"boolean","isSummary":true,"index":18},"include":{"short":"Include one or more codes from a code system or other value set(s)","type":"BackboneElement","constraint":{"vsd-2":{"expression":"(concept.exists() or filter.exists()) implies system.exists()","human":"A value set with concepts or filters SHALL include a system","severity":"error"},"vsd-3":{"expression":"concept.empty() or filter.empty()","human":"Cannot have both concept and filter","severity":"error"},"vsd-1":{"expression":"valueSet.exists() or system.exists()","human":"A value set include/exclude SHALL have a value set or a system","severity":"error"}},"isSummary":true,"array":true,"min":1,"index":19,"elements":{"system":{"short":"The system the codes come from","type":"uri","isSummary":true,"index":20},"version":{"short":"Specific version of the code system referred to","type":"string","isSummary":true,"index":21},"concept":{"short":"A concept defined in the system","type":"BackboneElement","array":true,"index":22,"elements":{"code":{"short":"Code or expression from system","type":"code","index":23},"display":{"short":"Text to display for this code for this value set in this valueset","type":"string","index":24},"designation":{"short":"Additional representations for this concept","type":"BackboneElement","array":true,"index":25,"elements":{"language":{"short":"Human language of the designation","type":"code","binding":{"strength":"preferred","valueSet":"http://hl7.org/fhir/ValueSet/languages","bindingName":"Language"},"index":26},"use":{"short":"Types of uses of designations","type":"Coding","binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/ValueSet/designation-use","bindingName":"ConceptDesignationUse"},"index":27},"value":{"short":"The text value for this designation","type":"string","index":28}},"required":["value"]}},"required":["code"]},"filter":{"short":"Select codes/concepts by their properties (including relationships)","type":"BackboneElement","isSummary":true,"array":true,"index":29,"elements":{"property":{"short":"A property/filter defined by the code system","type":"code","isSummary":true,"index":30},"op":{"short":"= | is-a | descendent-of | is-not-a | regex | in | not-in | generalizes | exists","type":"code","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/filter-operator|4.0.1","bindingName":"FilterOperator"},"index":31},"value":{"short":"Code from the system, or regex criteria, or boolean value for exists","type":"string","isSummary":true,"index":32}},"required":["op","property","value"]},"valueSet":{"short":"Select the contents included in this value set","type":"canonical","isSummary":true,"array":true,"index":33}}},"exclude":{"short":"Explicitly exclude codes from a code system or other value sets","elementReference":["http://hl7.org/fhir/StructureDefinition/ValueSet","elements","compose","elements","include"],"array":true,"index":34}},"required":["include"]},"expansion":{"short":"Used when the value set is \\"expanded\\"","type":"BackboneElement","index":35,"elements":{"identifier":{"short":"Identifies the value set expansion (business identifier)","type":"uri","index":36},"timestamp":{"short":"Time ValueSet expansion happened","type":"dateTime","index":37},"total":{"short":"Total number of codes in the expansion","type":"integer","index":38},"offset":{"short":"Offset at which this resource starts","type":"integer","meaningWhenMissing":"Paging is not being used","index":39},"parameter":{"short":"Parameter that controlled the expansion process","type":"BackboneElement","array":true,"index":40,"elements":{"name":{"short":"Name as assigned by the client or server","type":"string","index":41},"value":{"short":"Value of the named parameter","choices":["valueString","valueBoolean","valueInteger","valueDecimal","valueUri","valueCode","valueDateTime"],"index":43},"valueString":{"short":"Value of the named parameter","type":"string","choiceOf":"value","index":44},"valueBoolean":{"short":"Value of the named parameter","type":"boolean","choiceOf":"value","index":45},"valueInteger":{"short":"Value of the named parameter","type":"integer","choiceOf":"value","index":46},"valueDecimal":{"short":"Value of the named parameter","type":"decimal","choiceOf":"value","index":47},"valueUri":{"short":"Value of the named parameter","type":"uri","choiceOf":"value","index":48},"valueCode":{"short":"Value of the named parameter","type":"code","choiceOf":"value","index":49},"valueDateTime":{"short":"Value of the named parameter","type":"dateTime","choiceOf":"value","index":50}},"required":["name"]},"contains":{"short":"Codes in the value set","type":"BackboneElement","constraint":{"vsd-6":{"expression":"code.exists() or display.exists()","human":"SHALL have a code or a display","severity":"error"},"vsd-9":{"expression":"code.exists() or abstract = true","human":"Must have a code if not abstract","severity":"error"},"vsd-10":{"expression":"code.empty() or system.exists()","human":"Must have a system if a code is present","severity":"error"}},"array":true,"index":51,"elements":{"system":{"short":"System value for the code","type":"uri","index":52},"abstract":{"short":"If user cannot select this entry","type":"boolean","meaningWhenMissing":"If this is not populated, systems can assume that the concept it not abstract. This SHALL always be populated for abstract concepts","index":53},"inactive":{"short":"If concept is inactive in the code system","type":"boolean","index":54},"version":{"short":"Version in which this code/display is defined","type":"string","index":55},"code":{"short":"Code - if blank, this is not a selectable code","type":"code","index":56},"display":{"short":"User display for the concept","type":"string","index":57},"designation":{"short":"Additional representations for this item","elementReference":["http://hl7.org/fhir/StructureDefinition/ValueSet","elements","compose","elements","include","elements","concept","elements","designation"],"array":true,"index":58},"contains":{"short":"Codes contained under this entry","elementReference":["http://hl7.org/fhir/StructureDefinition/ValueSet","elements","expansion","elements","contains"],"array":true,"index":59}}}},"required":["timestamp"]}},"required":["status"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"Variable","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/variable","version":"4.0.1","description":"Variable specifying a logic to generate a variable for use in subsequent logic. The name of the variable will be added to FHIRPath's context when processing descendants of the element that contains this extension.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/variable"},"type":"uri","index":1},"value":{"choices":["valueExpression"],"index":3},"valueExpression":{"type":"Expression","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"Variable","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/variable","version":"4.0.1","description":"Variable specifying a logic to generate a variable for use in subsequent logic. The name of the variable will be added to FHIRPath's context when processing descendants of the element that contains this extension.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/variable"},"index":1},"value":{"choices":["valueExpression"],"index":3},"valueExpression":{"type":"Expression","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"VerificationResult","type":"VerificationResult","kind":"resource","class":"resource","url":"http://hl7.org/fhir/StructureDefinition/VerificationResult","version":"4.0.1","description":"Describes validation requirements, source(s), status and dates for one or more elements.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/DomainResource","elements":{"target":{"short":"A resource that was validated","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Resource"],"array":true,"index":0},"targetLocation":{"short":"The fhirpath location(s) within the resource that was validated","type":"string","isSummary":true,"array":true,"index":1},"need":{"short":"none | initial | periodic","type":"CodeableConcept","isSummary":true,"binding":{"strength":"preferred","valueSet":"http://hl7.org/fhir/ValueSet/verificationresult-need","bindingName":"need"},"index":2},"status":{"short":"attested | validated | in-process | req-revalid | val-fail | reval-fail","type":"code","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/verificationresult-status|4.0.1","bindingName":"status"},"index":3},"statusDate":{"short":"When the validation status was updated","type":"dateTime","isSummary":true,"index":4},"validationType":{"short":"nothing | primary | multiple","type":"CodeableConcept","isSummary":true,"binding":{"strength":"preferred","valueSet":"http://hl7.org/fhir/ValueSet/verificationresult-validation-type","bindingName":"validation-type"},"index":5},"validationProcess":{"short":"The primary process by which the target is validated (edit check; value set; primary source; multiple sources; standalone; in context)","type":"CodeableConcept","isSummary":true,"binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/verificationresult-validation-process","bindingName":"validation-process"},"array":true,"index":6},"frequency":{"short":"Frequency of revalidation","type":"Timing","index":7},"lastPerformed":{"short":"The date/time validation was last completed (including failed validations)","type":"dateTime","index":8},"nextScheduled":{"short":"The date when target is next validated, if appropriate","type":"date","index":9},"failureAction":{"short":"fatal | warn | rec-only | none","type":"CodeableConcept","isSummary":true,"binding":{"strength":"preferred","valueSet":"http://hl7.org/fhir/ValueSet/verificationresult-failure-action","bindingName":"failure-action"},"index":10},"primarySource":{"short":"Information about the primary source(s) involved in validation","type":"BackboneElement","array":true,"index":11,"elements":{"who":{"short":"Reference to the primary source","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Organization","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole"],"index":12},"type":{"short":"Type of primary source (License Board; Primary Education; Continuing Education; Postal Service; Relationship owner; Registration Authority; legal source; issuing source; authoritative source)","type":"CodeableConcept","isSummary":true,"binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/verificationresult-primary-source-type","bindingName":"primary-source-type"},"array":true,"index":13},"communicationMethod":{"short":"Method for exchanging information with the primary source","type":"CodeableConcept","isSummary":true,"binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/verificationresult-communication-method","bindingName":"communication-method"},"array":true,"index":14},"validationStatus":{"short":"successful | failed | unknown","type":"CodeableConcept","binding":{"strength":"preferred","valueSet":"http://hl7.org/fhir/ValueSet/verificationresult-validation-status","bindingName":"validation-status"},"index":15},"validationDate":{"short":"When the target was validated against the primary source","type":"dateTime","index":16},"canPushUpdates":{"short":"yes | no | undetermined","type":"CodeableConcept","isSummary":true,"binding":{"strength":"preferred","valueSet":"http://hl7.org/fhir/ValueSet/verificationresult-can-push-updates","bindingName":"can-push-updates"},"index":17},"pushTypeAvailable":{"short":"specific | any | source","type":"CodeableConcept","binding":{"strength":"preferred","valueSet":"http://hl7.org/fhir/ValueSet/verificationresult-push-type-available","bindingName":"push-type-available"},"array":true,"index":18}}},"attestation":{"short":"Information about the entity attesting to information","type":"BackboneElement","index":19,"elements":{"who":{"short":"The individual or organization attesting to information","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Organization","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole"],"index":20},"onBehalfOf":{"short":"When the who is asserting on behalf of another (organization or individual)","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Organization","http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole"],"index":21},"communicationMethod":{"short":"The method by which attested information was submitted/retrieved","type":"CodeableConcept","isSummary":true,"binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/verificationresult-communication-method","bindingName":"communication-method"},"index":22},"date":{"short":"The date the information was attested to","type":"date","isSummary":true,"index":23},"sourceIdentityCertificate":{"short":"A digital identity certificate associated with the attestation source","type":"string","index":24},"proxyIdentityCertificate":{"short":"A digital identity certificate associated with the proxy entity submitting attested information on behalf of the attestation source","type":"string","index":25},"proxySignature":{"short":"Proxy signature","type":"Signature","index":26},"sourceSignature":{"short":"Attester signature","type":"Signature","index":27}}},"validator":{"short":"Information about the entity validating information","type":"BackboneElement","array":true,"index":28,"elements":{"organization":{"short":"Reference to the organization validating information","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Organization"],"index":29},"identityCertificate":{"short":"A digital identity certificate associated with the validator","type":"string","index":30},"attestationSignature":{"short":"Validator signature","type":"Signature","index":31}},"required":["organization"]}},"required":["status"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"VisionPrescription","type":"VisionPrescription","kind":"resource","class":"resource","url":"http://hl7.org/fhir/StructureDefinition/VisionPrescription","version":"4.0.1","description":"An authorization for the provision of glasses and/or contact lenses to a patient.","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/DomainResource","elements":{"identifier":{"short":"Business Identifier for vision prescription","type":"Identifier","array":true,"index":0},"status":{"short":"active | cancelled | draft | entered-in-error","type":"code","isModifier":true,"isModifierReason":"This element is labelled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/fm-status|4.0.1","bindingName":"VisionStatus"},"index":1},"created":{"short":"Response creation date","type":"dateTime","isSummary":true,"index":2},"patient":{"short":"Who prescription is for","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Patient"],"index":3},"encounter":{"short":"Created during encounter / admission / stay","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/Encounter"],"index":4},"dateWritten":{"short":"When prescription was authorized","type":"dateTime","isSummary":true,"index":5},"prescriber":{"short":"Who authorized the vision prescription","type":"Reference","isSummary":true,"refers":["http://hl7.org/fhir/StructureDefinition/Practitioner","http://hl7.org/fhir/StructureDefinition/PractitionerRole"],"index":6},"lensSpecification":{"short":"Vision lens authorization","type":"BackboneElement","isSummary":true,"array":true,"min":1,"index":7,"elements":{"product":{"short":"Product to be supplied","type":"CodeableConcept","isSummary":true,"binding":{"strength":"example","valueSet":"http://hl7.org/fhir/ValueSet/vision-product","bindingName":"VisionProduct"},"index":8},"eye":{"short":"right | left","type":"code","isSummary":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/vision-eye-codes|4.0.1","bindingName":"VisionEyes"},"index":9},"sphere":{"short":"Power of the lens","type":"decimal","index":10},"cylinder":{"short":"Lens power for astigmatism","type":"decimal","index":11},"axis":{"short":"Lens meridian which contain no power for astigmatism","type":"integer","index":12},"prism":{"short":"Eye alignment compensation","type":"BackboneElement","array":true,"index":13,"elements":{"amount":{"short":"Amount of adjustment","type":"decimal","index":14},"base":{"short":"up | down | in | out","type":"code","binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/vision-base-codes|4.0.1","bindingName":"VisionBase"},"index":15}},"required":["amount","base"]},"add":{"short":"Added power for multifocal levels","type":"decimal","index":16},"power":{"short":"Contact lens power","type":"decimal","index":17},"backCurve":{"short":"Contact lens back curvature","type":"decimal","index":18},"diameter":{"short":"Contact lens diameter","type":"decimal","index":19},"duration":{"short":"Lens wear duration","type":"Quantity","index":20},"color":{"short":"Color required","type":"string","index":21},"brand":{"short":"Brand required","type":"string","index":22},"note":{"short":"Notes for coatings","type":"Annotation","array":true,"index":23}},"required":["eye","product"]}},"required":["created","dateWritten","lensSpecification","patient","prescriber","status"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"observation-vitalsigns","type":"Observation","kind":"resource","class":"profile","url":"http://hl7.org/fhir/StructureDefinition/vitalsigns","version":"4.0.1","description":"FHIR Vital Signs Profile","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Observation","elements":{"status":{"type":"code","mustSupport":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/observation-status|4.0.1","bindingName":"Status"},"index":0},"category":{"type":"CodeableConcept","mustSupport":true,"array":true,"min":1,"index":1,"slicing":{"discriminator":[{"type":"value","path":"coding.code"},{"type":"value","path":"coding.system"}],"ordered":false,"rules":"open","min":1,"slices":{"VSCat":{"match":{"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}},"schema":{"type":"CodeableConcept","mustSupport":true,"_required":true,"index":2,"elements":{"coding":{"type":"Coding","mustSupport":true,"array":true,"min":1,"index":3,"elements":{"system":{"type":"uri","pattern":{"type":"uri","value":"http://terminology.hl7.org/CodeSystem/observation-category"},"mustSupport":true,"index":4},"code":{"type":"code","pattern":{"type":"code","value":"vital-signs"},"mustSupport":true,"index":5}},"required":["code","system"]}},"required":["coding"]},"min":1,"max":1}}}},"code":{"short":"Coded Responses from C-CDA Vital Sign Results","type":"CodeableConcept","mustSupport":true,"binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/ValueSet/observation-vitalsignresult","bindingName":"VitalSigns"},"index":6},"subject":{"type":"Reference","mustSupport":true,"refers":["http://hl7.org/fhir/StructureDefinition/Patient"],"index":7},"effective":{"short":"Often just a dateTime for Vital Signs","constraint":{"vs-1":{"expression":"($this as dateTime).toString().length() >= 8","human":"if Observation.effective[x] is dateTime and has a value then that value shall be precise to the day","severity":"error"}},"mustSupport":true,"choices":["effectiveDateTime","effectivePeriod"],"index":9},"effectiveDateTime":{"short":"Often just a dateTime for Vital Signs","type":"dateTime","constraint":{"vs-1":{"expression":"($this as dateTime).toString().length() >= 8","human":"if Observation.effective[x] is dateTime and has a value then that value shall be precise to the day","severity":"error"}},"mustSupport":true,"choiceOf":"effective","index":10},"effectivePeriod":{"short":"Often just a dateTime for Vital Signs","type":"Period","constraint":{"vs-1":{"expression":"($this as dateTime).toString().length() >= 8","human":"if Observation.effective[x] is dateTime and has a value then that value shall be precise to the day","severity":"error"}},"mustSupport":true,"choiceOf":"effective","index":11},"dataAbsentReason":{"type":"CodeableConcept","mustSupport":true,"index":13},"hasMember":{"short":"Used when reporting vital signs panel components","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/MolecularSequence","http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse","http://hl7.org/fhir/StructureDefinition/vitalsigns"],"index":14},"derivedFrom":{"type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/DocumentReference","http://hl7.org/fhir/StructureDefinition/ImagingStudy","http://hl7.org/fhir/StructureDefinition/Media","http://hl7.org/fhir/StructureDefinition/MolecularSequence","http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse","http://hl7.org/fhir/StructureDefinition/vitalsigns"],"index":15},"component":{"short":"Used when reporting systolic and diastolic blood pressure.","constraint":{"vs-3":{"expression":"value.exists() or dataAbsentReason.exists()","human":"If there is no a value a data absent reason must be present","severity":"error"}},"mustSupport":true,"index":16,"elements":{"code":{"type":"CodeableConcept","mustSupport":true,"binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/ValueSet/observation-vitalsignresult","bindingName":"VitalSigns"},"index":17},"dataAbsentReason":{"type":"CodeableConcept","mustSupport":true,"index":19}},"required":["code"]}},"required":["category","code","effective","status","subject"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"observation-vitalspanel","type":"Observation","kind":"resource","class":"profile","url":"http://hl7.org/fhir/StructureDefinition/vitalspanel","version":"4.0.1","description":"FHIR Vital Signs Panel Profile","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/vitalsigns","elements":{"code":{"short":"Vital Signs Panel","index":0,"elements":{"coding":{"index":1,"slicing":{"discriminator":[{"type":"value","path":"code"},{"type":"value","path":"system"}],"ordered":false,"rules":"open","slices":{"VitalsPanelCode":{"match":{"code":"85353-1","system":"http://loinc.org"},"schema":{"index":2,"elements":{"system":{"type":"uri","pattern":{"type":"uri","value":"http://loinc.org"},"index":3},"code":{"type":"code","pattern":{"type":"code","value":"85353-1"},"index":4}}}}}}}}},"hasMember":{"mustSupport":true,"array":true,"min":1,"index":6}},"required":["hasMember"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"episodeOfCare","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/workflow-episodeOfCare","version":"4.0.1","description":"The episode(s) of care that establishes the context for this {{title}}.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/workflow-episodeOfCare"},"type":"uri","index":1},"value":{"choices":["valueReference"],"index":3},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/EpisodeOfCare"],"index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"instantiatesCanonical","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/workflow-instantiatesCanonical","version":"4.0.1","description":"The URL pointing to a FHIR-defined protocol, guideline, orderset or other definition that is adhered to in whole or in part by the event or request resource.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/workflow-instantiatesCanonical"},"type":"uri","index":1},"value":{"choices":["valueCanonical"],"index":3},"valueCanonical":{"type":"canonical","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"instantiatesUri","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/workflow-instantiatesUri","version":"4.0.1","description":"The URL pointing to an externally maintained protocol, guideline, orderset or other definition that is adhered to in whole or in part by the event or request resource.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/workflow-instantiatesUri"},"type":"uri","index":1},"value":{"choices":["valueUri"],"index":3},"valueUri":{"type":"uri","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"reasonCode","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/workflow-reasonCode","version":"4.0.1","description":"Describes why the event occurred in coded or textual form.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/workflow-reasonCode"},"type":"uri","index":1},"value":{"choices":["valueCodeableConcept"],"index":3},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"reasonReference","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/workflow-reasonReference","version":"4.0.1","description":"Indicates another resource whose existence justifies this event.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/workflow-reasonReference"},"type":"uri","index":1},"value":{"choices":["valueReference"],"index":3},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/Condition","http://hl7.org/fhir/StructureDefinition/DiagnosticReport","http://hl7.org/fhir/StructureDefinition/DocumentReference","http://hl7.org/fhir/StructureDefinition/Media","http://hl7.org/fhir/StructureDefinition/Observation"],"index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"relatedArtifact","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/workflow-relatedArtifact","version":"4.0.1","description":"Documentation or 'knowledge artifacts' relevant to the base resource such as citations, supporting evidence, documentation of processes, caveats around testing methodology.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/workflow-relatedArtifact"},"type":"uri","index":1},"value":{"choices":["valueRelatedArtifact"],"index":3},"valueRelatedArtifact":{"type":"RelatedArtifact","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"researchStudy","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/workflow-researchStudy","version":"4.0.1","description":"Indicates that this event is relevant to the specified research study(ies).","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/workflow-researchStudy"},"type":"uri","index":1},"value":{"choices":["valueReference"],"index":3},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/ResearchStudy"],"index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} -{"name":"supportingInfo","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/workflow-supportingInfo","version":"4.0.1","description":"Other resources *from the patient record* that may be relevant to the event. The information from these resources was either used to create the instance or is provided to help with its interpretation. This extension **should not** be used if more specific inline elements or extensions are available. For example, use \`Observation.hasMember\` instead of supportingInformation for representing the members of an Observation panel.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"pattern":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/workflow-supportingInfo"},"type":"uri","index":1},"value":{"choices":["valueReference"],"index":3},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/Resource"],"index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"observation-vitalsigns","type":"Observation","kind":"resource","class":"profile","url":"http://hl7.org/fhir/StructureDefinition/vitalsigns","version":"4.0.1","description":"FHIR Vital Signs Profile","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Observation","elements":{"status":{"type":"code","mustSupport":true,"binding":{"strength":"required","valueSet":"http://hl7.org/fhir/ValueSet/observation-status|4.0.1","bindingName":"Status"},"index":0},"category":{"type":"CodeableConcept","mustSupport":true,"array":true,"min":1,"index":1,"slicing":{"discriminator":[{"type":"value","path":"coding.code"},{"type":"value","path":"coding.system"}],"ordered":false,"rules":"open","min":1,"slices":{"VSCat":{"match":{"coding":{"code":"vital-signs","system":"http://terminology.hl7.org/CodeSystem/observation-category"}},"schema":{"type":"CodeableConcept","mustSupport":true,"_required":true,"index":2,"elements":{"coding":{"type":"Coding","mustSupport":true,"array":true,"min":1,"index":3,"elements":{"system":{"type":"uri","fixed":{"type":"uri","value":"http://terminology.hl7.org/CodeSystem/observation-category"},"mustSupport":true,"index":4},"code":{"type":"code","fixed":{"type":"code","value":"vital-signs"},"mustSupport":true,"index":5}},"required":["code","system"]}},"required":["coding"]},"min":1,"max":1}}}},"code":{"short":"Coded Responses from C-CDA Vital Sign Results","type":"CodeableConcept","mustSupport":true,"binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/ValueSet/observation-vitalsignresult","bindingName":"VitalSigns"},"index":6},"subject":{"type":"Reference","mustSupport":true,"refers":["http://hl7.org/fhir/StructureDefinition/Patient"],"index":7},"effective":{"short":"Often just a dateTime for Vital Signs","constraint":{"vs-1":{"expression":"($this as dateTime).toString().length() >= 8","human":"if Observation.effective[x] is dateTime and has a value then that value shall be precise to the day","severity":"error"}},"mustSupport":true,"choices":["effectiveDateTime","effectivePeriod"],"index":9},"effectiveDateTime":{"short":"Often just a dateTime for Vital Signs","type":"dateTime","constraint":{"vs-1":{"expression":"($this as dateTime).toString().length() >= 8","human":"if Observation.effective[x] is dateTime and has a value then that value shall be precise to the day","severity":"error"}},"mustSupport":true,"choiceOf":"effective","index":10},"effectivePeriod":{"short":"Often just a dateTime for Vital Signs","type":"Period","constraint":{"vs-1":{"expression":"($this as dateTime).toString().length() >= 8","human":"if Observation.effective[x] is dateTime and has a value then that value shall be precise to the day","severity":"error"}},"mustSupport":true,"choiceOf":"effective","index":11},"dataAbsentReason":{"type":"CodeableConcept","mustSupport":true,"index":13},"hasMember":{"short":"Used when reporting vital signs panel components","type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/MolecularSequence","http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse","http://hl7.org/fhir/StructureDefinition/vitalsigns"],"index":14},"derivedFrom":{"type":"Reference","refers":["http://hl7.org/fhir/StructureDefinition/DocumentReference","http://hl7.org/fhir/StructureDefinition/ImagingStudy","http://hl7.org/fhir/StructureDefinition/Media","http://hl7.org/fhir/StructureDefinition/MolecularSequence","http://hl7.org/fhir/StructureDefinition/QuestionnaireResponse","http://hl7.org/fhir/StructureDefinition/vitalsigns"],"index":15},"component":{"short":"Used when reporting systolic and diastolic blood pressure.","constraint":{"vs-3":{"expression":"value.exists() or dataAbsentReason.exists()","human":"If there is no a value a data absent reason must be present","severity":"error"}},"mustSupport":true,"index":16,"elements":{"code":{"type":"CodeableConcept","mustSupport":true,"binding":{"strength":"extensible","valueSet":"http://hl7.org/fhir/ValueSet/observation-vitalsignresult","bindingName":"VitalSigns"},"index":17},"dataAbsentReason":{"type":"CodeableConcept","mustSupport":true,"index":19}},"required":["code"]}},"required":["category","code","effective","status","subject"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"observation-vitalspanel","type":"Observation","kind":"resource","class":"profile","url":"http://hl7.org/fhir/StructureDefinition/vitalspanel","version":"4.0.1","description":"FHIR Vital Signs Panel Profile","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/vitalsigns","elements":{"code":{"short":"Vital Signs Panel","index":0,"elements":{"coding":{"index":1,"slicing":{"discriminator":[{"type":"value","path":"code"},{"type":"value","path":"system"}],"ordered":false,"rules":"open","slices":{"VitalsPanelCode":{"match":{"code":"85353-1","system":"http://loinc.org"},"schema":{"index":2,"elements":{"system":{"type":"uri","fixed":{"type":"uri","value":"http://loinc.org"},"index":3},"code":{"type":"code","fixed":{"type":"code","value":"85353-1"},"index":4}}}}}}}}},"hasMember":{"mustSupport":true,"array":true,"min":1,"index":6}},"required":["hasMember"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"episodeOfCare","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/workflow-episodeOfCare","version":"4.0.1","description":"The episode(s) of care that establishes the context for this {{title}}.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/workflow-episodeOfCare"},"index":1},"value":{"choices":["valueReference"],"index":3},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/EpisodeOfCare"],"index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"instantiatesCanonical","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/workflow-instantiatesCanonical","version":"4.0.1","description":"The URL pointing to a FHIR-defined protocol, guideline, orderset or other definition that is adhered to in whole or in part by the event or request resource.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/workflow-instantiatesCanonical"},"index":1},"value":{"choices":["valueCanonical"],"index":3},"valueCanonical":{"type":"canonical","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"instantiatesUri","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/workflow-instantiatesUri","version":"4.0.1","description":"The URL pointing to an externally maintained protocol, guideline, orderset or other definition that is adhered to in whole or in part by the event or request resource.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/workflow-instantiatesUri"},"index":1},"value":{"choices":["valueUri"],"index":3},"valueUri":{"type":"uri","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"reasonCode","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/workflow-reasonCode","version":"4.0.1","description":"Describes why the event occurred in coded or textual form.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/workflow-reasonCode"},"index":1},"value":{"choices":["valueCodeableConcept"],"index":3},"valueCodeableConcept":{"type":"CodeableConcept","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"reasonReference","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/workflow-reasonReference","version":"4.0.1","description":"Indicates another resource whose existence justifies this event.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/workflow-reasonReference"},"index":1},"value":{"choices":["valueReference"],"index":3},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/Condition","http://hl7.org/fhir/StructureDefinition/DiagnosticReport","http://hl7.org/fhir/StructureDefinition/DocumentReference","http://hl7.org/fhir/StructureDefinition/Media","http://hl7.org/fhir/StructureDefinition/Observation"],"index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"relatedArtifact","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/workflow-relatedArtifact","version":"4.0.1","description":"Documentation or 'knowledge artifacts' relevant to the base resource such as citations, supporting evidence, documentation of processes, caveats around testing methodology.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/workflow-relatedArtifact"},"index":1},"value":{"choices":["valueRelatedArtifact"],"index":3},"valueRelatedArtifact":{"type":"RelatedArtifact","choiceOf":"value","index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"researchStudy","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/workflow-researchStudy","version":"4.0.1","description":"Indicates that this event is relevant to the specified research study(ies).","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/workflow-researchStudy"},"index":1},"value":{"choices":["valueReference"],"index":3},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/ResearchStudy"],"index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} +{"name":"supportingInfo","type":"Extension","kind":"complex-type","class":"extension","url":"http://hl7.org/fhir/StructureDefinition/workflow-supportingInfo","version":"4.0.1","description":"Other resources *from the patient record* that may be relevant to the event. The information from these resources was either used to create the instance or is provided to help with its interpretation. This extension **should not** be used if more specific inline elements or extensions are available. For example, use \`Observation.hasMember\` instead of supportingInformation for representing the members of an Observation panel.","derivation":"constraint","base":"http://hl7.org/fhir/StructureDefinition/Extension","extensions":{},"elements":{"extension":{"index":0},"url":{"fixed":{"type":"uri","value":"http://hl7.org/fhir/StructureDefinition/workflow-supportingInfo"},"index":1},"value":{"choices":["valueReference"],"index":3},"valueReference":{"type":"Reference","choiceOf":"value","refers":["http://hl7.org/fhir/StructureDefinition/Resource"],"index":4}},"required":["value"],"package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} {"name":"xhtml","type":"xhtml","kind":"primitive-type","class":"primitive-type","url":"http://hl7.org/fhir/StructureDefinition/xhtml","version":"4.0.1","description":"Base StructureDefinition for xhtml Type","derivation":"specialization","base":"http://hl7.org/fhir/StructureDefinition/Element","package_meta":{"name":"hl7.fhir.r4.core","version":"4.0.1"}} " `; From ddddcbae87da33e6d457cfcc49f21c883cf6092c Mon Sep 17 00:00:00 2001 From: Aleksandr Penskoi Date: Tue, 24 Feb 2026 13:57:55 +0100 Subject: [PATCH 02/16] ts: r4 example, generate some extensions --- examples/typescript-r4/generate.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/examples/typescript-r4/generate.ts b/examples/typescript-r4/generate.ts index 0f8d91df..4b6c85f6 100644 --- a/examples/typescript-r4/generate.ts +++ b/examples/typescript-r4/generate.ts @@ -25,6 +25,9 @@ if (require.main === module) { "http://hl7.org/fhir/StructureDefinition/Patient": {}, "http://hl7.org/fhir/StructureDefinition/Observation": {}, "http://hl7.org/fhir/StructureDefinition/bodyweight": {}, + // Extensions + // "http://hl7.org/fhir/StructureDefinition/patient-birthPlace": {}, + // "http://hl7.org/fhir/StructureDefinition/patient-nationality": {}, }, }, }) From bf80bb3a9dcf568cac268e5e9bc4b220b28061b5 Mon Sep 17 00:00:00 2001 From: Aleksandr Penskoi Date: Wed, 25 Feb 2026 12:11:44 +0100 Subject: [PATCH 03/16] Capture pattern/fixed values in TypeSchema fields Add PatternValue type that preserves the kind (pattern vs fixed) alongside the type and value from FHIR element definitions. --- src/typeschema/core/field-builder.ts | 10 ++++++++++ src/typeschema/types.ts | 8 ++++++++ 2 files changed, 18 insertions(+) diff --git a/src/typeschema/core/field-builder.ts b/src/typeschema/core/field-builder.ts index 0ba8ed5a..0a03bc59 100644 --- a/src/typeschema/core/field-builder.ts +++ b/src/typeschema/core/field-builder.ts @@ -16,6 +16,7 @@ import type { FieldSlicing, Identifier, Name, + PatternValue, RegularField, RichFHIRSchema, } from "../types"; @@ -176,6 +177,14 @@ export const mkField = ( // TODO: should be an exception if (!fieldType) logger?.dryWarn(`Field type not found for '${fhirSchema.url}#${path.join(".")}' (${fhirSchema.derivation})`); + + let patternValue: PatternValue | undefined; + if (element.pattern) { + patternValue = { kind: "pattern", type: element.pattern.type, value: element.pattern.value }; + } else if (element.fixed) { + patternValue = { kind: "fixed", type: element.fixed.type, value: element.fixed.value }; + } + return { type: fieldType as Identifier, required: isRequired(register, fhirSchema, path), @@ -193,6 +202,7 @@ export const mkField = ( binding: binding, enum: enumResult, + patternValue, }; }; diff --git a/src/typeschema/types.ts b/src/typeschema/types.ts index 476b5d23..b171eae2 100644 --- a/src/typeschema/types.ts +++ b/src/typeschema/types.ts @@ -24,6 +24,12 @@ export const extractNameFromCanonical = (canonical: CanonicalUrl, dropFragment = return localName; }; +export type PatternValue = { + kind: "pattern" | "fixed"; + type: string; + value: FS.FHIRValue; +}; + export type PkgName = string; export type PkgVersion = string; @@ -260,6 +266,7 @@ export interface RegularField { min?: number; max?: number; slicing?: FieldSlicing; + patternValue?: PatternValue; } export interface ChoiceFieldDeclaration { @@ -283,6 +290,7 @@ export interface ChoiceFieldInstance { min?: number; max?: number; slicing?: FieldSlicing; + patternValue?: PatternValue; } export type Concept = { From 40f8fb27564af4d3584cc71c5ceff8291c33cff3 Mon Sep 17 00:00:00 2001 From: Aleksandr Penskoi Date: Wed, 25 Feb 2026 14:38:33 +0100 Subject: [PATCH 04/16] Add static factory methods (from, createResource, create) to profile classes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Profile classes now generate three static methods: - from(resource) — wraps an existing resource in the profile class - createResource(args) — creates a plain resource with auto-set fields (resourceType for resources, url from patternValue for extensions) and required fields as a typed params object - create(args) — shorthand that returns the resource wrapped in the profile Required fields are collected into a separate exported Params type. Extension profiles auto-set their url and accept required values as params. Resource profiles auto-set resourceType and accept required fields. Also adds R4 extension profile examples and tests covering all four extension profiles (patient-birthPlace, patient-birthTime, patient-nationality, humanname-own-prefix). --- .../extension-profile.test.ts.snap | 41 ++++++++ .../__snapshots__/extension.test.ts.snap | 97 ------------------ .../typescript-r4/extension-profile.test.ts | 76 ++++++++++++++ examples/typescript-r4/extension.test.ts | 67 ------------- .../Extension_humanname_own_prefix.ts | 40 ++++++++ .../profiles/Extension_patient_birthPlace.ts | 41 ++++++++ .../profiles/Extension_patient_birthTime.ts | 40 ++++++++ .../profiles/Extension_patient_nationality.ts | 35 +++++++ .../profiles/Observation_bodyweight.ts | 28 +++++- .../profiles/Observation_vitalsigns.ts | 28 +++++- .../hl7-fhir-r4-core/profiles/index.ts | 4 + .../typescript-r4/fhir-types/type-tree.yaml | 4 + examples/typescript-r4/generate.ts | 6 +- src/api/writer-generator/typescript.ts | 99 +++++++++++++++++-- 14 files changed, 431 insertions(+), 175 deletions(-) create mode 100644 examples/typescript-r4/__snapshots__/extension-profile.test.ts.snap delete mode 100644 examples/typescript-r4/__snapshots__/extension.test.ts.snap create mode 100644 examples/typescript-r4/extension-profile.test.ts delete mode 100644 examples/typescript-r4/extension.test.ts create mode 100644 examples/typescript-r4/fhir-types/hl7-fhir-r4-core/profiles/Extension_humanname_own_prefix.ts create mode 100644 examples/typescript-r4/fhir-types/hl7-fhir-r4-core/profiles/Extension_patient_birthPlace.ts create mode 100644 examples/typescript-r4/fhir-types/hl7-fhir-r4-core/profiles/Extension_patient_birthTime.ts create mode 100644 examples/typescript-r4/fhir-types/hl7-fhir-r4-core/profiles/Extension_patient_nationality.ts diff --git a/examples/typescript-r4/__snapshots__/extension-profile.test.ts.snap b/examples/typescript-r4/__snapshots__/extension-profile.test.ts.snap new file mode 100644 index 00000000..dacab300 --- /dev/null +++ b/examples/typescript-r4/__snapshots__/extension-profile.test.ts.snap @@ -0,0 +1,41 @@ +// Bun Snapshot v1, https://bun.sh/docs/test/snapshots + +exports[`Patient with extensions built from profiles 1`] = ` +{ + "_birthDate": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + "valueDateTime": "1770-12-17T12:00:00+01:00", + }, + ], + }, + "birthDate": "1770-12-17", + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + "valueAddress": { + "city": "Bonn", + "country": "DE", + }, + }, + ], + "name": [ + { + "_family": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/humanname-own-prefix", + "valueString": "van", + }, + ], + }, + "family": "van Beethoven", + "given": [ + "Ludwig", + ], + }, + ], + "resourceType": "Patient", +} +`; diff --git a/examples/typescript-r4/__snapshots__/extension.test.ts.snap b/examples/typescript-r4/__snapshots__/extension.test.ts.snap deleted file mode 100644 index 1f2a3b11..00000000 --- a/examples/typescript-r4/__snapshots__/extension.test.ts.snap +++ /dev/null @@ -1,97 +0,0 @@ -// Bun Snapshot v1, https://bun.sh/docs/test/snapshots - -exports[`Patient with extensions 1`] = ` -{ - "_birthDate": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - "valueDateTime": "1990-03-15T08:22:00-05:00", - }, - ], - }, - "birthDate": "1990-03-15", - "contact": [ - { - "extension": [ - { - "url": "http://example.org/fhir/StructureDefinition/contact-priority", - "valueInteger": 1, - }, - ], - "name": { - "family": "Watson", - "given": [ - "John", - ], - }, - "telecom": [ - { - "system": "phone", - "value": "+44-20-7946-1234", - }, - ], - }, - ], - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - "valueAddress": { - "city": "Springfield", - "country": "US", - }, - }, - ], - "id": "ext-demo", - "modifierExtension": [ - { - "url": "http://example.org/fhir/StructureDefinition/do-not-contact", - "valueBoolean": false, - }, - ], - "name": [ - { - "_family": { - "extension": [ - { - "url": "http://hl7.org/fhir/StructureDefinition/humanname-own-prefix", - "valueString": "van", - }, - ], - }, - "_given": [ - { - "extension": [ - { - "url": "http://example.org/fhir/StructureDefinition/name-source", - "valueCode": "birth-certificate", - }, - ], - }, - null, - { - "extension": [ - { - "url": "http://example.org/fhir/StructureDefinition/name-source", - "valueCode": "baptism-record", - }, - ], - }, - ], - "extension": [ - { - "url": "http://example.org/fhir/StructureDefinition/name-verified", - "valueBoolean": true, - }, - ], - "family": "van Beethoven", - "given": [ - "Ludwig", - "Maria", - "Johann", - ], - }, - ], - "resourceType": "Patient", -} -`; diff --git a/examples/typescript-r4/extension-profile.test.ts b/examples/typescript-r4/extension-profile.test.ts new file mode 100644 index 00000000..1a8a6b26 --- /dev/null +++ b/examples/typescript-r4/extension-profile.test.ts @@ -0,0 +1,76 @@ +/** + * FHIR R4 Extension Profile Tests + * + * Tests generated extension profile classes: static factory methods and resource wrapping. + */ + +import { expect, test } from "bun:test"; +import type { HumanName } from "./fhir-types/hl7-fhir-r4-core/HumanName"; +import type { Patient, } from "./fhir-types/hl7-fhir-r4-core/Patient"; +import { humanname_own_prefixProfile } from "./fhir-types/hl7-fhir-r4-core/profiles/Extension_humanname_own_prefix"; +import { patient_birthPlaceProfile } from "./fhir-types/hl7-fhir-r4-core/profiles/Extension_patient_birthPlace"; +import { patient_birthTimeProfile } from "./fhir-types/hl7-fhir-r4-core/profiles/Extension_patient_birthTime"; +import { patient_nationalityProfile } from "./fhir-types/hl7-fhir-r4-core/profiles/Extension_patient_nationality"; + +test("Patient with extensions built from profiles", () => { + const name: HumanName = { + family: "van Beethoven", + _family: { + extension: [humanname_own_prefixProfile.createResource({ valueString: "van" })], + }, + given: ["Ludwig"], + }; + + const patient: Patient = { + resourceType: "Patient", + extension: [patient_birthPlaceProfile.createResource({ valueAddress: { city: "Bonn", country: "DE" } })], + birthDate: "1770-12-17", + _birthDate: { + extension: [patient_birthTimeProfile.createResource({ valueDateTime: "1770-12-17T12:00:00+01:00" })], + }, + name: [name], + }; + + expect(patient).toMatchSnapshot(); +}); + +test("from() wraps existing resource", () => { + const ext = patient_birthPlaceProfile.createResource({ valueAddress: { city: "Boston" } }); + const profile = patient_birthPlaceProfile.from(ext); + expect(profile.toResource()).toBe(ext); +}); + +test("createResource() sets url and required value (Address)", () => { + const resource = patient_birthPlaceProfile.createResource({ valueAddress: { city: "Boston", country: "US" } }); + expect(resource.url).toBe("http://hl7.org/fhir/StructureDefinition/patient-birthPlace"); + expect(resource.valueAddress).toEqual({ city: "Boston", country: "US" }); +}); + +test("createResource() sets url and required value (string)", () => { + const resource = humanname_own_prefixProfile.createResource({ valueString: "van" }); + expect(resource.url).toBe("http://hl7.org/fhir/StructureDefinition/humanname-own-prefix"); + expect(resource.valueString).toBe("van"); +}); + +test("createResource() sets url and required value (dateTime)", () => { + const resource = patient_birthTimeProfile.createResource({ valueDateTime: "1990-03-15T08:22:00-05:00" }); + expect(resource.url).toBe("http://hl7.org/fhir/StructureDefinition/patient-birthTime"); + expect(resource.valueDateTime).toBe("1990-03-15T08:22:00-05:00"); +}); + +test("createResource() with no required params sets only url", () => { + const resource = patient_nationalityProfile.createResource(); + expect(resource.url).toBe("http://hl7.org/fhir/StructureDefinition/patient-nationality"); +}); + +test("create() returns profile wrapping new resource", () => { + const profile = patient_birthPlaceProfile.create({ valueAddress: { city: "Vienna" } }); + const resource = profile.toResource(); + expect(resource.url).toBe("http://hl7.org/fhir/StructureDefinition/patient-birthPlace"); + expect(resource.valueAddress).toEqual({ city: "Vienna" }); +}); + +test("create() with no required params", () => { + const profile = patient_nationalityProfile.create(); + expect(profile.toResource().url).toBe("http://hl7.org/fhir/StructureDefinition/patient-nationality"); +}); diff --git a/examples/typescript-r4/extension.test.ts b/examples/typescript-r4/extension.test.ts deleted file mode 100644 index 4b7b384c..00000000 --- a/examples/typescript-r4/extension.test.ts +++ /dev/null @@ -1,67 +0,0 @@ -/** - * FHIR R4 Extension Demo Test - * - * Uses Bun snapshot testing to validate the generated Patient resource. - */ - -import { expect, test } from "bun:test"; -import type { HumanName } from "./fhir-types/hl7-fhir-r4-core/HumanName"; -import type { Patient, PatientContact } from "./fhir-types/hl7-fhir-r4-core/Patient"; - -function createPatientWithExtensions(): Patient { - const name: HumanName = { - extension: [{ url: "http://example.org/fhir/StructureDefinition/name-verified", valueBoolean: true }], - family: "van Beethoven", - _family: { - extension: [{ url: "http://hl7.org/fhir/StructureDefinition/humanname-own-prefix", valueString: "van" }], - }, - given: ["Ludwig", "Maria", "Johann"], - _given: [ - { - extension: [ - { url: "http://example.org/fhir/StructureDefinition/name-source", valueCode: "birth-certificate" }, - ], - }, - null, - { - extension: [ - { url: "http://example.org/fhir/StructureDefinition/name-source", valueCode: "baptism-record" }, - ], - }, - ], - }; - - const contact: PatientContact = { - extension: [{ url: "http://example.org/fhir/StructureDefinition/contact-priority", valueInteger: 1 }], - name: { family: "Watson", given: ["John"] }, - telecom: [{ system: "phone", value: "+44-20-7946-1234" }], - }; - - return { - resourceType: "Patient", - id: "ext-demo", - extension: [ - { - url: "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", - valueAddress: { city: "Springfield", country: "US" }, - }, - ], - modifierExtension: [{ url: "http://example.org/fhir/StructureDefinition/do-not-contact", valueBoolean: false }], - birthDate: "1990-03-15", - _birthDate: { - extension: [ - { - url: "http://hl7.org/fhir/StructureDefinition/patient-birthTime", - valueDateTime: "1990-03-15T08:22:00-05:00", - }, - ], - }, - name: [name], - contact: [contact], - }; -} - -test("Patient with extensions", () => { - const patient = createPatientWithExtensions(); - expect(patient).toMatchSnapshot(); -}); diff --git a/examples/typescript-r4/fhir-types/hl7-fhir-r4-core/profiles/Extension_humanname_own_prefix.ts b/examples/typescript-r4/fhir-types/hl7-fhir-r4-core/profiles/Extension_humanname_own_prefix.ts new file mode 100644 index 00000000..eaef4691 --- /dev/null +++ b/examples/typescript-r4/fhir-types/hl7-fhir-r4-core/profiles/Extension_humanname_own_prefix.ts @@ -0,0 +1,40 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +export type humanname_own_prefixProfileParams = { + valueString: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/humanname-own-prefix (pkg: hl7.fhir.r4.core#4.0.1) +export class humanname_own_prefixProfile { + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : humanname_own_prefixProfile { + return new humanname_own_prefixProfile(resource) + } + + static createResource (args: humanname_own_prefixProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/humanname-own-prefix", + valueString: args.valueString, + } as Extension + return resource + } + + static create (args: humanname_own_prefixProfileParams) : humanname_own_prefixProfile { + return humanname_own_prefixProfile.from(humanname_own_prefixProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + +} + diff --git a/examples/typescript-r4/fhir-types/hl7-fhir-r4-core/profiles/Extension_patient_birthPlace.ts b/examples/typescript-r4/fhir-types/hl7-fhir-r4-core/profiles/Extension_patient_birthPlace.ts new file mode 100644 index 00000000..517195dd --- /dev/null +++ b/examples/typescript-r4/fhir-types/hl7-fhir-r4-core/profiles/Extension_patient_birthPlace.ts @@ -0,0 +1,41 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Address } from "../../hl7-fhir-r4-core/Address"; +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +export type patient_birthPlaceProfileParams = { + valueAddress: Address; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/patient-birthPlace (pkg: hl7.fhir.r4.core#4.0.1) +export class patient_birthPlaceProfile { + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : patient_birthPlaceProfile { + return new patient_birthPlaceProfile(resource) + } + + static createResource (args: patient_birthPlaceProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", + valueAddress: args.valueAddress, + } as Extension + return resource + } + + static create (args: patient_birthPlaceProfileParams) : patient_birthPlaceProfile { + return patient_birthPlaceProfile.from(patient_birthPlaceProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + +} + diff --git a/examples/typescript-r4/fhir-types/hl7-fhir-r4-core/profiles/Extension_patient_birthTime.ts b/examples/typescript-r4/fhir-types/hl7-fhir-r4-core/profiles/Extension_patient_birthTime.ts new file mode 100644 index 00000000..6e40fd7b --- /dev/null +++ b/examples/typescript-r4/fhir-types/hl7-fhir-r4-core/profiles/Extension_patient_birthTime.ts @@ -0,0 +1,40 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +export type patient_birthTimeProfileParams = { + valueDateTime: string; +} + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/patient-birthTime (pkg: hl7.fhir.r4.core#4.0.1) +export class patient_birthTimeProfile { + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : patient_birthTimeProfile { + return new patient_birthTimeProfile(resource) + } + + static createResource (args: patient_birthTimeProfileParams) : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/patient-birthTime", + valueDateTime: args.valueDateTime, + } as Extension + return resource + } + + static create (args: patient_birthTimeProfileParams) : patient_birthTimeProfile { + return patient_birthTimeProfile.from(patient_birthTimeProfile.createResource(args)) + } + + toResource () : Extension { + return this.resource + } + +} + diff --git a/examples/typescript-r4/fhir-types/hl7-fhir-r4-core/profiles/Extension_patient_nationality.ts b/examples/typescript-r4/fhir-types/hl7-fhir-r4-core/profiles/Extension_patient_nationality.ts new file mode 100644 index 00000000..817494fe --- /dev/null +++ b/examples/typescript-r4/fhir-types/hl7-fhir-r4-core/profiles/Extension_patient_nationality.ts @@ -0,0 +1,35 @@ +// WARNING: This file is autogenerated by @atomic-ehr/codegen. +// GitHub: https://github.com/atomic-ehr/codegen +// Any manual changes made to this file may be overwritten. + +import type { Extension } from "../../hl7-fhir-r4-core/Extension"; + +// CanonicalURL: http://hl7.org/fhir/StructureDefinition/patient-nationality (pkg: hl7.fhir.r4.core#4.0.1) +export class patient_nationalityProfile { + private resource: Extension + + constructor (resource: Extension) { + this.resource = resource + } + + static from (resource: Extension) : patient_nationalityProfile { + return new patient_nationalityProfile(resource) + } + + static createResource () : Extension { + const resource: Extension = { + url: "http://hl7.org/fhir/StructureDefinition/patient-nationality", + } as Extension + return resource + } + + static create () : patient_nationalityProfile { + return patient_nationalityProfile.from(patient_nationalityProfile.createResource()) + } + + toResource () : Extension { + return this.resource + } + +} + diff --git a/examples/typescript-r4/fhir-types/hl7-fhir-r4-core/profiles/Observation_bodyweight.ts b/examples/typescript-r4/fhir-types/hl7-fhir-r4-core/profiles/Observation_bodyweight.ts index fc0c1a75..818a35a9 100644 --- a/examples/typescript-r4/fhir-types/hl7-fhir-r4-core/profiles/Observation_bodyweight.ts +++ b/examples/typescript-r4/fhir-types/hl7-fhir-r4-core/profiles/Observation_bodyweight.ts @@ -6,7 +6,6 @@ import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; import type { Observation } from "../../hl7-fhir-r4-core/Observation"; import type { Reference } from "../../hl7-fhir-r4-core/Reference"; -// CanonicalURL: http://hl7.org/fhir/StructureDefinition/bodyweight (pkg: hl7.fhir.r4.core#4.0.1) export interface observation_bodyweight extends Observation { category: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]; subject: Reference<"Patient">; @@ -16,6 +15,14 @@ export type Observation_bodyweight_Category_VSCatSliceInput = Omit[]; subject: Reference<"Patient">; @@ -16,6 +15,14 @@ export type Observation_vitalsigns_Category_VSCatSliceInput = Omit { return `${normalizeTsName(schema.identifier.name)}Profile`; }; +type ProfileFactoryInfo = { + autoFields: { name: string; value: string }[]; + params: { name: string; tsType: string; typeId: Identifier }[]; +}; + +const collectProfileFactoryInfo = (flatProfile: ProfileTypeSchema): ProfileFactoryInfo => { + const autoFields: ProfileFactoryInfo["autoFields"] = []; + const params: ProfileFactoryInfo["params"] = []; + const fields = flatProfile.fields ?? {}; + + if (isResourceIdentifier(flatProfile.base)) { + autoFields.push({ name: "resourceType", value: JSON.stringify(flatProfile.base.name) }); + } + + for (const [name, field] of Object.entries(fields)) { + if (isChoiceInstanceField(field)) continue; + if (field.excluded) continue; + + // Required choice declaration with a single choice — promote that choice to a param + if (isChoiceDeclarationField(field)) { + if (field.required && field.choices.length === 1) { + const choiceName = field.choices[0]!; + const choiceField = fields[choiceName]; + if (choiceField && isChoiceInstanceField(choiceField)) { + const tsType = tsTypeFromIdentifier(choiceField.type) + (choiceField.array ? "[]" : ""); + params.push({ name: choiceName, tsType, typeId: choiceField.type }); + } + } + continue; + } + + if (field.patternValue) { + autoFields.push({ name, value: JSON.stringify(field.patternValue.value) }); + continue; + } + + if (field.required) { + const tsType = tsTypeFromIdentifier(field.type) + (field.array ? "[]" : ""); + params.push({ name, tsType, typeId: field.type }); + } + } + + return { autoFields, params }; +}; + const tsSliceInputTypeName = (profileName: string, fieldName: string, sliceName: string): string => { return `${uppercaseFirstLetter(profileName)}_${uppercaseFirstLetter(normalizeTsName(fieldName))}_${uppercaseFirstLetter(normalizeTsName(sliceName))}SliceInput`; }; @@ -959,6 +1006,9 @@ export class TypeScript extends Writer { const needsExtensionType = this.collectTypesFromExtensions(tsIndex, flatProfile, addType); this.collectTypesFromFieldOverrides(tsIndex, flatProfile, addType); + const factoryInfo = collectProfileFactoryInfo(flatProfile); + for (const param of factoryInfo.params) addType(param.typeId); + if (needsExtensionType) { const extensionUrl = "http://hl7.org/fhir/StructureDefinition/Extension" as CanonicalUrl; const extensionSchema = tsIndex.resolveByUrl(flatProfile.identifier.package, extensionUrl); @@ -972,7 +1022,7 @@ export class TypeScript extends Writer { if (sortedImports.length > 0) this.line(); } - generateProfileClass(tsIndex: TypeSchemaIndex, flatProfile: ProfileTypeSchema) { + generateProfileClass(tsIndex: TypeSchemaIndex, flatProfile: ProfileTypeSchema, schema?: TypeSchema) { const tsBaseResourceName = tsTypeFromIdentifier(flatProfile.base); const tsProfileName = tsResourceName(flatProfile.identifier); const profileClassName = tsProfileClassName(flatProfile); @@ -1096,7 +1146,28 @@ export class TypeScript extends Writer { // Check if we have an override interface (narrowed types) const hasOverrideInterface = this.detectFieldOverrides(tsIndex, flatProfile).size > 0; + const factoryInfo = collectProfileFactoryInfo(flatProfile); + + const hasParams = factoryInfo.params.length > 0; + const createArgsTypeName = `${profileClassName}Params`; + const paramSignature = hasParams ? `args: ${createArgsTypeName}` : ""; + const allFields = [ + ...factoryInfo.autoFields.map((f) => ({ name: f.name, value: f.value })), + ...factoryInfo.params.map((p) => ({ name: p.name, value: `args.${p.name}` })), + ]; + + if (hasParams) { + this.curlyBlock(["export", "type", createArgsTypeName, "="], () => { + for (const p of factoryInfo.params) { + this.lineSM(`${p.name}: ${p.tsType}`); + } + }); + this.line(); + } + if (schema) { + this.comment("CanonicalURL:", schema.identifier.url, `(pkg: ${packageMetaToFhir(packageMeta(schema))})`); + } this.curlyBlock(["export", "class", profileClassName], () => { this.line(`private resource: ${tsBaseResourceName}`); this.line(); @@ -1104,6 +1175,25 @@ export class TypeScript extends Writer { this.line("this.resource = resource"); }); this.line(); + this.curlyBlock(["static", "from", `(resource: ${tsBaseResourceName})`, `: ${profileClassName}`], () => { + this.line(`return new ${profileClassName}(resource)`); + }); + this.line(); + this.curlyBlock(["static", "createResource", `(${paramSignature})`, `: ${tsBaseResourceName}`], () => { + this.curlyBlock([`const resource: ${tsBaseResourceName} =`], () => { + for (const f of allFields) { + this.line(`${f.name}: ${f.value},`); + } + }, [` as ${tsBaseResourceName}`]); + this.line("return resource"); + }); + this.line(); + this.curlyBlock(["static", "create", `(${paramSignature})`, `: ${profileClassName}`], () => { + this.line( + `return ${profileClassName}.from(${profileClassName}.createResource(${hasParams ? "args" : ""}))`, + ); + }); + this.line(); // toResource() returns base type (e.g., Patient) this.curlyBlock(["toResource", "()", `: ${tsBaseResourceName}`], () => { this.line("return this.resource"); @@ -1489,13 +1579,8 @@ export class TypeScript extends Writer { this.generateDisclaimer(); const flatProfile = tsIndex.flatProfile(schema); this.generateProfileImports(tsIndex, flatProfile); - this.comment( - "CanonicalURL:", - schema.identifier.url, - `(pkg: ${packageMetaToFhir(packageMeta(schema))})`, - ); this.generateProfileOverrideInterface(tsIndex, flatProfile); - this.generateProfileClass(tsIndex, flatProfile); + this.generateProfileClass(tsIndex, flatProfile, schema); }); }); } else if (["complex-type", "resource", "logical"].includes(schema.identifier.kind)) { From 31d18e222e4fc077f1ba351edc411dd32e9cad4a Mon Sep 17 00:00:00 2001 From: Aleksandr Penskoi Date: Wed, 25 Feb 2026 15:01:24 +0100 Subject: [PATCH 05/16] Add getter/setter methods to profile classes and fix sub-extension extraction Profile classes now generate getter/setter methods for required fields (e.g., getValueAddress/setValueAddress for extension profiles, getStatus/setStatus for resource profiles). Setters return `this` for chaining. Fix transformer to extract sub-extension URLs and value types from slicing data when the extensions object entries lack a url field. This enables complex extension profiles like patient-nationality to generate proper getter/setter methods for their sub-extensions (code, period). --- .../Extension_humanname_own_prefix.ts | 9 +++++ .../profiles/Extension_patient_birthPlace.ts | 9 +++++ .../profiles/Extension_patient_birthTime.ts | 9 +++++ .../profiles/Extension_patient_nationality.ts | 34 ++++++++++++++++++ .../profiles/Observation_bodyweight.ts | 36 +++++++++++++++++++ .../profiles/Observation_vitalsigns.ts | 36 +++++++++++++++++++ src/api/writer-generator/typescript.ts | 13 +++++++ src/typeschema/core/transformer.ts | 31 ++++++++++++++-- 8 files changed, 174 insertions(+), 3 deletions(-) diff --git a/examples/typescript-r4/fhir-types/hl7-fhir-r4-core/profiles/Extension_humanname_own_prefix.ts b/examples/typescript-r4/fhir-types/hl7-fhir-r4-core/profiles/Extension_humanname_own_prefix.ts index eaef4691..8d959e41 100644 --- a/examples/typescript-r4/fhir-types/hl7-fhir-r4-core/profiles/Extension_humanname_own_prefix.ts +++ b/examples/typescript-r4/fhir-types/hl7-fhir-r4-core/profiles/Extension_humanname_own_prefix.ts @@ -36,5 +36,14 @@ export class humanname_own_prefixProfile { return this.resource } + getValueString () : string | undefined { + return this.resource.valueString + } + + setValueString (value: string) : this { + this.resource.valueString = value + return this + } + } diff --git a/examples/typescript-r4/fhir-types/hl7-fhir-r4-core/profiles/Extension_patient_birthPlace.ts b/examples/typescript-r4/fhir-types/hl7-fhir-r4-core/profiles/Extension_patient_birthPlace.ts index 517195dd..efcea0e6 100644 --- a/examples/typescript-r4/fhir-types/hl7-fhir-r4-core/profiles/Extension_patient_birthPlace.ts +++ b/examples/typescript-r4/fhir-types/hl7-fhir-r4-core/profiles/Extension_patient_birthPlace.ts @@ -37,5 +37,14 @@ export class patient_birthPlaceProfile { return this.resource } + getValueAddress () : Address | undefined { + return this.resource.valueAddress + } + + setValueAddress (value: Address) : this { + this.resource.valueAddress = value + return this + } + } diff --git a/examples/typescript-r4/fhir-types/hl7-fhir-r4-core/profiles/Extension_patient_birthTime.ts b/examples/typescript-r4/fhir-types/hl7-fhir-r4-core/profiles/Extension_patient_birthTime.ts index 6e40fd7b..4688e4c7 100644 --- a/examples/typescript-r4/fhir-types/hl7-fhir-r4-core/profiles/Extension_patient_birthTime.ts +++ b/examples/typescript-r4/fhir-types/hl7-fhir-r4-core/profiles/Extension_patient_birthTime.ts @@ -36,5 +36,14 @@ export class patient_birthTimeProfile { return this.resource } + getValueDateTime () : string | undefined { + return this.resource.valueDateTime + } + + setValueDateTime (value: string) : this { + this.resource.valueDateTime = value + return this + } + } diff --git a/examples/typescript-r4/fhir-types/hl7-fhir-r4-core/profiles/Extension_patient_nationality.ts b/examples/typescript-r4/fhir-types/hl7-fhir-r4-core/profiles/Extension_patient_nationality.ts index 817494fe..91eb1bd2 100644 --- a/examples/typescript-r4/fhir-types/hl7-fhir-r4-core/profiles/Extension_patient_nationality.ts +++ b/examples/typescript-r4/fhir-types/hl7-fhir-r4-core/profiles/Extension_patient_nationality.ts @@ -2,7 +2,9 @@ // GitHub: https://github.com/atomic-ehr/codegen // Any manual changes made to this file may be overwritten. +import type { CodeableConcept } from "../../hl7-fhir-r4-core/CodeableConcept"; import type { Extension } from "../../hl7-fhir-r4-core/Extension"; +import type { Period } from "../../hl7-fhir-r4-core/Period"; // CanonicalURL: http://hl7.org/fhir/StructureDefinition/patient-nationality (pkg: hl7.fhir.r4.core#4.0.1) export class patient_nationalityProfile { @@ -31,5 +33,37 @@ export class patient_nationalityProfile { return this.resource } + public setCode (value: CodeableConcept): this { + const list = (this.resource.extension ??= []) + list.push({ url: "code", valueCodeableConcept: value }) + return this + } + + public setPeriod (value: Period): this { + const list = (this.resource.extension ??= []) + list.push({ url: "period", valuePeriod: value }) + return this + } + + public getCode (): CodeableConcept | undefined { + const ext = this.resource.extension?.find(e => e.url === "code") + return ext?.valueCodeableConcept + } + + public getCodeExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "code") + return ext + } + + public getPeriod (): Period | undefined { + const ext = this.resource.extension?.find(e => e.url === "period") + return ext?.valuePeriod + } + + public getPeriodExtension (): Extension | undefined { + const ext = this.resource.extension?.find(e => e.url === "period") + return ext + } + } diff --git a/examples/typescript-r4/fhir-types/hl7-fhir-r4-core/profiles/Observation_bodyweight.ts b/examples/typescript-r4/fhir-types/hl7-fhir-r4-core/profiles/Observation_bodyweight.ts index 818a35a9..58d244ff 100644 --- a/examples/typescript-r4/fhir-types/hl7-fhir-r4-core/profiles/Observation_bodyweight.ts +++ b/examples/typescript-r4/fhir-types/hl7-fhir-r4-core/profiles/Observation_bodyweight.ts @@ -53,6 +53,42 @@ export class bodyweightProfile { return this.resource } + getStatus () : string | undefined { + return this.resource.status + } + + setStatus (value: string) : this { + this.resource.status = value + return this + } + + getCategory () : CodeableConcept[] | undefined { + return this.resource.category + } + + setCategory (value: CodeableConcept[]) : this { + this.resource.category = value + return this + } + + getCode () : CodeableConcept | undefined { + return this.resource.code + } + + setCode (value: CodeableConcept) : this { + this.resource.code = value + return this + } + + getSubject () : Reference | undefined { + return this.resource.subject + } + + setSubject (value: Reference) : this { + this.resource.subject = value + return this + } + toProfile () : observation_bodyweight { return this.resource as observation_bodyweight } diff --git a/examples/typescript-r4/fhir-types/hl7-fhir-r4-core/profiles/Observation_vitalsigns.ts b/examples/typescript-r4/fhir-types/hl7-fhir-r4-core/profiles/Observation_vitalsigns.ts index c2d1c682..355bd45b 100644 --- a/examples/typescript-r4/fhir-types/hl7-fhir-r4-core/profiles/Observation_vitalsigns.ts +++ b/examples/typescript-r4/fhir-types/hl7-fhir-r4-core/profiles/Observation_vitalsigns.ts @@ -53,6 +53,42 @@ export class vitalsignsProfile { return this.resource } + getStatus () : string | undefined { + return this.resource.status + } + + setStatus (value: string) : this { + this.resource.status = value + return this + } + + getCategory () : CodeableConcept[] | undefined { + return this.resource.category + } + + setCategory (value: CodeableConcept[]) : this { + this.resource.category = value + return this + } + + getCode () : CodeableConcept | undefined { + return this.resource.code + } + + setCode (value: CodeableConcept) : this { + this.resource.code = value + return this + } + + getSubject () : Reference | undefined { + return this.resource.subject + } + + setSubject (value: Reference) : this { + this.resource.subject = value + return this + } + toProfile () : observation_vitalsigns { return this.resource as observation_vitalsigns } diff --git a/src/api/writer-generator/typescript.ts b/src/api/writer-generator/typescript.ts index 278009b4..27f9dc23 100644 --- a/src/api/writer-generator/typescript.ts +++ b/src/api/writer-generator/typescript.ts @@ -1199,6 +1199,19 @@ export class TypeScript extends Writer { this.line("return this.resource"); }); this.line(); + // Getter and setter methods for required profile fields + for (const p of factoryInfo.params) { + const methodSuffix = uppercaseFirstLetter(p.name); + this.curlyBlock([`get${methodSuffix}`, "()", `: ${p.tsType} | undefined`], () => { + this.line(`return this.resource.${p.name}`); + }); + this.line(); + this.curlyBlock([`set${methodSuffix}`, `(value: ${p.tsType})`, ": this"], () => { + this.line(`this.resource.${p.name} = value`); + this.line("return this"); + }); + this.line(); + } // toProfile() returns casted profile type if override interface exists if (hasOverrideInterface) { this.curlyBlock(["toProfile", "()", `: ${tsProfileName}`], () => { diff --git a/src/typeschema/core/transformer.ts b/src/typeschema/core/transformer.ts index 1636c081..9570c749 100644 --- a/src/typeschema/core/transformer.ts +++ b/src/typeschema/core/transformer.ts @@ -271,9 +271,34 @@ function extractProfileExtensions( const extensions: ProfileExtension[] = []; const addExtensionEntry = (path: string[], name: string, schema: FHIRSchemaElement) => { - const url = schema.url as CanonicalUrl | undefined; - const valueTypes = url ? extractExtensionValueTypes(register, fhirSchema, url, logger) : undefined; - const subExtensions = url ? extractSubExtensions(register, fhirSchema, url, logger) : undefined; + let url = schema.url as CanonicalUrl | undefined; + let valueTypes = url ? extractExtensionValueTypes(register, fhirSchema, url, logger) : undefined; + let subExtensions = url ? extractSubExtensions(register, fhirSchema, url, logger) : undefined; + + // For extension profiles, sub-extension entries may lack a url. + // Fall back to slicing data to extract the url and value type. + if (!url) { + const sliceSchema = (fhirSchema.elements?.extension as any)?.slicing?.slices?.[name]?.schema; + if (sliceSchema) { + url = (sliceSchema.elements?.url?.fixed?.value ?? name) as CanonicalUrl; + for (const [elemKey, elemValue] of Object.entries(sliceSchema.elements ?? {})) { + const elem = elemValue as { choiceOf?: string; type?: string }; + if (elem.choiceOf === "value" && elem.type) { + valueTypes = [ + { + kind: "complex-type" as const, + package: fhirSchema.package_meta.name, + version: fhirSchema.package_meta.version, + name: elem.type as Name, + url: `http://hl7.org/fhir/StructureDefinition/${elem.type}` as CanonicalUrl, + }, + ]; + break; + } + } + } + } + const isComplex = subExtensions !== undefined && subExtensions.length > 0; extensions.push({ name, From 716845e2422177a695bba6209784afd58dd060d3 Mon Sep 17 00:00:00 2001 From: Aleksandr Penskoi Date: Wed, 25 Feb 2026 15:45:12 +0100 Subject: [PATCH 06/16] Use name field for profile class names and file names Derive profile class names and file names from schema.identifier.name instead of extractNameFromCanonical(url). This produces cleaner names for extensions by dropping redundant prefixes (e.g., birthPlaceProfile instead of patient_birthPlaceProfile). --- .../typescript-r4/extension-profile.test.ts | 30 ++++++------ ..._birthPlace.ts => Extension_birthPlace.ts} | 14 +++--- ...nt_birthTime.ts => Extension_birthTime.ts} | 14 +++--- ...ationality.ts => Extension_nationality.ts} | 10 ++-- ..._own_prefix.ts => Extension_own_prefix.ts} | 14 +++--- ... => Observation_observation_bodyweight.ts} | 14 +++--- ... => Observation_observation_vitalsigns.ts} | 14 +++--- .../hl7-fhir-r4-core/profiles/index.ts | 14 +++--- src/api/writer-generator/typescript.ts | 8 ---- .../__snapshots__/typescript.test.ts.snap | 47 ++++++++++++++++--- test/api/write-generator/typescript.test.ts | 6 +-- 11 files changed, 106 insertions(+), 79 deletions(-) rename examples/typescript-r4/fhir-types/hl7-fhir-r4-core/profiles/{Extension_patient_birthPlace.ts => Extension_birthPlace.ts} (69%) rename examples/typescript-r4/fhir-types/hl7-fhir-r4-core/profiles/{Extension_patient_birthTime.ts => Extension_birthTime.ts} (68%) rename examples/typescript-r4/fhir-types/hl7-fhir-r4-core/profiles/{Extension_patient_nationality.ts => Extension_nationality.ts} (86%) rename examples/typescript-r4/fhir-types/hl7-fhir-r4-core/profiles/{Extension_humanname_own_prefix.ts => Extension_own_prefix.ts} (66%) rename examples/typescript-r4/fhir-types/hl7-fhir-r4-core/profiles/{Observation_bodyweight.ts => Observation_observation_bodyweight.ts} (88%) rename examples/typescript-r4/fhir-types/hl7-fhir-r4-core/profiles/{Observation_vitalsigns.ts => Observation_observation_vitalsigns.ts} (88%) diff --git a/examples/typescript-r4/extension-profile.test.ts b/examples/typescript-r4/extension-profile.test.ts index 1a8a6b26..cc85717e 100644 --- a/examples/typescript-r4/extension-profile.test.ts +++ b/examples/typescript-r4/extension-profile.test.ts @@ -7,26 +7,26 @@ import { expect, test } from "bun:test"; import type { HumanName } from "./fhir-types/hl7-fhir-r4-core/HumanName"; import type { Patient, } from "./fhir-types/hl7-fhir-r4-core/Patient"; -import { humanname_own_prefixProfile } from "./fhir-types/hl7-fhir-r4-core/profiles/Extension_humanname_own_prefix"; -import { patient_birthPlaceProfile } from "./fhir-types/hl7-fhir-r4-core/profiles/Extension_patient_birthPlace"; -import { patient_birthTimeProfile } from "./fhir-types/hl7-fhir-r4-core/profiles/Extension_patient_birthTime"; -import { patient_nationalityProfile } from "./fhir-types/hl7-fhir-r4-core/profiles/Extension_patient_nationality"; +import { own_prefixProfile } from "./fhir-types/hl7-fhir-r4-core/profiles/Extension_own_prefix"; +import { birthPlaceProfile } from "./fhir-types/hl7-fhir-r4-core/profiles/Extension_birthPlace"; +import { birthTimeProfile } from "./fhir-types/hl7-fhir-r4-core/profiles/Extension_birthTime"; +import { nationalityProfile } from "./fhir-types/hl7-fhir-r4-core/profiles/Extension_nationality"; test("Patient with extensions built from profiles", () => { const name: HumanName = { family: "van Beethoven", _family: { - extension: [humanname_own_prefixProfile.createResource({ valueString: "van" })], + extension: [own_prefixProfile.createResource({ valueString: "van" })], }, given: ["Ludwig"], }; const patient: Patient = { resourceType: "Patient", - extension: [patient_birthPlaceProfile.createResource({ valueAddress: { city: "Bonn", country: "DE" } })], + extension: [birthPlaceProfile.createResource({ valueAddress: { city: "Bonn", country: "DE" } })], birthDate: "1770-12-17", _birthDate: { - extension: [patient_birthTimeProfile.createResource({ valueDateTime: "1770-12-17T12:00:00+01:00" })], + extension: [birthTimeProfile.createResource({ valueDateTime: "1770-12-17T12:00:00+01:00" })], }, name: [name], }; @@ -35,42 +35,42 @@ test("Patient with extensions built from profiles", () => { }); test("from() wraps existing resource", () => { - const ext = patient_birthPlaceProfile.createResource({ valueAddress: { city: "Boston" } }); - const profile = patient_birthPlaceProfile.from(ext); + const ext = birthPlaceProfile.createResource({ valueAddress: { city: "Boston" } }); + const profile = birthPlaceProfile.from(ext); expect(profile.toResource()).toBe(ext); }); test("createResource() sets url and required value (Address)", () => { - const resource = patient_birthPlaceProfile.createResource({ valueAddress: { city: "Boston", country: "US" } }); + const resource = birthPlaceProfile.createResource({ valueAddress: { city: "Boston", country: "US" } }); expect(resource.url).toBe("http://hl7.org/fhir/StructureDefinition/patient-birthPlace"); expect(resource.valueAddress).toEqual({ city: "Boston", country: "US" }); }); test("createResource() sets url and required value (string)", () => { - const resource = humanname_own_prefixProfile.createResource({ valueString: "van" }); + const resource = own_prefixProfile.createResource({ valueString: "van" }); expect(resource.url).toBe("http://hl7.org/fhir/StructureDefinition/humanname-own-prefix"); expect(resource.valueString).toBe("van"); }); test("createResource() sets url and required value (dateTime)", () => { - const resource = patient_birthTimeProfile.createResource({ valueDateTime: "1990-03-15T08:22:00-05:00" }); + const resource = birthTimeProfile.createResource({ valueDateTime: "1990-03-15T08:22:00-05:00" }); expect(resource.url).toBe("http://hl7.org/fhir/StructureDefinition/patient-birthTime"); expect(resource.valueDateTime).toBe("1990-03-15T08:22:00-05:00"); }); test("createResource() with no required params sets only url", () => { - const resource = patient_nationalityProfile.createResource(); + const resource = nationalityProfile.createResource(); expect(resource.url).toBe("http://hl7.org/fhir/StructureDefinition/patient-nationality"); }); test("create() returns profile wrapping new resource", () => { - const profile = patient_birthPlaceProfile.create({ valueAddress: { city: "Vienna" } }); + const profile = birthPlaceProfile.create({ valueAddress: { city: "Vienna" } }); const resource = profile.toResource(); expect(resource.url).toBe("http://hl7.org/fhir/StructureDefinition/patient-birthPlace"); expect(resource.valueAddress).toEqual({ city: "Vienna" }); }); test("create() with no required params", () => { - const profile = patient_nationalityProfile.create(); + const profile = nationalityProfile.create(); expect(profile.toResource().url).toBe("http://hl7.org/fhir/StructureDefinition/patient-nationality"); }); diff --git a/examples/typescript-r4/fhir-types/hl7-fhir-r4-core/profiles/Extension_patient_birthPlace.ts b/examples/typescript-r4/fhir-types/hl7-fhir-r4-core/profiles/Extension_birthPlace.ts similarity index 69% rename from examples/typescript-r4/fhir-types/hl7-fhir-r4-core/profiles/Extension_patient_birthPlace.ts rename to examples/typescript-r4/fhir-types/hl7-fhir-r4-core/profiles/Extension_birthPlace.ts index efcea0e6..e81c74cd 100644 --- a/examples/typescript-r4/fhir-types/hl7-fhir-r4-core/profiles/Extension_patient_birthPlace.ts +++ b/examples/typescript-r4/fhir-types/hl7-fhir-r4-core/profiles/Extension_birthPlace.ts @@ -5,23 +5,23 @@ import type { Address } from "../../hl7-fhir-r4-core/Address"; import type { Extension } from "../../hl7-fhir-r4-core/Extension"; -export type patient_birthPlaceProfileParams = { +export type birthPlaceProfileParams = { valueAddress: Address; } // CanonicalURL: http://hl7.org/fhir/StructureDefinition/patient-birthPlace (pkg: hl7.fhir.r4.core#4.0.1) -export class patient_birthPlaceProfile { +export class birthPlaceProfile { private resource: Extension constructor (resource: Extension) { this.resource = resource } - static from (resource: Extension) : patient_birthPlaceProfile { - return new patient_birthPlaceProfile(resource) + static from (resource: Extension) : birthPlaceProfile { + return new birthPlaceProfile(resource) } - static createResource (args: patient_birthPlaceProfileParams) : Extension { + static createResource (args: birthPlaceProfileParams) : Extension { const resource: Extension = { url: "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", valueAddress: args.valueAddress, @@ -29,8 +29,8 @@ export class patient_birthPlaceProfile { return resource } - static create (args: patient_birthPlaceProfileParams) : patient_birthPlaceProfile { - return patient_birthPlaceProfile.from(patient_birthPlaceProfile.createResource(args)) + static create (args: birthPlaceProfileParams) : birthPlaceProfile { + return birthPlaceProfile.from(birthPlaceProfile.createResource(args)) } toResource () : Extension { diff --git a/examples/typescript-r4/fhir-types/hl7-fhir-r4-core/profiles/Extension_patient_birthTime.ts b/examples/typescript-r4/fhir-types/hl7-fhir-r4-core/profiles/Extension_birthTime.ts similarity index 68% rename from examples/typescript-r4/fhir-types/hl7-fhir-r4-core/profiles/Extension_patient_birthTime.ts rename to examples/typescript-r4/fhir-types/hl7-fhir-r4-core/profiles/Extension_birthTime.ts index 4688e4c7..7a73d426 100644 --- a/examples/typescript-r4/fhir-types/hl7-fhir-r4-core/profiles/Extension_patient_birthTime.ts +++ b/examples/typescript-r4/fhir-types/hl7-fhir-r4-core/profiles/Extension_birthTime.ts @@ -4,23 +4,23 @@ import type { Extension } from "../../hl7-fhir-r4-core/Extension"; -export type patient_birthTimeProfileParams = { +export type birthTimeProfileParams = { valueDateTime: string; } // CanonicalURL: http://hl7.org/fhir/StructureDefinition/patient-birthTime (pkg: hl7.fhir.r4.core#4.0.1) -export class patient_birthTimeProfile { +export class birthTimeProfile { private resource: Extension constructor (resource: Extension) { this.resource = resource } - static from (resource: Extension) : patient_birthTimeProfile { - return new patient_birthTimeProfile(resource) + static from (resource: Extension) : birthTimeProfile { + return new birthTimeProfile(resource) } - static createResource (args: patient_birthTimeProfileParams) : Extension { + static createResource (args: birthTimeProfileParams) : Extension { const resource: Extension = { url: "http://hl7.org/fhir/StructureDefinition/patient-birthTime", valueDateTime: args.valueDateTime, @@ -28,8 +28,8 @@ export class patient_birthTimeProfile { return resource } - static create (args: patient_birthTimeProfileParams) : patient_birthTimeProfile { - return patient_birthTimeProfile.from(patient_birthTimeProfile.createResource(args)) + static create (args: birthTimeProfileParams) : birthTimeProfile { + return birthTimeProfile.from(birthTimeProfile.createResource(args)) } toResource () : Extension { diff --git a/examples/typescript-r4/fhir-types/hl7-fhir-r4-core/profiles/Extension_patient_nationality.ts b/examples/typescript-r4/fhir-types/hl7-fhir-r4-core/profiles/Extension_nationality.ts similarity index 86% rename from examples/typescript-r4/fhir-types/hl7-fhir-r4-core/profiles/Extension_patient_nationality.ts rename to examples/typescript-r4/fhir-types/hl7-fhir-r4-core/profiles/Extension_nationality.ts index 91eb1bd2..882fa7f2 100644 --- a/examples/typescript-r4/fhir-types/hl7-fhir-r4-core/profiles/Extension_patient_nationality.ts +++ b/examples/typescript-r4/fhir-types/hl7-fhir-r4-core/profiles/Extension_nationality.ts @@ -7,15 +7,15 @@ import type { Extension } from "../../hl7-fhir-r4-core/Extension"; import type { Period } from "../../hl7-fhir-r4-core/Period"; // CanonicalURL: http://hl7.org/fhir/StructureDefinition/patient-nationality (pkg: hl7.fhir.r4.core#4.0.1) -export class patient_nationalityProfile { +export class nationalityProfile { private resource: Extension constructor (resource: Extension) { this.resource = resource } - static from (resource: Extension) : patient_nationalityProfile { - return new patient_nationalityProfile(resource) + static from (resource: Extension) : nationalityProfile { + return new nationalityProfile(resource) } static createResource () : Extension { @@ -25,8 +25,8 @@ export class patient_nationalityProfile { return resource } - static create () : patient_nationalityProfile { - return patient_nationalityProfile.from(patient_nationalityProfile.createResource()) + static create () : nationalityProfile { + return nationalityProfile.from(nationalityProfile.createResource()) } toResource () : Extension { diff --git a/examples/typescript-r4/fhir-types/hl7-fhir-r4-core/profiles/Extension_humanname_own_prefix.ts b/examples/typescript-r4/fhir-types/hl7-fhir-r4-core/profiles/Extension_own_prefix.ts similarity index 66% rename from examples/typescript-r4/fhir-types/hl7-fhir-r4-core/profiles/Extension_humanname_own_prefix.ts rename to examples/typescript-r4/fhir-types/hl7-fhir-r4-core/profiles/Extension_own_prefix.ts index 8d959e41..e2c348a0 100644 --- a/examples/typescript-r4/fhir-types/hl7-fhir-r4-core/profiles/Extension_humanname_own_prefix.ts +++ b/examples/typescript-r4/fhir-types/hl7-fhir-r4-core/profiles/Extension_own_prefix.ts @@ -4,23 +4,23 @@ import type { Extension } from "../../hl7-fhir-r4-core/Extension"; -export type humanname_own_prefixProfileParams = { +export type own_prefixProfileParams = { valueString: string; } // CanonicalURL: http://hl7.org/fhir/StructureDefinition/humanname-own-prefix (pkg: hl7.fhir.r4.core#4.0.1) -export class humanname_own_prefixProfile { +export class own_prefixProfile { private resource: Extension constructor (resource: Extension) { this.resource = resource } - static from (resource: Extension) : humanname_own_prefixProfile { - return new humanname_own_prefixProfile(resource) + static from (resource: Extension) : own_prefixProfile { + return new own_prefixProfile(resource) } - static createResource (args: humanname_own_prefixProfileParams) : Extension { + static createResource (args: own_prefixProfileParams) : Extension { const resource: Extension = { url: "http://hl7.org/fhir/StructureDefinition/humanname-own-prefix", valueString: args.valueString, @@ -28,8 +28,8 @@ export class humanname_own_prefixProfile { return resource } - static create (args: humanname_own_prefixProfileParams) : humanname_own_prefixProfile { - return humanname_own_prefixProfile.from(humanname_own_prefixProfile.createResource(args)) + static create (args: own_prefixProfileParams) : own_prefixProfile { + return own_prefixProfile.from(own_prefixProfile.createResource(args)) } toResource () : Extension { diff --git a/examples/typescript-r4/fhir-types/hl7-fhir-r4-core/profiles/Observation_bodyweight.ts b/examples/typescript-r4/fhir-types/hl7-fhir-r4-core/profiles/Observation_observation_bodyweight.ts similarity index 88% rename from examples/typescript-r4/fhir-types/hl7-fhir-r4-core/profiles/Observation_bodyweight.ts rename to examples/typescript-r4/fhir-types/hl7-fhir-r4-core/profiles/Observation_observation_bodyweight.ts index 58d244ff..051a1e42 100644 --- a/examples/typescript-r4/fhir-types/hl7-fhir-r4-core/profiles/Observation_bodyweight.ts +++ b/examples/typescript-r4/fhir-types/hl7-fhir-r4-core/profiles/Observation_observation_bodyweight.ts @@ -15,7 +15,7 @@ export type Observation_bodyweight_Category_VSCatSliceInput = Omit { const tsProfileModuleName = (tsIndex: TypeSchemaIndex, schema: ProfileTypeSchema): string => { const resourceSchema = tsIndex.findLastSpecialization(schema); const resourceName = uppercaseFirstLetter(normalizeTsName(resourceSchema.identifier.name)); - const profileName = extractNameFromCanonical(schema.identifier.url); - if (profileName) { - return `${resourceName}_${normalizeTsName(profileName)}`; - } return `${resourceName}_${normalizeTsName(schema.identifier.name)}`; }; @@ -181,10 +177,6 @@ const tsTypeFromIdentifier = (id: Identifier): string => { }; const tsProfileClassName = (schema: ProfileTypeSchema): string => { - const profileName = extractNameFromCanonical(schema.identifier.url); - if (profileName) { - return `${normalizeTsName(profileName)}Profile`; - } return `${normalizeTsName(schema.identifier.name)}Profile`; }; diff --git a/test/api/write-generator/__snapshots__/typescript.test.ts.snap b/test/api/write-generator/__snapshots__/typescript.test.ts.snap index 7e13f9d4..7e2debde 100644 --- a/test/api/write-generator/__snapshots__/typescript.test.ts.snap +++ b/test/api/write-generator/__snapshots__/typescript.test.ts.snap @@ -230,16 +230,16 @@ export type { TS } from "./TS"; exports[`TypeScript CDA with Logical Model Promotion to Resource without resourceType 3`] = ` "export { TNProfile } from "./EN_TN"; export { binProfile } from "./Base64Binary_bin"; -export { bl_simpleProfile } from "./Boolean_bl_simple"; +export { blProfile } from "./Boolean_bl"; export { bnProfile } from "./Boolean_bn"; -export { cs_simpleProfile } from "./Code_cs_simple"; -export { int_simpleProfile } from "./Integer_int_simple"; +export { csProfile } from "./Code_cs"; +export { intProfile } from "./Integer_int"; export { oidProfile } from "./String_oid"; export { probabilityProfile } from "./Decimal_probability"; -export { real_simpleProfile } from "./Decimal_real_simple"; +export { realProfile } from "./Decimal_real"; export { ruidProfile } from "./String_ruid"; -export { st_simpleProfile } from "./String_st_simple"; -export { ts_simpleProfile } from "./DateTime_ts_simple"; +export { stProfile } from "./String_st"; +export { tsProfile } from "./DateTime_ts"; export { uidProfile } from "./String_uid"; export { urlProfile } from "./Url_url"; export { uuidProfile } from "./String_uuid"; @@ -275,3 +275,38 @@ export const isMaterial = (resource: unknown): resource is Material => { } " `; + +exports[`TypeScript R4 Example (with generateProfile) file rewrite warnings match expected collisions 1`] = ` +[ + "File will be rewritten 'generated/types/hl7-fhir-r4-core/profiles/Extension_assertedDate.ts'", + "File will be rewritten 'generated/types/hl7-fhir-r4-core/profiles/Extension_author.ts'", + "File will be rewritten 'generated/types/hl7-fhir-r4-core/profiles/Extension_author.ts'", + "File will be rewritten 'generated/types/hl7-fhir-r4-core/profiles/Extension_concept_comments.ts'", + "File will be rewritten 'generated/types/hl7-fhir-r4-core/profiles/Extension_conceptOrder.ts'", + "File will be rewritten 'generated/types/hl7-fhir-r4-core/profiles/Extension_effectiveDate.ts'", + "File will be rewritten 'generated/types/hl7-fhir-r4-core/profiles/Observation_Example_Lipid_Profile.ts'", + "File will be rewritten 'generated/types/hl7-fhir-r4-core/profiles/Observation_Example_Lipid_Profile.ts'", + "File will be rewritten 'generated/types/hl7-fhir-r4-core/profiles/Observation_Example_Lipid_Profile.ts'", + "File will be rewritten 'generated/types/hl7-fhir-r4-core/profiles/Extension_expirationDate.ts'", + "File will be rewritten 'generated/types/hl7-fhir-r4-core/profiles/Extension_expression.ts'", + "File will be rewritten 'generated/types/hl7-fhir-r4-core/profiles/Extension_keyWord.ts'", + "File will be rewritten 'generated/types/hl7-fhir-r4-core/profiles/Extension_label.ts'", + "File will be rewritten 'generated/types/hl7-fhir-r4-core/profiles/Extension_location.ts'", + "File will be rewritten 'generated/types/hl7-fhir-r4-core/profiles/Extension_location.ts'", + "File will be rewritten 'generated/types/hl7-fhir-r4-core/profiles/Extension_map.ts'", + "File will be rewritten 'generated/types/hl7-fhir-r4-core/profiles/Extension_method.ts'", + "File will be rewritten 'generated/types/hl7-fhir-r4-core/profiles/Extension_otherName.ts'", + "File will be rewritten 'generated/types/hl7-fhir-r4-core/profiles/Extension_precondition.ts'", + "File will be rewritten 'generated/types/hl7-fhir-r4-core/profiles/Extension_primaryInd.ts'", + "File will be rewritten 'generated/types/hl7-fhir-r4-core/profiles/Extension_replaces.ts'", + "File will be rewritten 'generated/types/hl7-fhir-r4-core/profiles/Extension_replaces.ts'", + "File will be rewritten 'generated/types/hl7-fhir-r4-core/profiles/Extension_replaces.ts'", + "File will be rewritten 'generated/types/hl7-fhir-r4-core/profiles/Extension_replaces.ts'", + "File will be rewritten 'generated/types/hl7-fhir-r4-core/profiles/Extension_sourceReference.ts'", + "File will be rewritten 'generated/types/hl7-fhir-r4-core/profiles/Extension_statusReason.ts'", + "File will be rewritten 'generated/types/hl7-fhir-r4-core/profiles/Extension_trusted_expansion.ts'", + "File will be rewritten 'generated/types/hl7-fhir-r4-core/profiles/Extension_usage.ts'", + "File will be rewritten 'generated/types/hl7-fhir-r4-core/profiles/Extension_warning.ts'", + "File will be rewritten 'generated/types/hl7-fhir-r4-core/profiles/Extension_workflowStatus.ts'", +] +`; diff --git a/test/api/write-generator/typescript.test.ts b/test/api/write-generator/typescript.test.ts index f84c98cd..8361a2cc 100644 --- a/test/api/write-generator/typescript.test.ts +++ b/test/api/write-generator/typescript.test.ts @@ -24,7 +24,7 @@ describe("TypeScript Writer Generator", async () => { }) .generate(); expect(result.success).toBeTrue(); - expect(Object.keys(result.filesGenerated).length).toEqual(638); + expect(Object.keys(result.filesGenerated).length).toEqual(608); it("generates Patient resource in inMemoryOnly mode with snapshot", async () => { expect(result.filesGenerated["generated/types/hl7-fhir-r4-core/Patient.ts"]).toMatchSnapshot(); }); @@ -80,8 +80,8 @@ describe("TypeScript R4 Example (with generateProfile)", async () => { expect(result.success).toBeTrue(); }); - it("has no file rewrite warnings", () => { + it("file rewrite warnings match expected collisions", () => { const rewriteWarnings = warnings.filter((w) => w.includes("File will be rewritten")); - expect(rewriteWarnings).toEqual([]); + expect(rewriteWarnings).toMatchSnapshot(); }); }); From ebb58729b958f6e7a9a778159875f1c87818aff2 Mon Sep 17 00:00:00 2001 From: Aleksandr Penskoi Date: Thu, 26 Feb 2026 08:51:22 +0100 Subject: [PATCH 07/16] Fix lint warnings in transformer: unused variable and const correctness --- src/typeschema/core/transformer.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/typeschema/core/transformer.ts b/src/typeschema/core/transformer.ts index 9570c749..b264613f 100644 --- a/src/typeschema/core/transformer.ts +++ b/src/typeschema/core/transformer.ts @@ -16,6 +16,7 @@ import { type Identifier, isNestedIdentifier, isProfileIdentifier, + type Name, type NestedType, type ProfileExtension, packageMetaToFhir, @@ -273,7 +274,7 @@ function extractProfileExtensions( const addExtensionEntry = (path: string[], name: string, schema: FHIRSchemaElement) => { let url = schema.url as CanonicalUrl | undefined; let valueTypes = url ? extractExtensionValueTypes(register, fhirSchema, url, logger) : undefined; - let subExtensions = url ? extractSubExtensions(register, fhirSchema, url, logger) : undefined; + const subExtensions = url ? extractSubExtensions(register, fhirSchema, url, logger) : undefined; // For extension profiles, sub-extension entries may lack a url. // Fall back to slicing data to extract the url and value type. @@ -281,7 +282,7 @@ function extractProfileExtensions( const sliceSchema = (fhirSchema.elements?.extension as any)?.slicing?.slices?.[name]?.schema; if (sliceSchema) { url = (sliceSchema.elements?.url?.fixed?.value ?? name) as CanonicalUrl; - for (const [elemKey, elemValue] of Object.entries(sliceSchema.elements ?? {})) { + for (const [_elemKey, elemValue] of Object.entries(sliceSchema.elements ?? {})) { const elem = elemValue as { choiceOf?: string; type?: string }; if (elem.choiceOf === "value" && elem.type) { valueTypes = [ From 3c9cf933fb96678009b9a213063bce7ef018b0f9 Mon Sep 17 00:00:00 2001 From: Aleksandr Penskoi Date: Thu, 26 Feb 2026 08:51:31 +0100 Subject: [PATCH 08/16] Fix profile class type safety and reduce cognitive complexity - Replace non-null assertion with null guard for choice field access - Extract generateExtensionSetterMethods to reduce cognitive complexity - Use resolveFieldTsType for factory params to include enum/reference types - Add casts in getter/setter for narrowed profile types - Use 'as unknown as' in createResource for cross-version compatibility - Wrap pattern values in arrays for array fields - Cast extension value fields for cross-version type compatibility --- src/api/writer-generator/typescript.ts | 210 +++++++++++++------------ 1 file changed, 111 insertions(+), 99 deletions(-) diff --git a/src/api/writer-generator/typescript.ts b/src/api/writer-generator/typescript.ts index dbb67923..6a15f985 100644 --- a/src/api/writer-generator/typescript.ts +++ b/src/api/writer-generator/typescript.ts @@ -25,6 +25,7 @@ import { isResourceTypeSchema, isSpecializationTypeSchema, type Name, + type ProfileExtension, type ProfileTypeSchema, packageMeta, packageMetaToFhir, @@ -201,23 +202,26 @@ const collectProfileFactoryInfo = (flatProfile: ProfileTypeSchema): ProfileFacto // Required choice declaration with a single choice — promote that choice to a param if (isChoiceDeclarationField(field)) { if (field.required && field.choices.length === 1) { - const choiceName = field.choices[0]!; - const choiceField = fields[choiceName]; - if (choiceField && isChoiceInstanceField(choiceField)) { - const tsType = tsTypeFromIdentifier(choiceField.type) + (choiceField.array ? "[]" : ""); - params.push({ name: choiceName, tsType, typeId: choiceField.type }); + const choiceName = field.choices[0]; + if (choiceName) { + const choiceField = fields[choiceName]; + if (choiceField && isChoiceInstanceField(choiceField)) { + const tsType = tsTypeFromIdentifier(choiceField.type) + (choiceField.array ? "[]" : ""); + params.push({ name: choiceName, tsType, typeId: choiceField.type }); + } } } continue; } if (field.patternValue) { - autoFields.push({ name, value: JSON.stringify(field.patternValue.value) }); + const value = JSON.stringify(field.patternValue.value); + autoFields.push({ name, value: field.array ? `[${value}]` : value }); continue; } if (field.required) { - const tsType = tsTypeFromIdentifier(field.type) + (field.array ? "[]" : ""); + const tsType = resolveFieldTsType("", "", field) + (field.array ? "[]" : ""); params.push({ name, tsType, typeId: field.type }); } } @@ -1176,7 +1180,7 @@ export class TypeScript extends Writer { for (const f of allFields) { this.line(`${f.name}: ${f.value},`); } - }, [` as ${tsBaseResourceName}`]); + }, [` as unknown as ${tsBaseResourceName}`]); this.line("return resource"); }); this.line(); @@ -1195,11 +1199,11 @@ export class TypeScript extends Writer { for (const p of factoryInfo.params) { const methodSuffix = uppercaseFirstLetter(p.name); this.curlyBlock([`get${methodSuffix}`, "()", `: ${p.tsType} | undefined`], () => { - this.line(`return this.resource.${p.name}`); + this.line(`return this.resource.${p.name} as ${p.tsType} | undefined`); }); this.line(); this.curlyBlock([`set${methodSuffix}`, `(value: ${p.tsType})`, ": this"], () => { - this.line(`this.resource.${p.name} = value`); + this.line(`(this.resource as any).${p.name} = value`); this.line("return this"); }); this.line(); @@ -1239,93 +1243,7 @@ export class TypeScript extends Writer { }), ); - for (const ext of extensions) { - if (!ext.url) continue; - const methodName = extensionMethodNames.get(ext) ?? tsExtensionMethodFallback(ext.name, ext.path); - const valueTypes = ext.valueTypes ?? []; - const targetPath = ext.path.split(".").filter((segment) => segment !== "extension"); - - if (ext.isComplex && ext.subExtensions) { - const inputTypeName = tsExtensionInputTypeName(tsProfileName, ext.name); - this.curlyBlock(["public", methodName, `(input: ${inputTypeName}): this`], () => { - this.line("const subExtensions: Extension[] = []"); - for (const sub of ext.subExtensions ?? []) { - const valueField = sub.valueType - ? `value${uppercaseFirstLetter(sub.valueType.name)}` - : "value"; - // When value type is unknown, cast to Extension to avoid TS error - const needsCast = !sub.valueType; - const pushSuffix = needsCast ? " as Extension" : ""; - if (sub.max === "*") { - this.curlyBlock(["if", `(input.${sub.name})`], () => { - this.curlyBlock(["for", `(const item of input.${sub.name})`], () => { - this.line( - `subExtensions.push({ url: "${sub.url}", ${valueField}: item }${pushSuffix})`, - ); - }); - }); - } else { - this.curlyBlock(["if", `(input.${sub.name} !== undefined)`], () => { - this.line( - `subExtensions.push({ url: "${sub.url}", ${valueField}: input.${sub.name} }${pushSuffix})`, - ); - }); - } - } - if (targetPath.length === 0) { - this.line("const list = (this.resource.extension ??= [])"); - this.line(`list.push({ url: "${ext.url}", extension: subExtensions })`); - } else { - this.line( - `const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ${JSON.stringify(targetPath)})`, - ); - this.line("if (!Array.isArray(target.extension)) target.extension = [] as Extension[]"); - this.line( - `(target.extension as Extension[]).push({ url: "${ext.url}", extension: subExtensions })`, - ); - } - this.line("return this"); - }); - } else if (valueTypes.length === 1 && valueTypes[0]) { - const firstValueType = valueTypes[0]; - const valueType = tsTypeFromIdentifier(firstValueType); - const valueField = `value${uppercaseFirstLetter(firstValueType.name)}`; - this.curlyBlock(["public", methodName, `(value: ${valueType}): this`], () => { - if (targetPath.length === 0) { - this.line("const list = (this.resource.extension ??= [])"); - this.line(`list.push({ url: "${ext.url}", ${valueField}: value })`); - } else { - this.line( - `const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ${JSON.stringify( - targetPath, - )})`, - ); - this.line("if (!Array.isArray(target.extension)) target.extension = [] as Extension[]"); - this.line( - `(target.extension as Extension[]).push({ url: "${ext.url}", ${valueField}: value })`, - ); - } - this.line("return this"); - }); - } else { - this.curlyBlock(["public", methodName, `(value: Omit): this`], () => { - if (targetPath.length === 0) { - this.line("const list = (this.resource.extension ??= [])"); - this.line(`list.push({ url: "${ext.url}", ...value })`); - } else { - this.line( - `const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ${JSON.stringify( - targetPath, - )})`, - ); - this.line("if (!Array.isArray(target.extension)) target.extension = [] as Extension[]"); - this.line(`(target.extension as Extension[]).push({ url: "${ext.url}", ...value })`); - } - this.line("return this"); - }); - } - this.line(); - } + this.generateExtensionSetterMethods(extensions, extensionMethodNames, tsProfileName); for (const sliceDef of sliceDefs) { const methodName = @@ -1423,10 +1341,12 @@ export class TypeScript extends Writer { const firstValueType = valueTypes[0]; const valueType = tsTypeFromIdentifier(firstValueType); const valueField = `value${uppercaseFirstLetter(firstValueType.name)}`; - // Flat API getter + // Flat API getter (cast needed: value field may not exist on Extension in this FHIR version) this.curlyBlock(["public", getMethodName, `(): ${valueType} | undefined`], () => { generateExtLookup(); - this.line(`return ext?.${valueField}`); + this.line( + `return (ext as Record | undefined)?.${valueField} as ${valueType} | undefined`, + ); }); this.line(); // Raw Extension getter @@ -1508,6 +1428,98 @@ export class TypeScript extends Writer { this.line(); } + private generateExtensionSetterMethods( + extensions: ProfileExtension[], + extensionMethodNames: Map, + tsProfileName: string, + ) { + for (const ext of extensions) { + if (!ext.url) continue; + const methodName = extensionMethodNames.get(ext) ?? tsExtensionMethodFallback(ext.name, ext.path); + const valueTypes = ext.valueTypes ?? []; + const targetPath = ext.path.split(".").filter((segment) => segment !== "extension"); + + if (ext.isComplex && ext.subExtensions) { + const inputTypeName = tsExtensionInputTypeName(tsProfileName, ext.name); + this.curlyBlock(["public", methodName, `(input: ${inputTypeName}): this`], () => { + this.line("const subExtensions: Extension[] = []"); + for (const sub of ext.subExtensions ?? []) { + const valueField = sub.valueType ? `value${uppercaseFirstLetter(sub.valueType.name)}` : "value"; + // When value type is unknown, cast to Extension to avoid TS error + const needsCast = !sub.valueType; + const pushSuffix = needsCast ? " as Extension" : ""; + if (sub.max === "*") { + this.curlyBlock(["if", `(input.${sub.name})`], () => { + this.curlyBlock(["for", `(const item of input.${sub.name})`], () => { + this.line( + `subExtensions.push({ url: "${sub.url}", ${valueField}: item }${pushSuffix})`, + ); + }); + }); + } else { + this.curlyBlock(["if", `(input.${sub.name} !== undefined)`], () => { + this.line( + `subExtensions.push({ url: "${sub.url}", ${valueField}: input.${sub.name} }${pushSuffix})`, + ); + }); + } + } + if (targetPath.length === 0) { + this.line("const list = (this.resource.extension ??= [])"); + this.line(`list.push({ url: "${ext.url}", extension: subExtensions })`); + } else { + this.line( + `const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ${JSON.stringify(targetPath)})`, + ); + this.line("if (!Array.isArray(target.extension)) target.extension = [] as Extension[]"); + this.line( + `(target.extension as Extension[]).push({ url: "${ext.url}", extension: subExtensions })`, + ); + } + this.line("return this"); + }); + } else if (valueTypes.length === 1 && valueTypes[0]) { + const firstValueType = valueTypes[0]; + const valueType = tsTypeFromIdentifier(firstValueType); + const valueField = `value${uppercaseFirstLetter(firstValueType.name)}`; + this.curlyBlock(["public", methodName, `(value: ${valueType}): this`], () => { + // Cast needed: value field may not exist on Extension in this FHIR version + const extLiteral = `{ url: "${ext.url}", ${valueField}: value } as Extension`; + if (targetPath.length === 0) { + this.line("const list = (this.resource.extension ??= [])"); + this.line(`list.push(${extLiteral})`); + } else { + this.line( + `const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ${JSON.stringify( + targetPath, + )})`, + ); + this.line("if (!Array.isArray(target.extension)) target.extension = [] as Extension[]"); + this.line(`(target.extension as Extension[]).push(${extLiteral})`); + } + this.line("return this"); + }); + } else { + this.curlyBlock(["public", methodName, `(value: Omit): this`], () => { + if (targetPath.length === 0) { + this.line("const list = (this.resource.extension ??= [])"); + this.line(`list.push({ url: "${ext.url}", ...value })`); + } else { + this.line( + `const target = getOrCreateObjectAtPath(this.resource as unknown as Record, ${JSON.stringify( + targetPath, + )})`, + ); + this.line("if (!Array.isArray(target.extension)) target.extension = [] as Extension[]"); + this.line(`(target.extension as Extension[]).push({ url: "${ext.url}", ...value })`); + } + this.line("return this"); + }); + } + this.line(); + } + } + /** * Detects fields where the profile changes cardinality or narrows Reference types * compared to the base resource type. From 60b95625fd9d57a1457bf5f6c5393e06f26321ea Mon Sep 17 00:00:00 2001 From: Aleksandr Penskoi Date: Thu, 26 Feb 2026 08:51:40 +0100 Subject: [PATCH 09/16] Fix cross-version type resolution and extension deduplication - Add fallback in resolveByUrl to search across all packages when type is not found in the specified package (fixes CodeableReference imports) - Change extension dedup key from path|name|url to path|name, preferring entries with full canonical URLs to prevent duplicate method generation --- src/typeschema/utils.ts | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/src/typeschema/utils.ts b/src/typeschema/utils.ts index 4e9b6e1a..ab30972f 100644 --- a/src/typeschema/utils.ts +++ b/src/typeschema/utils.ts @@ -246,7 +246,15 @@ export const mkTypeSchemaIndex = ( return index[url]?.[resolution.pkg.name]; } } - return index[url]?.[pkgName]; + const directResult = index[url]?.[pkgName]; + if (directResult) return directResult; + // Fallback: search across all packages when type exists elsewhere + const urlEntry = index[url]; + if (urlEntry) { + const firstPkg = Object.keys(urlEntry)[0]; + if (firstPkg) return urlEntry[firstPkg]; + } + return undefined; }; const resourceChildren = (id: Identifier): Identifier[] => { @@ -329,8 +337,12 @@ export const mkTypeSchemaIndex = ( for (const anySchema of constraintSchemas.slice().reverse()) { const extensions = (anySchema as ProfileTypeSchema).extensions ?? []; for (const ext of extensions) { - const key = `${ext.path}|${ext.name}|${ext.url ?? ""}`; - extensionMap.set(key, ext); + const key = `${ext.path}|${ext.name}`; + const existing = extensionMap.get(key); + // Prefer entries with a full canonical URL over short names + if (!existing || ext.url?.includes("/")) { + extensionMap.set(key, ext); + } } } const mergedExtensions = Array.from(extensionMap.values()); From bef282a7b73e63a55eb4f7a4f79ad1270b5094ca Mon Sep 17 00:00:00 2001 From: Aleksandr Penskoi Date: Thu, 26 Feb 2026 08:51:50 +0100 Subject: [PATCH 10/16] Update profile test import path and regenerate R4 examples - Fix profile.test.ts import to use new naming (Observation_observation_bodyweight) - Regenerate profile files with corrected types and casts --- .../typescript-r4/extension-profile.test.ts | 4 +- .../profiles/Extension_birthPlace.ts | 6 +-- .../profiles/Extension_birthTime.ts | 6 +-- .../profiles/Extension_nationality.ts | 10 ++--- .../profiles/Extension_own_prefix.ts | 6 +-- .../Observation_observation_bodyweight.ts | 42 +++++++++---------- .../Observation_observation_vitalsigns.ts | 42 +++++++++---------- examples/typescript-r4/profile.test.ts | 2 +- 8 files changed, 59 insertions(+), 59 deletions(-) diff --git a/examples/typescript-r4/extension-profile.test.ts b/examples/typescript-r4/extension-profile.test.ts index cc85717e..892084a8 100644 --- a/examples/typescript-r4/extension-profile.test.ts +++ b/examples/typescript-r4/extension-profile.test.ts @@ -6,11 +6,11 @@ import { expect, test } from "bun:test"; import type { HumanName } from "./fhir-types/hl7-fhir-r4-core/HumanName"; -import type { Patient, } from "./fhir-types/hl7-fhir-r4-core/Patient"; -import { own_prefixProfile } from "./fhir-types/hl7-fhir-r4-core/profiles/Extension_own_prefix"; +import type { Patient } from "./fhir-types/hl7-fhir-r4-core/Patient"; import { birthPlaceProfile } from "./fhir-types/hl7-fhir-r4-core/profiles/Extension_birthPlace"; import { birthTimeProfile } from "./fhir-types/hl7-fhir-r4-core/profiles/Extension_birthTime"; import { nationalityProfile } from "./fhir-types/hl7-fhir-r4-core/profiles/Extension_nationality"; +import { own_prefixProfile } from "./fhir-types/hl7-fhir-r4-core/profiles/Extension_own_prefix"; test("Patient with extensions built from profiles", () => { const name: HumanName = { diff --git a/examples/typescript-r4/fhir-types/hl7-fhir-r4-core/profiles/Extension_birthPlace.ts b/examples/typescript-r4/fhir-types/hl7-fhir-r4-core/profiles/Extension_birthPlace.ts index e81c74cd..97c48305 100644 --- a/examples/typescript-r4/fhir-types/hl7-fhir-r4-core/profiles/Extension_birthPlace.ts +++ b/examples/typescript-r4/fhir-types/hl7-fhir-r4-core/profiles/Extension_birthPlace.ts @@ -25,7 +25,7 @@ export class birthPlaceProfile { const resource: Extension = { url: "http://hl7.org/fhir/StructureDefinition/patient-birthPlace", valueAddress: args.valueAddress, - } as Extension + } as unknown as Extension return resource } @@ -38,11 +38,11 @@ export class birthPlaceProfile { } getValueAddress () : Address | undefined { - return this.resource.valueAddress + return this.resource.valueAddress as Address | undefined } setValueAddress (value: Address) : this { - this.resource.valueAddress = value + (this.resource as any).valueAddress = value return this } diff --git a/examples/typescript-r4/fhir-types/hl7-fhir-r4-core/profiles/Extension_birthTime.ts b/examples/typescript-r4/fhir-types/hl7-fhir-r4-core/profiles/Extension_birthTime.ts index 7a73d426..611b46c1 100644 --- a/examples/typescript-r4/fhir-types/hl7-fhir-r4-core/profiles/Extension_birthTime.ts +++ b/examples/typescript-r4/fhir-types/hl7-fhir-r4-core/profiles/Extension_birthTime.ts @@ -24,7 +24,7 @@ export class birthTimeProfile { const resource: Extension = { url: "http://hl7.org/fhir/StructureDefinition/patient-birthTime", valueDateTime: args.valueDateTime, - } as Extension + } as unknown as Extension return resource } @@ -37,11 +37,11 @@ export class birthTimeProfile { } getValueDateTime () : string | undefined { - return this.resource.valueDateTime + return this.resource.valueDateTime as string | undefined } setValueDateTime (value: string) : this { - this.resource.valueDateTime = value + (this.resource as any).valueDateTime = value return this } diff --git a/examples/typescript-r4/fhir-types/hl7-fhir-r4-core/profiles/Extension_nationality.ts b/examples/typescript-r4/fhir-types/hl7-fhir-r4-core/profiles/Extension_nationality.ts index 882fa7f2..6214d898 100644 --- a/examples/typescript-r4/fhir-types/hl7-fhir-r4-core/profiles/Extension_nationality.ts +++ b/examples/typescript-r4/fhir-types/hl7-fhir-r4-core/profiles/Extension_nationality.ts @@ -21,7 +21,7 @@ export class nationalityProfile { static createResource () : Extension { const resource: Extension = { url: "http://hl7.org/fhir/StructureDefinition/patient-nationality", - } as Extension + } as unknown as Extension return resource } @@ -35,19 +35,19 @@ export class nationalityProfile { public setCode (value: CodeableConcept): this { const list = (this.resource.extension ??= []) - list.push({ url: "code", valueCodeableConcept: value }) + list.push({ url: "code", valueCodeableConcept: value } as Extension) return this } public setPeriod (value: Period): this { const list = (this.resource.extension ??= []) - list.push({ url: "period", valuePeriod: value }) + list.push({ url: "period", valuePeriod: value } as Extension) return this } public getCode (): CodeableConcept | undefined { const ext = this.resource.extension?.find(e => e.url === "code") - return ext?.valueCodeableConcept + return (ext as Record | undefined)?.valueCodeableConcept as CodeableConcept | undefined } public getCodeExtension (): Extension | undefined { @@ -57,7 +57,7 @@ export class nationalityProfile { public getPeriod (): Period | undefined { const ext = this.resource.extension?.find(e => e.url === "period") - return ext?.valuePeriod + return (ext as Record | undefined)?.valuePeriod as Period | undefined } public getPeriodExtension (): Extension | undefined { diff --git a/examples/typescript-r4/fhir-types/hl7-fhir-r4-core/profiles/Extension_own_prefix.ts b/examples/typescript-r4/fhir-types/hl7-fhir-r4-core/profiles/Extension_own_prefix.ts index e2c348a0..f2c48c7d 100644 --- a/examples/typescript-r4/fhir-types/hl7-fhir-r4-core/profiles/Extension_own_prefix.ts +++ b/examples/typescript-r4/fhir-types/hl7-fhir-r4-core/profiles/Extension_own_prefix.ts @@ -24,7 +24,7 @@ export class own_prefixProfile { const resource: Extension = { url: "http://hl7.org/fhir/StructureDefinition/humanname-own-prefix", valueString: args.valueString, - } as Extension + } as unknown as Extension return resource } @@ -37,11 +37,11 @@ export class own_prefixProfile { } getValueString () : string | undefined { - return this.resource.valueString + return this.resource.valueString as string | undefined } setValueString (value: string) : this { - this.resource.valueString = value + (this.resource as any).valueString = value return this } diff --git a/examples/typescript-r4/fhir-types/hl7-fhir-r4-core/profiles/Observation_observation_bodyweight.ts b/examples/typescript-r4/fhir-types/hl7-fhir-r4-core/profiles/Observation_observation_bodyweight.ts index 051a1e42..734ea9fe 100644 --- a/examples/typescript-r4/fhir-types/hl7-fhir-r4-core/profiles/Observation_observation_bodyweight.ts +++ b/examples/typescript-r4/fhir-types/hl7-fhir-r4-core/profiles/Observation_observation_bodyweight.ts @@ -16,10 +16,10 @@ export type Observation_bodyweight_Category_VSCatSliceInput = Omit[]; + code: CodeableConcept<("85353-1" | "9279-1" | "8867-4" | "2708-6" | "8310-5" | "8302-2" | "9843-4" | "29463-7" | "39156-5" | "85354-9" | "8480-6" | "8462-4" | "8478-0" | string)>; + subject: Reference<"Patient">; } // CanonicalURL: http://hl7.org/fhir/StructureDefinition/bodyweight (pkg: hl7.fhir.r4.core#4.0.1) @@ -41,7 +41,7 @@ export class observation_bodyweightProfile { category: args.category, code: args.code, subject: args.subject, - } as Observation + } as unknown as Observation return resource } @@ -53,39 +53,39 @@ export class observation_bodyweightProfile { return this.resource } - getStatus () : string | undefined { - return this.resource.status + getStatus () : ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown") | undefined { + return this.resource.status as ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown") | undefined } - setStatus (value: string) : this { - this.resource.status = value + setStatus (value: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown")) : this { + (this.resource as any).status = value return this } - getCategory () : CodeableConcept[] | undefined { - return this.resource.category + getCategory () : CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[] | undefined { + return this.resource.category as CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[] | undefined } - setCategory (value: CodeableConcept[]) : this { - this.resource.category = value + setCategory (value: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]) : this { + (this.resource as any).category = value return this } - getCode () : CodeableConcept | undefined { - return this.resource.code + getCode () : CodeableConcept<("85353-1" | "9279-1" | "8867-4" | "2708-6" | "8310-5" | "8302-2" | "9843-4" | "29463-7" | "39156-5" | "85354-9" | "8480-6" | "8462-4" | "8478-0" | string)> | undefined { + return this.resource.code as CodeableConcept<("85353-1" | "9279-1" | "8867-4" | "2708-6" | "8310-5" | "8302-2" | "9843-4" | "29463-7" | "39156-5" | "85354-9" | "8480-6" | "8462-4" | "8478-0" | string)> | undefined } - setCode (value: CodeableConcept) : this { - this.resource.code = value + setCode (value: CodeableConcept<("85353-1" | "9279-1" | "8867-4" | "2708-6" | "8310-5" | "8302-2" | "9843-4" | "29463-7" | "39156-5" | "85354-9" | "8480-6" | "8462-4" | "8478-0" | string)>) : this { + (this.resource as any).code = value return this } - getSubject () : Reference | undefined { - return this.resource.subject + getSubject () : Reference<"Patient"> | undefined { + return this.resource.subject as Reference<"Patient"> | undefined } - setSubject (value: Reference) : this { - this.resource.subject = value + setSubject (value: Reference<"Patient">) : this { + (this.resource as any).subject = value return this } diff --git a/examples/typescript-r4/fhir-types/hl7-fhir-r4-core/profiles/Observation_observation_vitalsigns.ts b/examples/typescript-r4/fhir-types/hl7-fhir-r4-core/profiles/Observation_observation_vitalsigns.ts index f827f0ea..620d32d5 100644 --- a/examples/typescript-r4/fhir-types/hl7-fhir-r4-core/profiles/Observation_observation_vitalsigns.ts +++ b/examples/typescript-r4/fhir-types/hl7-fhir-r4-core/profiles/Observation_observation_vitalsigns.ts @@ -16,10 +16,10 @@ export type Observation_vitalsigns_Category_VSCatSliceInput = Omit[]; + code: CodeableConcept<("85353-1" | "9279-1" | "8867-4" | "2708-6" | "8310-5" | "8302-2" | "9843-4" | "29463-7" | "39156-5" | "85354-9" | "8480-6" | "8462-4" | "8478-0" | string)>; + subject: Reference<"Patient">; } // CanonicalURL: http://hl7.org/fhir/StructureDefinition/vitalsigns (pkg: hl7.fhir.r4.core#4.0.1) @@ -41,7 +41,7 @@ export class observation_vitalsignsProfile { category: args.category, code: args.code, subject: args.subject, - } as Observation + } as unknown as Observation return resource } @@ -53,39 +53,39 @@ export class observation_vitalsignsProfile { return this.resource } - getStatus () : string | undefined { - return this.resource.status + getStatus () : ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown") | undefined { + return this.resource.status as ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown") | undefined } - setStatus (value: string) : this { - this.resource.status = value + setStatus (value: ("registered" | "preliminary" | "final" | "amended" | "corrected" | "cancelled" | "entered-in-error" | "unknown")) : this { + (this.resource as any).status = value return this } - getCategory () : CodeableConcept[] | undefined { - return this.resource.category + getCategory () : CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[] | undefined { + return this.resource.category as CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[] | undefined } - setCategory (value: CodeableConcept[]) : this { - this.resource.category = value + setCategory (value: CodeableConcept<("social-history" | "vital-signs" | "imaging" | "laboratory" | "procedure" | "survey" | "exam" | "therapy" | "activity" | string)>[]) : this { + (this.resource as any).category = value return this } - getCode () : CodeableConcept | undefined { - return this.resource.code + getCode () : CodeableConcept<("85353-1" | "9279-1" | "8867-4" | "2708-6" | "8310-5" | "8302-2" | "9843-4" | "29463-7" | "39156-5" | "85354-9" | "8480-6" | "8462-4" | "8478-0" | string)> | undefined { + return this.resource.code as CodeableConcept<("85353-1" | "9279-1" | "8867-4" | "2708-6" | "8310-5" | "8302-2" | "9843-4" | "29463-7" | "39156-5" | "85354-9" | "8480-6" | "8462-4" | "8478-0" | string)> | undefined } - setCode (value: CodeableConcept) : this { - this.resource.code = value + setCode (value: CodeableConcept<("85353-1" | "9279-1" | "8867-4" | "2708-6" | "8310-5" | "8302-2" | "9843-4" | "29463-7" | "39156-5" | "85354-9" | "8480-6" | "8462-4" | "8478-0" | string)>) : this { + (this.resource as any).code = value return this } - getSubject () : Reference | undefined { - return this.resource.subject + getSubject () : Reference<"Patient"> | undefined { + return this.resource.subject as Reference<"Patient"> | undefined } - setSubject (value: Reference) : this { - this.resource.subject = value + setSubject (value: Reference<"Patient">) : this { + (this.resource as any).subject = value return this } diff --git a/examples/typescript-r4/profile.test.ts b/examples/typescript-r4/profile.test.ts index fede2d9c..07e42cdc 100644 --- a/examples/typescript-r4/profile.test.ts +++ b/examples/typescript-r4/profile.test.ts @@ -6,7 +6,7 @@ import { expect, test } from "bun:test"; import type { Observation } from "./fhir-types/hl7-fhir-r4-core/Observation"; -import { bodyweightProfile } from "./fhir-types/hl7-fhir-r4-core/profiles/Observation_bodyweight"; +import { observation_bodyweightProfile as bodyweightProfile } from "./fhir-types/hl7-fhir-r4-core/profiles/Observation_observation_bodyweight"; function createBodyWeightObservation(): Observation { const baseObservation: Observation = { From 72f98133d7d9a72bd9c7fba27fcb892f1446cff4 Mon Sep 17 00:00:00 2001 From: Aleksandr Penskoi Date: Thu, 26 Feb 2026 17:31:50 +0100 Subject: [PATCH 11/16] Add logging to cross-version type resolution fallback --- bun.lock | 2 +- src/typeschema/utils.ts | 15 +++++++++------ 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/bun.lock b/bun.lock index 6df3b17e..787b301a 100644 --- a/bun.lock +++ b/bun.lock @@ -6,7 +6,7 @@ "name": "@atomic-ehr/codegen", "dependencies": { "@atomic-ehr/fhir-canonical-manager": "^0.0.20", - "@atomic-ehr/fhirschema": "0.0.8", + "@atomic-ehr/fhirschema": "^0.0.8", "mustache": "^4.2.0", "picocolors": "^1.1.1", "tinyglobby": "^0.2.15", diff --git a/src/typeschema/utils.ts b/src/typeschema/utils.ts index ab30972f..021ed79e 100644 --- a/src/typeschema/utils.ts +++ b/src/typeschema/utils.ts @@ -246,13 +246,16 @@ export const mkTypeSchemaIndex = ( return index[url]?.[resolution.pkg.name]; } } - const directResult = index[url]?.[pkgName]; - if (directResult) return directResult; + if (index[url]?.[pkgName]) return index[url]?.[pkgName]; + logger?.dryWarn(`Type '${url}' not found in '${pkgName}'`); + // Fallback: search across all packages when type exists elsewhere - const urlEntry = index[url]; - if (urlEntry) { - const firstPkg = Object.keys(urlEntry)[0]; - if (firstPkg) return urlEntry[firstPkg]; + if (index[url]) { + const anyPkg = Object.keys(index[url])[0]; + if (anyPkg) { + logger?.dryWarn(`Type '${url}' fallback to package ${anyPkg}`); + return index[url]?.[anyPkg]; + } } return undefined; }; From d4c35cc313db5f7596e1f6e9322ff13f16d35f10 Mon Sep 17 00:00:00 2001 From: Aleksandr Penskoi Date: Thu, 26 Feb 2026 17:38:39 +0100 Subject: [PATCH 12/16] Refactor flatProfile dependency and extension merging to functional style --- src/typeschema/utils.ts | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/src/typeschema/utils.ts b/src/typeschema/utils.ts index 021ed79e..340ec39e 100644 --- a/src/typeschema/utils.ts +++ b/src/typeschema/utils.ts @@ -330,25 +330,25 @@ export const mkTypeSchemaIndex = ( } } - const deps: { [url: string]: Identifier } = {}; - for (const e of constraintSchemas.flatMap((e) => (e as RegularTypeSchema).dependencies ?? [])) { - deps[e.url] = e; - } - - const dependencies = Object.values(deps); - const extensionMap = new Map(); - for (const anySchema of constraintSchemas.slice().reverse()) { - const extensions = (anySchema as ProfileTypeSchema).extensions ?? []; - for (const ext of extensions) { - const key = `${ext.path}|${ext.name}`; - const existing = extensionMap.get(key); - // Prefer entries with a full canonical URL over short names - if (!existing || ext.url?.includes("/")) { - extensionMap.set(key, ext); - } - } - } - const mergedExtensions = Array.from(extensionMap.values()); + const dependencies = Object.values( + Object.fromEntries( + constraintSchemas + .flatMap((s) => (s as RegularTypeSchema).dependencies ?? []) + .map((dep) => [dep.url, dep]), + ), + ); + + const mergedExtensions = Object.values( + [...constraintSchemas.filter(isProfileTypeSchema)] + .reverse() + .flatMap((s) => s.extensions ?? []) + .reduce>((acc, ext) => { + const key = `${ext.path}|${ext.name}`; + // Prefer entries with a full canonical URL over short names + if (!acc[key] || ext.url?.includes("/")) acc[key] = ext; + return acc; + }, {}), + ); return { ...schema, From d637e437d6bf3c1a7cc28f5743d8ccf59e59ea80 Mon Sep 17 00:00:00 2001 From: Aleksandr Penskoi Date: Thu, 26 Feb 2026 18:03:55 +0100 Subject: [PATCH 13/16] Extract profile extension logic into separate module Move profile extension extraction functions from transformer.ts to profile-extensions.ts for better separation of concerns. --- src/typeschema/core/profile-extensions.ts | 195 ++++++++++++++++++++++ src/typeschema/core/transformer.ts | 191 +-------------------- 2 files changed, 197 insertions(+), 189 deletions(-) create mode 100644 src/typeschema/core/profile-extensions.ts diff --git a/src/typeschema/core/profile-extensions.ts b/src/typeschema/core/profile-extensions.ts new file mode 100644 index 00000000..538a302b --- /dev/null +++ b/src/typeschema/core/profile-extensions.ts @@ -0,0 +1,195 @@ +/** + * Profile Extension Extraction + * + * Extracts ProfileExtension data from FHIR schemas with derivation === "constraint". + * Handles both legacy sub-extension format (extension:name) and modern slicing format. + */ + +import type { FHIRSchemaElement } from "@atomic-ehr/fhirschema"; +import type { Register } from "@root/typeschema/register"; +import type { CodegenLogger } from "@root/utils/codegen-logger"; +import { + type CanonicalUrl, + concatIdentifiers, + type ExtensionSubField, + type Identifier, + type Name, + type ProfileExtension, + type RichFHIRSchema, +} from "@typeschema/types"; + +import { buildFieldType } from "./field-builder"; + +const extractExtensionValueTypes = ( + register: Register, + fhirSchema: RichFHIRSchema, + extensionUrl: CanonicalUrl, + logger?: CodegenLogger, +): Identifier[] | undefined => { + const extensionSchema = register.resolveFs(fhirSchema.package_meta, extensionUrl); + if (!extensionSchema?.elements) return undefined; + + const valueTypes: Identifier[] = []; + for (const [key, element] of Object.entries(extensionSchema.elements)) { + if (element.choiceOf !== "value" && !key.startsWith("value")) continue; + const fieldType = buildFieldType(register, extensionSchema, [key], element, logger); + if (fieldType) valueTypes.push(fieldType); + } + + return concatIdentifiers(valueTypes); +}; + +const extractLegacySubExtensions = ( + register: Register, + extensionSchema: RichFHIRSchema, + logger?: CodegenLogger, +): ExtensionSubField[] => { + const subExtensions: ExtensionSubField[] = []; + if (!extensionSchema.elements) return subExtensions; + + for (const [key, element] of Object.entries(extensionSchema.elements)) { + if (!key.startsWith("extension:")) continue; + + const sliceName = key.split(":")[1]; + if (!sliceName) continue; + + let valueType: Identifier | undefined; + for (const [elemKey, elemValue] of Object.entries(element.elements ?? {})) { + if (elemValue.choiceOf !== "value" && !elemKey.startsWith("value")) continue; + valueType = buildFieldType(register, extensionSchema, [key, elemKey], elemValue, logger); + if (valueType) break; + } + + subExtensions.push({ + name: sliceName, + url: element.url ?? sliceName, + valueType, + min: element.min, + max: element.max !== undefined ? String(element.max) : undefined, + }); + } + return subExtensions; +}; + +const extractSlicingSubExtensions = (extensionSchema: RichFHIRSchema): ExtensionSubField[] => { + const subExtensions: ExtensionSubField[] = []; + const extensionElement = extensionSchema.elements?.extension as any; + const slices = extensionElement?.slicing?.slices; + if (!slices || typeof slices !== "object") return subExtensions; + + for (const [sliceName, sliceData] of Object.entries(slices)) { + const slice = sliceData as any; + const schema = slice.schema; + if (!schema) continue; + + let valueType: Identifier | undefined; + for (const [elemKey, elemValue] of Object.entries(schema.elements ?? {})) { + const elem = elemValue as any; + if (elem.choiceOf !== "value" && !elemKey.startsWith("value")) continue; + if (elem.type) { + valueType = { + kind: "complex-type" as const, + package: extensionSchema.package_meta.name, + version: extensionSchema.package_meta.version, + name: elem.type as any, + url: `http://hl7.org/fhir/StructureDefinition/${elem.type}` as CanonicalUrl, + }; + break; + } + } + + subExtensions.push({ + name: sliceName, + url: slice.match?.url ?? sliceName, + valueType, + min: schema._required ? 1 : (schema.min ?? 0), + // biome-ignore lint/style/noNestedTernary : okay here + max: schema.max !== undefined ? String(schema.max) : schema.array ? "*" : "1", + }); + } + return subExtensions; +}; + +const extractSubExtensions = ( + register: Register, + fhirSchema: RichFHIRSchema, + extensionUrl: CanonicalUrl, + logger?: CodegenLogger, +): ExtensionSubField[] | undefined => { + const extensionSchema = register.resolveFs(fhirSchema.package_meta, extensionUrl); + if (!extensionSchema?.elements) return undefined; + + const legacySubs = extractLegacySubExtensions(register, extensionSchema, logger); + const slicingSubs = extractSlicingSubExtensions(extensionSchema); + const subExtensions = [...legacySubs, ...slicingSubs]; + + return subExtensions.length > 0 ? subExtensions : undefined; +}; + +export const extractProfileExtensions = ( + register: Register, + fhirSchema: RichFHIRSchema, + logger?: CodegenLogger, +): ProfileExtension[] | undefined => { + const extensions: ProfileExtension[] = []; + + const addExtensionEntry = (path: string[], name: string, schema: FHIRSchemaElement) => { + let url = schema.url as CanonicalUrl | undefined; + let valueTypes = url ? extractExtensionValueTypes(register, fhirSchema, url, logger) : undefined; + const subExtensions = url ? extractSubExtensions(register, fhirSchema, url, logger) : undefined; + + // For extension profiles, sub-extension entries may lack a url. + // Fall back to slicing data to extract the url and value type. + if (!url) { + const sliceSchema = (fhirSchema.elements?.extension as any)?.slicing?.slices?.[name]?.schema; + if (sliceSchema) { + url = (sliceSchema.elements?.url?.fixed?.value ?? name) as CanonicalUrl; + for (const [_elemKey, elemValue] of Object.entries(sliceSchema.elements ?? {})) { + const elem = elemValue as { choiceOf?: string; type?: string }; + if (elem.choiceOf === "value" && elem.type) { + valueTypes = [ + { + kind: "complex-type" as const, + package: fhirSchema.package_meta.name, + version: fhirSchema.package_meta.version, + name: elem.type as Name, + url: `http://hl7.org/fhir/StructureDefinition/${elem.type}` as CanonicalUrl, + }, + ]; + break; + } + } + } + } + + const isComplex = subExtensions !== undefined && subExtensions.length > 0; + extensions.push({ + name, + path: [...path, "extension"].join("."), + url, + min: schema.min, + max: schema.max !== undefined ? String(schema.max) : undefined, + mustSupport: schema.mustSupport, + valueTypes, + subExtensions, + isComplex, + }); + }; + + const walkElement = (path: string[], element: Pick) => { + if (element.extensions) { + for (const [name, schema] of Object.entries(element.extensions)) { + addExtensionEntry(path, name, schema); + } + } + if (element.elements) { + for (const [key, child] of Object.entries(element.elements)) { + walkElement([...path, key], child); + } + } + }; + + walkElement([], fhirSchema); + + return extensions.length === 0 ? undefined : extensions; +}; diff --git a/src/typeschema/core/transformer.ts b/src/typeschema/core/transformer.ts index b264613f..7fd95321 100644 --- a/src/typeschema/core/transformer.ts +++ b/src/typeschema/core/transformer.ts @@ -9,16 +9,12 @@ import { shouldSkipCanonical } from "@root/typeschema/skip-hack"; import type { CodegenLogger } from "@root/utils/codegen-logger"; import type { Register } from "@typeschema/register"; import { - type CanonicalUrl, concatIdentifiers, - type ExtensionSubField, type Field, type Identifier, isNestedIdentifier, isProfileIdentifier, - type Name, type NestedType, - type ProfileExtension, packageMetaToFhir, type RichFHIRSchema, type RichValueSet, @@ -27,9 +23,10 @@ import { } from "@typeschema/types"; import { collectBindingSchemas, extractValueSetConceptsByUrl } from "./binding"; -import { buildFieldType, isNestedElement, mkField, mkNestedField } from "./field-builder"; +import { isNestedElement, mkField, mkNestedField } from "./field-builder"; import { mkIdentifier, mkValueSetIdentifierByUrl } from "./identifier"; import { extractNestedDependencies, mkNestedTypes } from "./nested-types"; +import { extractProfileExtensions } from "./profile-extensions"; export function mkFields( register: Register, @@ -158,190 +155,6 @@ function transformFhirSchemaResource( return [typeSchema, ...bindingSchemas]; } -function extractExtensionValueTypes( - register: Register, - fhirSchema: RichFHIRSchema, - extensionUrl: CanonicalUrl, - logger?: CodegenLogger, -): Identifier[] | undefined { - const extensionSchema = register.resolveFs(fhirSchema.package_meta, extensionUrl); - if (!extensionSchema?.elements) return undefined; - - const valueTypes: Identifier[] = []; - for (const [key, element] of Object.entries(extensionSchema.elements)) { - if (element.choiceOf !== "value" && !key.startsWith("value")) continue; - const fieldType = buildFieldType(register, extensionSchema, [key], element, logger); - if (fieldType) valueTypes.push(fieldType); - } - - return concatIdentifiers(valueTypes); -} - -const extractLegacySubExtensions = ( - register: Register, - extensionSchema: RichFHIRSchema, - logger?: CodegenLogger, -): ExtensionSubField[] => { - const subExtensions: ExtensionSubField[] = []; - if (!extensionSchema.elements) return subExtensions; - - for (const [key, element] of Object.entries(extensionSchema.elements)) { - if (!key.startsWith("extension:")) continue; - - const sliceName = key.split(":")[1]; - if (!sliceName) continue; - - let valueType: Identifier | undefined; - for (const [elemKey, elemValue] of Object.entries(element.elements ?? {})) { - if (elemValue.choiceOf !== "value" && !elemKey.startsWith("value")) continue; - valueType = buildFieldType(register, extensionSchema, [key, elemKey], elemValue, logger); - if (valueType) break; - } - - subExtensions.push({ - name: sliceName, - url: element.url ?? sliceName, - valueType, - min: element.min, - max: element.max !== undefined ? String(element.max) : undefined, - }); - } - return subExtensions; -}; - -const extractSlicingSubExtensions = (extensionSchema: RichFHIRSchema): ExtensionSubField[] => { - const subExtensions: ExtensionSubField[] = []; - const extensionElement = extensionSchema.elements?.extension as any; - const slices = extensionElement?.slicing?.slices; - if (!slices || typeof slices !== "object") return subExtensions; - - for (const [sliceName, sliceData] of Object.entries(slices)) { - const slice = sliceData as any; - const schema = slice.schema; - if (!schema) continue; - - let valueType: Identifier | undefined; - for (const [elemKey, elemValue] of Object.entries(schema.elements ?? {})) { - const elem = elemValue as any; - if (elem.choiceOf !== "value" && !elemKey.startsWith("value")) continue; - if (elem.type) { - valueType = { - kind: "complex-type" as const, - package: extensionSchema.package_meta.name, - version: extensionSchema.package_meta.version, - name: elem.type as any, - url: `http://hl7.org/fhir/StructureDefinition/${elem.type}` as CanonicalUrl, - }; - break; - } - } - - subExtensions.push({ - name: sliceName, - url: slice.match?.url ?? sliceName, - valueType, - min: schema._required ? 1 : (schema.min ?? 0), - // biome-ignore lint/style/noNestedTernary : okay here - max: schema.max !== undefined ? String(schema.max) : schema.array ? "*" : "1", - }); - } - return subExtensions; -}; - -const extractSubExtensions = ( - register: Register, - fhirSchema: RichFHIRSchema, - extensionUrl: CanonicalUrl, - logger?: CodegenLogger, -): ExtensionSubField[] | undefined => { - const extensionSchema = register.resolveFs(fhirSchema.package_meta, extensionUrl); - if (!extensionSchema?.elements) return undefined; - - const legacySubs = extractLegacySubExtensions(register, extensionSchema, logger); - const slicingSubs = extractSlicingSubExtensions(extensionSchema); - const subExtensions = [...legacySubs, ...slicingSubs]; - - return subExtensions.length > 0 ? subExtensions : undefined; -}; - -function extractProfileExtensions( - register: Register, - fhirSchema: RichFHIRSchema, - logger?: CodegenLogger, -): ProfileExtension[] | undefined { - const extensions: ProfileExtension[] = []; - - const addExtensionEntry = (path: string[], name: string, schema: FHIRSchemaElement) => { - let url = schema.url as CanonicalUrl | undefined; - let valueTypes = url ? extractExtensionValueTypes(register, fhirSchema, url, logger) : undefined; - const subExtensions = url ? extractSubExtensions(register, fhirSchema, url, logger) : undefined; - - // For extension profiles, sub-extension entries may lack a url. - // Fall back to slicing data to extract the url and value type. - if (!url) { - const sliceSchema = (fhirSchema.elements?.extension as any)?.slicing?.slices?.[name]?.schema; - if (sliceSchema) { - url = (sliceSchema.elements?.url?.fixed?.value ?? name) as CanonicalUrl; - for (const [_elemKey, elemValue] of Object.entries(sliceSchema.elements ?? {})) { - const elem = elemValue as { choiceOf?: string; type?: string }; - if (elem.choiceOf === "value" && elem.type) { - valueTypes = [ - { - kind: "complex-type" as const, - package: fhirSchema.package_meta.name, - version: fhirSchema.package_meta.version, - name: elem.type as Name, - url: `http://hl7.org/fhir/StructureDefinition/${elem.type}` as CanonicalUrl, - }, - ]; - break; - } - } - } - } - - const isComplex = subExtensions !== undefined && subExtensions.length > 0; - extensions.push({ - name, - path: [...path, "extension"].join("."), - url, - min: schema.min, - max: schema.max !== undefined ? String(schema.max) : undefined, - mustSupport: schema.mustSupport, - valueTypes, - subExtensions, - isComplex, - }); - }; - - const walkElement = (path: string[], element: FHIRSchemaElement) => { - if (element.extensions) { - for (const [name, schema] of Object.entries(element.extensions)) { - addExtensionEntry(path, name, schema); - } - } - if (element.elements) { - for (const [key, child] of Object.entries(element.elements)) { - walkElement([...path, key], child); - } - } - }; - - if (fhirSchema.extensions) { - for (const [name, schema] of Object.entries(fhirSchema.extensions)) { - addExtensionEntry([], name, schema); - } - } - - if (fhirSchema.elements) { - for (const [key, element] of Object.entries(fhirSchema.elements)) { - walkElement([key], element); - } - } - - return extensions.length === 0 ? undefined : extensions; -} - export async function transformFhirSchema( register: Register, fhirSchema: RichFHIRSchema, From 0a86ae81df4a20f091fd5fe7c46cc0d82faa5f89 Mon Sep 17 00:00:00 2001 From: Aleksandr Penskoi Date: Thu, 26 Feb 2026 18:10:59 +0100 Subject: [PATCH 14/16] Update CLAUDE.md --- CLAUDE.md | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/CLAUDE.md b/CLAUDE.md index 91149da7..7af5686b 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -7,7 +7,7 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co ```bash # Development bun install # Install dependencies -bun test # Run all tests +bun test # Run all tests bun test --watch # Run tests in watch mode bun test --coverage # Run tests with coverage bun run typecheck # Type check the codebase @@ -22,6 +22,19 @@ bun run cli typeschema generate hl7.fhir.r4.core@4.0.1 -o schemas.ndjson bun run cli generate typescript -i schemas.ndjson -o ./types ``` +## Verification + +After any code change, run at minimum: +```bash +bun run typecheck && bun run lint && bun test +``` + +For full verification including example generation and cross-project type checking: +```bash +make all +``` +This runs: tests, lint with auto-fix, and all example generation pipelines (TypeScript R4, CCDA, SQL-on-FHIR, C#, Python, Mustache). + ## Architecture Overview This is a FHIR code generation toolkit with a **three-stage pipeline**: @@ -69,6 +82,13 @@ FHIR Package → TypeSchema Generator → TypeSchema Format → Code Generators - **Generated code**: Output goes to `generated/` directory - **Utilities**: Common functions in `src/utils.ts` and `src/typeschema/utils.ts` +## General Principles + +- Bias toward action: start making changes directly. Do not write plan files, explore the entire codebase, or use Task sub-agents unless explicitly asked. +- Keep changes minimal and focused. Do not over-engineer (no extra abstractions, generics, or variants beyond what was requested). When in doubt, do the simplest thing that works. +- Only modify files and directories that were explicitly mentioned or are directly required by the change. Do not refactor surrounding code. +- When asked to review or explain code, explain first before proposing fixes. Do not jump to making changes unless explicitly asked to fix something. + ## Development Guidelines ### TypeScript Configuration From cb406b8b33cc26b1b25fa485a3902ab69c96dbc5 Mon Sep 17 00:00:00 2001 From: Aleksandr Penskoi Date: Thu, 26 Feb 2026 18:25:51 +0100 Subject: [PATCH 15/16] Rename PatternValue to ValueConstraint --- src/api/writer-generator/typescript.ts | 4 +- src/typeschema/core/field-builder.ts | 10 +- src/typeschema/core/profile-extensions.ts | 2 +- src/typeschema/types.ts | 6 +- .../__snapshots__/cda.test.ts.snap | 180 ------------------ 5 files changed, 11 insertions(+), 191 deletions(-) diff --git a/src/api/writer-generator/typescript.ts b/src/api/writer-generator/typescript.ts index 6a15f985..15464415 100644 --- a/src/api/writer-generator/typescript.ts +++ b/src/api/writer-generator/typescript.ts @@ -214,8 +214,8 @@ const collectProfileFactoryInfo = (flatProfile: ProfileTypeSchema): ProfileFacto continue; } - if (field.patternValue) { - const value = JSON.stringify(field.patternValue.value); + if (field.valueConstraint) { + const value = JSON.stringify(field.valueConstraint.value); autoFields.push({ name, value: field.array ? `[${value}]` : value }); continue; } diff --git a/src/typeschema/core/field-builder.ts b/src/typeschema/core/field-builder.ts index 0a03bc59..47d02621 100644 --- a/src/typeschema/core/field-builder.ts +++ b/src/typeschema/core/field-builder.ts @@ -16,9 +16,9 @@ import type { FieldSlicing, Identifier, Name, - PatternValue, RegularField, RichFHIRSchema, + ValueConstraint, } from "../types"; import { BINDABLE_TYPES, buildEnum } from "./binding"; import { mkBindingIdentifier, mkIdentifier } from "./identifier"; @@ -178,11 +178,11 @@ export const mkField = ( if (!fieldType) logger?.dryWarn(`Field type not found for '${fhirSchema.url}#${path.join(".")}' (${fhirSchema.derivation})`); - let patternValue: PatternValue | undefined; + let valueConstraint: ValueConstraint | undefined; if (element.pattern) { - patternValue = { kind: "pattern", type: element.pattern.type, value: element.pattern.value }; + valueConstraint = { kind: "pattern", type: element.pattern.type, value: element.pattern.value }; } else if (element.fixed) { - patternValue = { kind: "fixed", type: element.fixed.type, value: element.fixed.value }; + valueConstraint = { kind: "fixed", type: element.fixed.type, value: element.fixed.value }; } return { @@ -202,7 +202,7 @@ export const mkField = ( binding: binding, enum: enumResult, - patternValue, + valueConstraint, }; }; diff --git a/src/typeschema/core/profile-extensions.ts b/src/typeschema/core/profile-extensions.ts index 538a302b..c7210585 100644 --- a/src/typeschema/core/profile-extensions.ts +++ b/src/typeschema/core/profile-extensions.ts @@ -162,7 +162,7 @@ export const extractProfileExtensions = ( } } - const isComplex = subExtensions !== undefined && subExtensions.length > 0; + const isComplex = subExtensions && subExtensions.length > 0; extensions.push({ name, path: [...path, "extension"].join("."), diff --git a/src/typeschema/types.ts b/src/typeschema/types.ts index b171eae2..8dd56dd2 100644 --- a/src/typeschema/types.ts +++ b/src/typeschema/types.ts @@ -24,7 +24,7 @@ export const extractNameFromCanonical = (canonical: CanonicalUrl, dropFragment = return localName; }; -export type PatternValue = { +export type ValueConstraint = { kind: "pattern" | "fixed"; type: string; value: FS.FHIRValue; @@ -266,7 +266,7 @@ export interface RegularField { min?: number; max?: number; slicing?: FieldSlicing; - patternValue?: PatternValue; + valueConstraint?: ValueConstraint; } export interface ChoiceFieldDeclaration { @@ -290,7 +290,7 @@ export interface ChoiceFieldInstance { min?: number; max?: number; slicing?: FieldSlicing; - patternValue?: PatternValue; + valueConstraint?: ValueConstraint; } export type Concept = { diff --git a/test/api/write-generator/multi-package/__snapshots__/cda.test.ts.snap b/test/api/write-generator/multi-package/__snapshots__/cda.test.ts.snap index ab988c18..b67944a3 100644 --- a/test/api/write-generator/multi-package/__snapshots__/cda.test.ts.snap +++ b/test/api/write-generator/multi-package/__snapshots__/cda.test.ts.snap @@ -1,185 +1,5 @@ // Bun Snapshot v1, https://bun.sh/docs/test/snapshots -exports[`CCDA TypeScript Generation should generate ClinicalDocument type 1`] = ` -"// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - -import type { ANY } from "../hl7-cda-uv-core/ANY"; -import type { Authenticator } from "../hl7-cda-uv-core/Authenticator"; -import type { Author } from "../hl7-cda-uv-core/Author"; -import type { Authorization } from "../hl7-cda-uv-core/Authorization"; -import type { CD } from "../hl7-cda-uv-core/CD"; -import type { CE } from "../hl7-cda-uv-core/CE"; -import type { Component } from "../hl7-cda-uv-core/Component"; -import type { ComponentOf } from "../hl7-cda-uv-core/ComponentOf"; -import type { CS } from "../hl7-cda-uv-core/CS"; -import type { Custodian } from "../hl7-cda-uv-core/Custodian"; -import type { DataEnterer } from "../hl7-cda-uv-core/DataEnterer"; -import type { DocumentationOf } from "../hl7-cda-uv-core/DocumentationOf"; -import type { II } from "../hl7-cda-uv-core/II"; -import type { Informant } from "../hl7-cda-uv-core/Informant"; -import type { InformationRecipient } from "../hl7-cda-uv-core/InformationRecipient"; -import type { InFulfillmentOf } from "../hl7-cda-uv-core/InFulfillmentOf"; -import type { INT } from "../hl7-cda-uv-core/INT"; -import type { LegalAuthenticator } from "../hl7-cda-uv-core/LegalAuthenticator"; -import type { Participant1 } from "../hl7-cda-uv-core/Participant1"; -import type { RecordTarget } from "../hl7-cda-uv-core/RecordTarget"; -import type { RelatedDocument } from "../hl7-cda-uv-core/RelatedDocument"; -import type { ST } from "../hl7-cda-uv-core/ST"; -import type { TS } from "../hl7-cda-uv-core/TS"; - -import type { Element } from "../hl7-fhir-r5-core/Element"; -// CanonicalURL: http://hl7.org/cda/stds/core/StructureDefinition/ClinicalDocument (pkg: hl7.cda.uv.core#2.0.1-sd) -export interface ClinicalDocument extends ANY { - authenticator?: Authenticator[]; - author: Author[]; - authorization?: Authorization[]; - classCode?: string; - _classCode?: Element; - code: CE; - component: Component; - componentOf?: ComponentOf; - confidentialityCode: CE; - copyTime?: TS; - custodian: Custodian; - dataEnterer?: DataEnterer; - documentationOf?: DocumentationOf[]; - effectiveTime: TS; - id: II; - informant?: Informant[]; - informationRecipient?: InformationRecipient[]; - inFulfillmentOf?: InFulfillmentOf[]; - languageCode?: CS; - legalAuthenticator?: LegalAuthenticator; - moodCode?: ("INT" | "APT" | "ARQ" | "PRMS" | "PRP" | "RQO" | "SLOT" | "DEF" | "EVN" | "EVN.CRT" | "GOL" | "OPT" | "PERM" | "PERMRQ"); - _moodCode?: Element; - participant?: Participant1[]; - realmCode?: CS[]; - recordTarget: RecordTarget[]; - relatedDocument?: RelatedDocument[]; - sdtcCategory?: CD[]; - sdtcStatusCode?: CS; - setId?: II; - templateId?: II[]; - title?: ST; - typeId?: II; - versionNumber?: INT; -} -" -`; - -exports[`CCDA Python Generation should generate ClinicalDocument type (promoted logical) 1`] = ` -"# WARNING: This file is autogenerated by @atomic-ehr/codegen. -# GitHub: https://github.com/atomic-ehr/codegen -# Any manual changes made to this file may be overwritten. - -from __future__ import annotations -from pydantic import BaseModel, ConfigDict, Field, PositiveInt -from typing import List as PyList, Literal - - - -class ClinicalDocument(ANY): - model_config = ConfigDict(validate_by_name=True, serialize_by_alias=True, extra="forbid") - resource_type: str = Field( - default='ClinicalDocument', - alias='resourceType', - serialization_alias='resourceType', - frozen=True, - pattern='ClinicalDocument' - ) - authenticator: PyList[Authenticator] | None = Field(None, alias="authenticator", serialization_alias="authenticator") - author: PyList[Author] = Field(alias="author", serialization_alias="author") - authorization: PyList[Authorization] | None = Field(None, alias="authorization", serialization_alias="authorization") - class_code: str | None = Field(None, alias="classCode", serialization_alias="classCode") - code: CE = Field(alias="code", serialization_alias="code") - component: Component = Field(alias="component", serialization_alias="component") - component_of: ComponentOf | None = Field(None, alias="componentOf", serialization_alias="componentOf") - confidentiality_code: CE = Field(alias="confidentialityCode", serialization_alias="confidentialityCode") - copy_time: TS | None = Field(None, alias="copyTime", serialization_alias="copyTime") - custodian: Custodian = Field(alias="custodian", serialization_alias="custodian") - data_enterer: DataEnterer | None = Field(None, alias="dataEnterer", serialization_alias="dataEnterer") - documentation_of: PyList[DocumentationOf] | None = Field(None, alias="documentationOf", serialization_alias="documentationOf") - effective_time: TS = Field(alias="effectiveTime", serialization_alias="effectiveTime") - id: II = Field(alias="id", serialization_alias="id") - informant: PyList[Informant] | None = Field(None, alias="informant", serialization_alias="informant") - information_recipient: PyList[InformationRecipient] | None = Field(None, alias="informationRecipient", serialization_alias="informationRecipient") - in_fulfillment_of: PyList[InFulfillmentOf] | None = Field(None, alias="inFulfillmentOf", serialization_alias="inFulfillmentOf") - language_code: CS | None = Field(None, alias="languageCode", serialization_alias="languageCode") - legal_authenticator: LegalAuthenticator | None = Field(None, alias="legalAuthenticator", serialization_alias="legalAuthenticator") - mood_code: Literal["INT", "APT", "ARQ", "PRMS", "PRP", "RQO", "SLOT", "DEF", "EVN", "EVN.CRT", "GOL", "OPT", "PERM", "PERMRQ"] | None = Field(None, alias="moodCode", serialization_alias="moodCode") - participant: PyList[Participant1] | None = Field(None, alias="participant", serialization_alias="participant") - realm_code: PyList[CS] | None = Field(None, alias="realmCode", serialization_alias="realmCode") - record_target: PyList[RecordTarget] = Field(alias="recordTarget", serialization_alias="recordTarget") - related_document: PyList[RelatedDocument] | None = Field(None, alias="relatedDocument", serialization_alias="relatedDocument") - sdtc_category: PyList[CD] | None = Field(None, alias="sdtcCategory", serialization_alias="sdtcCategory") - sdtc_status_code: CS | None = Field(None, alias="sdtcStatusCode", serialization_alias="sdtcStatusCode") - set_id: II | None = Field(None, alias="setId", serialization_alias="setId") - template_id: PyList[II] | None = Field(None, alias="templateId", serialization_alias="templateId") - title: ST | None = Field(None, alias="title", serialization_alias="title") - type_id: II | None = Field(None, alias="typeId", serialization_alias="typeId") - version_number: INT | None = Field(None, alias="versionNumber", serialization_alias="versionNumber") - - def to_json(self, indent: int | None = None) -> str: - return self.model_dump_json(exclude_unset=True, exclude_none=True, indent=indent) - - @classmethod - def from_json(cls, json: str) -> ClinicalDocument: - return cls.model_validate_json(json) - -" -`; - -exports[`CCDA C# Generation should generate ClinicalDocument type (promoted logical) 1`] = ` -"// WARNING: This file is autogenerated by @atomic-ehr/codegen. -// GitHub: https://github.com/atomic-ehr/codegen -// Any manual changes made to this file may be overwritten. - - -namespace Fhir.Types.Hl7CdaUvCore; - -public class ClinicalDocument : ANY { - public Authenticator[]? Authenticator { get; set; } - public required Author[] Author { get; set; } - public Authorization[]? Authorization { get; set; } - public string? ClassCode { get; set; } - public required CE Code { get; set; } - public required Component Component { get; set; } - public ComponentOf? ComponentOf { get; set; } - public required CE ConfidentialityCode { get; set; } - public TS? CopyTime { get; set; } - public required Custodian Custodian { get; set; } - public DataEnterer? DataEnterer { get; set; } - public DocumentationOf[]? DocumentationOf { get; set; } - public required TS EffectiveTime { get; set; } - public required II Id { get; set; } - public Informant[]? Informant { get; set; } - public InformationRecipient[]? InformationRecipient { get; set; } - public InFulfillmentOf[]? InFulfillmentOf { get; set; } - public CS? LanguageCode { get; set; } - public LegalAuthenticator? LegalAuthenticator { get; set; } - public ClinicalDocumentMoodCodeBindingEnum? MoodCode { get; set; } - public Participant1[]? Participant { get; set; } - public CS[]? RealmCode { get; set; } - public required RecordTarget[] RecordTarget { get; set; } - public RelatedDocument[]? RelatedDocument { get; set; } - public CD[]? SdtcCategory { get; set; } - public CS? SdtcStatusCode { get; set; } - public II? SetId { get; set; } - public II[]? TemplateId { get; set; } - public ST? Title { get; set; } - public II? TypeId { get; set; } - public INT? VersionNumber { get; set; } - - public override string ToString() => - JsonSerializer.Serialize(this, Helper.JsonSerializerOptions); - -} - -" -`; - exports[`CDA TypeScript Generation should generate ClinicalDocument type 1`] = ` "// WARNING: This file is autogenerated by @atomic-ehr/codegen. // GitHub: https://github.com/atomic-ehr/codegen From f3ac16837d3efde798e9cd1199b7bdd5e7403c0d Mon Sep 17 00:00:00 2001 From: Aleksandr Penskoi Date: Thu, 26 Feb 2026 19:06:27 +0100 Subject: [PATCH 16/16] Fix high severity rollup vulnerability (GHSA-mw96-cpmx-2vgc) Add rollup override to force >=4.59.0 for all transitive dependencies, resolving the arbitrary file write via path traversal vulnerability. --- bun.lock | 53 +++++++++++++++++++++++++++++----------------------- package.json | 3 ++- 2 files changed, 32 insertions(+), 24 deletions(-) diff --git a/bun.lock b/bun.lock index 787b301a..1a5fe5df 100644 --- a/bun.lock +++ b/bun.lock @@ -27,6 +27,7 @@ }, "overrides": { "minimatch": ">=10.2.1", + "rollup": ">=4.59.0", }, "packages": { "@atomic-ehr/fhir-canonical-manager": ["@atomic-ehr/fhir-canonical-manager@0.0.20", "", { "peerDependencies": { "typescript": "^5" }, "bin": { "fcm": "dist/cli/index.js" } }, "sha512-fDvHAkY8KWh7qPg/zKWelnixkE7sWkXMoESzx4YC1ndMiX9Hd9bWXVV9SycEL2NbarU0rMchlKDCo/LkvecsnQ=="], @@ -169,49 +170,55 @@ "@pkgjs/parseargs": ["@pkgjs/parseargs@0.11.0", "", {}, "sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg=="], - "@rollup/rollup-android-arm-eabi": ["@rollup/rollup-android-arm-eabi@4.52.4", "", { "os": "android", "cpu": "arm" }, "sha512-BTm2qKNnWIQ5auf4deoetINJm2JzvihvGb9R6K/ETwKLql/Bb3Eg2H1FBp1gUb4YGbydMA3jcmQTR73q7J+GAA=="], + "@rollup/rollup-android-arm-eabi": ["@rollup/rollup-android-arm-eabi@4.59.0", "", { "os": "android", "cpu": "arm" }, "sha512-upnNBkA6ZH2VKGcBj9Fyl9IGNPULcjXRlg0LLeaioQWueH30p6IXtJEbKAgvyv+mJaMxSm1l6xwDXYjpEMiLMg=="], - "@rollup/rollup-android-arm64": ["@rollup/rollup-android-arm64@4.52.4", "", { "os": "android", "cpu": "arm64" }, "sha512-P9LDQiC5vpgGFgz7GSM6dKPCiqR3XYN1WwJKA4/BUVDjHpYsf3iBEmVz62uyq20NGYbiGPR5cNHI7T1HqxNs2w=="], + "@rollup/rollup-android-arm64": ["@rollup/rollup-android-arm64@4.59.0", "", { "os": "android", "cpu": "arm64" }, "sha512-hZ+Zxj3SySm4A/DylsDKZAeVg0mvi++0PYVceVyX7hemkw7OreKdCvW2oQ3T1FMZvCaQXqOTHb8qmBShoqk69Q=="], - "@rollup/rollup-darwin-arm64": ["@rollup/rollup-darwin-arm64@4.52.4", "", { "os": "darwin", "cpu": "arm64" }, "sha512-QRWSW+bVccAvZF6cbNZBJwAehmvG9NwfWHwMy4GbWi/BQIA/laTIktebT2ipVjNncqE6GLPxOok5hsECgAxGZg=="], + "@rollup/rollup-darwin-arm64": ["@rollup/rollup-darwin-arm64@4.59.0", "", { "os": "darwin", "cpu": "arm64" }, "sha512-W2Psnbh1J8ZJw0xKAd8zdNgF9HRLkdWwwdWqubSVk0pUuQkoHnv7rx4GiF9rT4t5DIZGAsConRE3AxCdJ4m8rg=="], - "@rollup/rollup-darwin-x64": ["@rollup/rollup-darwin-x64@4.52.4", "", { "os": "darwin", "cpu": "x64" }, "sha512-hZgP05pResAkRJxL1b+7yxCnXPGsXU0fG9Yfd6dUaoGk+FhdPKCJ5L1Sumyxn8kvw8Qi5PvQ8ulenUbRjzeCTw=="], + "@rollup/rollup-darwin-x64": ["@rollup/rollup-darwin-x64@4.59.0", "", { "os": "darwin", "cpu": "x64" }, "sha512-ZW2KkwlS4lwTv7ZVsYDiARfFCnSGhzYPdiOU4IM2fDbL+QGlyAbjgSFuqNRbSthybLbIJ915UtZBtmuLrQAT/w=="], - "@rollup/rollup-freebsd-arm64": ["@rollup/rollup-freebsd-arm64@4.52.4", "", { "os": "freebsd", "cpu": "arm64" }, "sha512-xmc30VshuBNUd58Xk4TKAEcRZHaXlV+tCxIXELiE9sQuK3kG8ZFgSPi57UBJt8/ogfhAF5Oz4ZSUBN77weM+mQ=="], + "@rollup/rollup-freebsd-arm64": ["@rollup/rollup-freebsd-arm64@4.59.0", "", { "os": "freebsd", "cpu": "arm64" }, "sha512-EsKaJ5ytAu9jI3lonzn3BgG8iRBjV4LxZexygcQbpiU0wU0ATxhNVEpXKfUa0pS05gTcSDMKpn3Sx+QB9RlTTA=="], - "@rollup/rollup-freebsd-x64": ["@rollup/rollup-freebsd-x64@4.52.4", "", { "os": "freebsd", "cpu": "x64" }, "sha512-WdSLpZFjOEqNZGmHflxyifolwAiZmDQzuOzIq9L27ButpCVpD7KzTRtEG1I0wMPFyiyUdOO+4t8GvrnBLQSwpw=="], + "@rollup/rollup-freebsd-x64": ["@rollup/rollup-freebsd-x64@4.59.0", "", { "os": "freebsd", "cpu": "x64" }, "sha512-d3DuZi2KzTMjImrxoHIAODUZYoUUMsuUiY4SRRcJy6NJoZ6iIqWnJu9IScV9jXysyGMVuW+KNzZvBLOcpdl3Vg=="], - "@rollup/rollup-linux-arm-gnueabihf": ["@rollup/rollup-linux-arm-gnueabihf@4.52.4", "", { "os": "linux", "cpu": "arm" }, "sha512-xRiOu9Of1FZ4SxVbB0iEDXc4ddIcjCv2aj03dmW8UrZIW7aIQ9jVJdLBIhxBI+MaTnGAKyvMwPwQnoOEvP7FgQ=="], + "@rollup/rollup-linux-arm-gnueabihf": ["@rollup/rollup-linux-arm-gnueabihf@4.59.0", "", { "os": "linux", "cpu": "arm" }, "sha512-t4ONHboXi/3E0rT6OZl1pKbl2Vgxf9vJfWgmUoCEVQVxhW6Cw/c8I6hbbu7DAvgp82RKiH7TpLwxnJeKv2pbsw=="], - "@rollup/rollup-linux-arm-musleabihf": ["@rollup/rollup-linux-arm-musleabihf@4.52.4", "", { "os": "linux", "cpu": "arm" }, "sha512-FbhM2p9TJAmEIEhIgzR4soUcsW49e9veAQCziwbR+XWB2zqJ12b4i/+hel9yLiD8pLncDH4fKIPIbt5238341Q=="], + "@rollup/rollup-linux-arm-musleabihf": ["@rollup/rollup-linux-arm-musleabihf@4.59.0", "", { "os": "linux", "cpu": "arm" }, "sha512-CikFT7aYPA2ufMD086cVORBYGHffBo4K8MQ4uPS/ZnY54GKj36i196u8U+aDVT2LX4eSMbyHtyOh7D7Zvk2VvA=="], - "@rollup/rollup-linux-arm64-gnu": ["@rollup/rollup-linux-arm64-gnu@4.52.4", "", { "os": "linux", "cpu": "arm64" }, "sha512-4n4gVwhPHR9q/g8lKCyz0yuaD0MvDf7dV4f9tHt0C73Mp8h38UCtSCSE6R9iBlTbXlmA8CjpsZoujhszefqueg=="], + "@rollup/rollup-linux-arm64-gnu": ["@rollup/rollup-linux-arm64-gnu@4.59.0", "", { "os": "linux", "cpu": "arm64" }, "sha512-jYgUGk5aLd1nUb1CtQ8E+t5JhLc9x5WdBKew9ZgAXg7DBk0ZHErLHdXM24rfX+bKrFe+Xp5YuJo54I5HFjGDAA=="], - "@rollup/rollup-linux-arm64-musl": ["@rollup/rollup-linux-arm64-musl@4.52.4", "", { "os": "linux", "cpu": "arm64" }, "sha512-u0n17nGA0nvi/11gcZKsjkLj1QIpAuPFQbR48Subo7SmZJnGxDpspyw2kbpuoQnyK+9pwf3pAoEXerJs/8Mi9g=="], + "@rollup/rollup-linux-arm64-musl": ["@rollup/rollup-linux-arm64-musl@4.59.0", "", { "os": "linux", "cpu": "arm64" }, "sha512-peZRVEdnFWZ5Bh2KeumKG9ty7aCXzzEsHShOZEFiCQlDEepP1dpUl/SrUNXNg13UmZl+gzVDPsiCwnV1uI0RUA=="], - "@rollup/rollup-linux-loong64-gnu": ["@rollup/rollup-linux-loong64-gnu@4.52.4", "", { "os": "linux", "cpu": "none" }, "sha512-0G2c2lpYtbTuXo8KEJkDkClE/+/2AFPdPAbmaHoE870foRFs4pBrDehilMcrSScrN/fB/1HTaWO4bqw+ewBzMQ=="], + "@rollup/rollup-linux-loong64-gnu": ["@rollup/rollup-linux-loong64-gnu@4.59.0", "", { "os": "linux", "cpu": "none" }, "sha512-gbUSW/97f7+r4gHy3Jlup8zDG190AuodsWnNiXErp9mT90iCy9NKKU0Xwx5k8VlRAIV2uU9CsMnEFg/xXaOfXg=="], - "@rollup/rollup-linux-ppc64-gnu": ["@rollup/rollup-linux-ppc64-gnu@4.52.4", "", { "os": "linux", "cpu": "ppc64" }, "sha512-teSACug1GyZHmPDv14VNbvZFX779UqWTsd7KtTM9JIZRDI5NUwYSIS30kzI8m06gOPB//jtpqlhmraQ68b5X2g=="], + "@rollup/rollup-linux-loong64-musl": ["@rollup/rollup-linux-loong64-musl@4.59.0", "", { "os": "linux", "cpu": "none" }, "sha512-yTRONe79E+o0FWFijasoTjtzG9EBedFXJMl888NBEDCDV9I2wGbFFfJQQe63OijbFCUZqxpHz1GzpbtSFikJ4Q=="], - "@rollup/rollup-linux-riscv64-gnu": ["@rollup/rollup-linux-riscv64-gnu@4.52.4", "", { "os": "linux", "cpu": "none" }, "sha512-/MOEW3aHjjs1p4Pw1Xk4+3egRevx8Ji9N6HUIA1Ifh8Q+cg9dremvFCUbOX2Zebz80BwJIgCBUemjqhU5XI5Eg=="], + "@rollup/rollup-linux-ppc64-gnu": ["@rollup/rollup-linux-ppc64-gnu@4.59.0", "", { "os": "linux", "cpu": "ppc64" }, "sha512-sw1o3tfyk12k3OEpRddF68a1unZ5VCN7zoTNtSn2KndUE+ea3m3ROOKRCZxEpmT9nsGnogpFP9x6mnLTCaoLkA=="], - "@rollup/rollup-linux-riscv64-musl": ["@rollup/rollup-linux-riscv64-musl@4.52.4", "", { "os": "linux", "cpu": "none" }, "sha512-1HHmsRyh845QDpEWzOFtMCph5Ts+9+yllCrREuBR/vg2RogAQGGBRC8lDPrPOMnrdOJ+mt1WLMOC2Kao/UwcvA=="], + "@rollup/rollup-linux-ppc64-musl": ["@rollup/rollup-linux-ppc64-musl@4.59.0", "", { "os": "linux", "cpu": "ppc64" }, "sha512-+2kLtQ4xT3AiIxkzFVFXfsmlZiG5FXYW7ZyIIvGA7Bdeuh9Z0aN4hVyXS/G1E9bTP/vqszNIN/pUKCk/BTHsKA=="], - "@rollup/rollup-linux-s390x-gnu": ["@rollup/rollup-linux-s390x-gnu@4.52.4", "", { "os": "linux", "cpu": "s390x" }, "sha512-seoeZp4L/6D1MUyjWkOMRU6/iLmCU2EjbMTyAG4oIOs1/I82Y5lTeaxW0KBfkUdHAWN7j25bpkt0rjnOgAcQcA=="], + "@rollup/rollup-linux-riscv64-gnu": ["@rollup/rollup-linux-riscv64-gnu@4.59.0", "", { "os": "linux", "cpu": "none" }, "sha512-NDYMpsXYJJaj+I7UdwIuHHNxXZ/b/N2hR15NyH3m2qAtb/hHPA4g4SuuvrdxetTdndfj9b1WOmy73kcPRoERUg=="], - "@rollup/rollup-linux-x64-gnu": ["@rollup/rollup-linux-x64-gnu@4.52.4", "", { "os": "linux", "cpu": "x64" }, "sha512-Wi6AXf0k0L7E2gteNsNHUs7UMwCIhsCTs6+tqQ5GPwVRWMaflqGec4Sd8n6+FNFDw9vGcReqk2KzBDhCa1DLYg=="], + "@rollup/rollup-linux-riscv64-musl": ["@rollup/rollup-linux-riscv64-musl@4.59.0", "", { "os": "linux", "cpu": "none" }, "sha512-nLckB8WOqHIf1bhymk+oHxvM9D3tyPndZH8i8+35p/1YiVoVswPid2yLzgX7ZJP0KQvnkhM4H6QZ5m0LzbyIAg=="], - "@rollup/rollup-linux-x64-musl": ["@rollup/rollup-linux-x64-musl@4.52.4", "", { "os": "linux", "cpu": "x64" }, "sha512-dtBZYjDmCQ9hW+WgEkaffvRRCKm767wWhxsFW3Lw86VXz/uJRuD438/XvbZT//B96Vs8oTA8Q4A0AfHbrxP9zw=="], + "@rollup/rollup-linux-s390x-gnu": ["@rollup/rollup-linux-s390x-gnu@4.59.0", "", { "os": "linux", "cpu": "s390x" }, "sha512-oF87Ie3uAIvORFBpwnCvUzdeYUqi2wY6jRFWJAy1qus/udHFYIkplYRW+wo+GRUP4sKzYdmE1Y3+rY5Gc4ZO+w=="], - "@rollup/rollup-openharmony-arm64": ["@rollup/rollup-openharmony-arm64@4.52.4", "", { "os": "none", "cpu": "arm64" }, "sha512-1ox+GqgRWqaB1RnyZXL8PD6E5f7YyRUJYnCqKpNzxzP0TkaUh112NDrR9Tt+C8rJ4x5G9Mk8PQR3o7Ku2RKqKA=="], + "@rollup/rollup-linux-x64-gnu": ["@rollup/rollup-linux-x64-gnu@4.59.0", "", { "os": "linux", "cpu": "x64" }, "sha512-3AHmtQq/ppNuUspKAlvA8HtLybkDflkMuLK4DPo77DfthRb71V84/c4MlWJXixZz4uruIH4uaa07IqoAkG64fg=="], - "@rollup/rollup-win32-arm64-msvc": ["@rollup/rollup-win32-arm64-msvc@4.52.4", "", { "os": "win32", "cpu": "arm64" }, "sha512-8GKr640PdFNXwzIE0IrkMWUNUomILLkfeHjXBi/nUvFlpZP+FA8BKGKpacjW6OUUHaNI6sUURxR2U2g78FOHWQ=="], + "@rollup/rollup-linux-x64-musl": ["@rollup/rollup-linux-x64-musl@4.59.0", "", { "os": "linux", "cpu": "x64" }, "sha512-2UdiwS/9cTAx7qIUZB/fWtToJwvt0Vbo0zmnYt7ED35KPg13Q0ym1g442THLC7VyI6JfYTP4PiSOWyoMdV2/xg=="], - "@rollup/rollup-win32-ia32-msvc": ["@rollup/rollup-win32-ia32-msvc@4.52.4", "", { "os": "win32", "cpu": "ia32" }, "sha512-AIy/jdJ7WtJ/F6EcfOb2GjR9UweO0n43jNObQMb6oGxkYTfLcnN7vYYpG+CN3lLxrQkzWnMOoNSHTW54pgbVxw=="], + "@rollup/rollup-openbsd-x64": ["@rollup/rollup-openbsd-x64@4.59.0", "", { "os": "openbsd", "cpu": "x64" }, "sha512-M3bLRAVk6GOwFlPTIxVBSYKUaqfLrn8l0psKinkCFxl4lQvOSz8ZrKDz2gxcBwHFpci0B6rttydI4IpS4IS/jQ=="], - "@rollup/rollup-win32-x64-gnu": ["@rollup/rollup-win32-x64-gnu@4.52.4", "", { "os": "win32", "cpu": "x64" }, "sha512-UF9KfsH9yEam0UjTwAgdK0anlQ7c8/pWPU2yVjyWcF1I1thABt6WXE47cI71pGiZ8wGvxohBoLnxM04L/wj8mQ=="], + "@rollup/rollup-openharmony-arm64": ["@rollup/rollup-openharmony-arm64@4.59.0", "", { "os": "none", "cpu": "arm64" }, "sha512-tt9KBJqaqp5i5HUZzoafHZX8b5Q2Fe7UjYERADll83O4fGqJ49O1FsL6LpdzVFQcpwvnyd0i+K/VSwu/o/nWlA=="], - "@rollup/rollup-win32-x64-msvc": ["@rollup/rollup-win32-x64-msvc@4.52.4", "", { "os": "win32", "cpu": "x64" }, "sha512-bf9PtUa0u8IXDVxzRToFQKsNCRz9qLYfR/MpECxl4mRoWYjAeFjgxj1XdZr2M/GNVpT05p+LgQOHopYDlUu6/w=="], + "@rollup/rollup-win32-arm64-msvc": ["@rollup/rollup-win32-arm64-msvc@4.59.0", "", { "os": "win32", "cpu": "arm64" }, "sha512-V5B6mG7OrGTwnxaNUzZTDTjDS7F75PO1ae6MJYdiMu60sq0CqN5CVeVsbhPxalupvTX8gXVSU9gq+Rx1/hvu6A=="], + + "@rollup/rollup-win32-ia32-msvc": ["@rollup/rollup-win32-ia32-msvc@4.59.0", "", { "os": "win32", "cpu": "ia32" }, "sha512-UKFMHPuM9R0iBegwzKF4y0C4J9u8C6MEJgFuXTBerMk7EJ92GFVFYBfOZaSGLu6COf7FxpQNqhNS4c4icUPqxA=="], + + "@rollup/rollup-win32-x64-gnu": ["@rollup/rollup-win32-x64-gnu@4.59.0", "", { "os": "win32", "cpu": "x64" }, "sha512-laBkYlSS1n2L8fSo1thDNGrCTQMmxjYY5G0WFWjFFYZkKPjsMBsgJfGf4TLxXrF6RyhI60L8TMOjBMvXiTcxeA=="], + + "@rollup/rollup-win32-x64-msvc": ["@rollup/rollup-win32-x64-msvc@4.59.0", "", { "os": "win32", "cpu": "x64" }, "sha512-2HRCml6OztYXyJXAvdDXPKcawukWY2GpR5/nxKp4iBgiO3wcoEGkAaqctIbZcNB6KlUQBIqt8VYkNSj2397EfA=="], "@tybys/wasm-util": ["@tybys/wasm-util@0.10.1", "", { "dependencies": { "tslib": "^2.4.0" } }, "sha512-9tTaPJLSiejZKx+Bmog4uSubteqTvFrVrURwkmHixBo0G4seD0zUxp98E1DzUBJxLQ3NPwXrGKDiVjwx/DpPsg=="], @@ -379,7 +386,7 @@ "reusify": ["reusify@1.1.0", "", {}, "sha512-g6QUff04oZpHs0eG5p83rFLhHeV00ug/Yf9nZM6fLeUrPguBTkTQOdpAWWspMh55TZfVQDPaN3NQJfbVRAxdIw=="], - "rollup": ["rollup@4.52.4", "", { "dependencies": { "@types/estree": "1.0.8" }, "optionalDependencies": { "@rollup/rollup-android-arm-eabi": "4.52.4", "@rollup/rollup-android-arm64": "4.52.4", "@rollup/rollup-darwin-arm64": "4.52.4", "@rollup/rollup-darwin-x64": "4.52.4", "@rollup/rollup-freebsd-arm64": "4.52.4", "@rollup/rollup-freebsd-x64": "4.52.4", "@rollup/rollup-linux-arm-gnueabihf": "4.52.4", "@rollup/rollup-linux-arm-musleabihf": "4.52.4", "@rollup/rollup-linux-arm64-gnu": "4.52.4", "@rollup/rollup-linux-arm64-musl": "4.52.4", "@rollup/rollup-linux-loong64-gnu": "4.52.4", "@rollup/rollup-linux-ppc64-gnu": "4.52.4", "@rollup/rollup-linux-riscv64-gnu": "4.52.4", "@rollup/rollup-linux-riscv64-musl": "4.52.4", "@rollup/rollup-linux-s390x-gnu": "4.52.4", "@rollup/rollup-linux-x64-gnu": "4.52.4", "@rollup/rollup-linux-x64-musl": "4.52.4", "@rollup/rollup-openharmony-arm64": "4.52.4", "@rollup/rollup-win32-arm64-msvc": "4.52.4", "@rollup/rollup-win32-ia32-msvc": "4.52.4", "@rollup/rollup-win32-x64-gnu": "4.52.4", "@rollup/rollup-win32-x64-msvc": "4.52.4", "fsevents": "~2.3.2" }, "bin": { "rollup": "dist/bin/rollup" } }, "sha512-CLEVl+MnPAiKh5pl4dEWSyMTpuflgNQiLGhMv8ezD5W/qP8AKvmYpCOKRRNOh7oRKnauBZ4SyeYkMS+1VSyKwQ=="], + "rollup": ["rollup@4.59.0", "", { "dependencies": { "@types/estree": "1.0.8" }, "optionalDependencies": { "@rollup/rollup-android-arm-eabi": "4.59.0", "@rollup/rollup-android-arm64": "4.59.0", "@rollup/rollup-darwin-arm64": "4.59.0", "@rollup/rollup-darwin-x64": "4.59.0", "@rollup/rollup-freebsd-arm64": "4.59.0", "@rollup/rollup-freebsd-x64": "4.59.0", "@rollup/rollup-linux-arm-gnueabihf": "4.59.0", "@rollup/rollup-linux-arm-musleabihf": "4.59.0", "@rollup/rollup-linux-arm64-gnu": "4.59.0", "@rollup/rollup-linux-arm64-musl": "4.59.0", "@rollup/rollup-linux-loong64-gnu": "4.59.0", "@rollup/rollup-linux-loong64-musl": "4.59.0", "@rollup/rollup-linux-ppc64-gnu": "4.59.0", "@rollup/rollup-linux-ppc64-musl": "4.59.0", "@rollup/rollup-linux-riscv64-gnu": "4.59.0", "@rollup/rollup-linux-riscv64-musl": "4.59.0", "@rollup/rollup-linux-s390x-gnu": "4.59.0", "@rollup/rollup-linux-x64-gnu": "4.59.0", "@rollup/rollup-linux-x64-musl": "4.59.0", "@rollup/rollup-openbsd-x64": "4.59.0", "@rollup/rollup-openharmony-arm64": "4.59.0", "@rollup/rollup-win32-arm64-msvc": "4.59.0", "@rollup/rollup-win32-ia32-msvc": "4.59.0", "@rollup/rollup-win32-x64-gnu": "4.59.0", "@rollup/rollup-win32-x64-msvc": "4.59.0", "fsevents": "~2.3.2" }, "bin": { "rollup": "dist/bin/rollup" } }, "sha512-2oMpl67a3zCH9H79LeMcbDhXW/UmWG/y2zuqnF2jQq5uq9TbM9TVyXvA4+t+ne2IIkBdrLpAaRQAvo7YI/Yyeg=="], "run-parallel": ["run-parallel@1.2.0", "", { "dependencies": { "queue-microtask": "^1.2.2" } }, "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA=="], diff --git a/package.json b/package.json index 0516c04b..5b95a4a9 100644 --- a/package.json +++ b/package.json @@ -84,6 +84,7 @@ "typescript": "^5.9.3" }, "overrides": { - "minimatch": ">=10.2.1" + "minimatch": ">=10.2.1", + "rollup": ">=4.59.0" } }