-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
Currently:
export interface SubstanceAdministration extends InfrastructureRoot {
resourceType: "SubstanceAdministration";
administrationUnitCode?: CE;
approachSiteCode?: CD[];
author?: Author[];
classCode: ("FCNTRCT" | "COV" | "CNTRCT" | "CACT" | "ACTN" | "INFO" | "STC" | "CASE" | "OUTB" | "COND" | "OBSSER" | "OBSCOR" | "ROIBND" | "ROIOVL" | "OBS" | "ALRT" | "CLNTRL" | "CNOD" | "DGIMG" | "INVSTG" | "SPCOBS" | "SPLY" | "DIET" | "DOCCLIN" | "CDALVLONE" | "DOC" | "COMPOSITION" | "ENTRY" | "BATTERY" | "CLUSTER" | "EXTRACT" | "EHR" | "ORGANIZER" | "CATEGORY" | "DOCBODY" | "DOCSECT" | "TOPIC" | "FOLDER" | "ACT" | "ACCM" | "CONS" | "CTTEVENT" | "INC" | "INFRM" | "PCPR" | "REG" | "SPCTRT" | "ACCT" | "ACSN" | "ADJUD" | "CONTREG" | "DISPACT" | "ENC" | "INVE" | "LIST" | "MPROT" | "PROC" | "REV" | "SBADM" | "SUBST" | "TRNS" | "VERIF" | "XACT");
_classCode?: Element;
code?: CD;
consumable: InfrastructureRoot;Where consumable is too generic type:
export interface InfrastructureRoot extends ANY {
resourceType: "Act" | "AssignedAuthor" | "AssignedCustodian" | "AssignedEntity" | "AssociatedEntity" | "Authenticator" | "Author" | "AuthoringDevice" | "Authorization" | "Birthplace" | "Component" | "ComponentOf" | "Consent" | "Criterion" | "Custodian" | "CustodianOrganization" | "DataEnterer" | "Device" | "DocumentationOf" | "EncompassingEncounter" | "Encounter" | "EncounterParticipant" | "Entity" | "Entry" | "EntryRelationship" | "ExternalAct" | "ExternalDocument" | "ExternalObservation" | "ExternalProcedure" | "Guardian" | "HealthCareFacility" | "Informant" | "InformationRecipient" | "InfrastructureRoot" | "InFulfillmentOf" | "InFulfillmentOf1" | "IntendedRecipient" | "LabeledDrug" | "LanguageCommunication" | "LegalAuthenticator" | "MaintainedEntity" | "ManufacturedProduct" | "Material" | "NonXMLBody" | "Observation" | "ObservationMedia" | "ObservationRange" | "Order" | "Organization" | "OrganizationPartOf" | "Organizer" | "OrganizerComponent" | "ParentDocument" | "Participant1" | "Participant2" | "ParticipantRole" | "Patient" | "PatientRole" | "Performer1" | "Performer2" | "Person" | "Place" | "PlayingEntity" | "Precondition" | "Precondition2" | "PreconditionBase" | "Procedure" | "RecordTarget" | "Reference" | "RegionOfInterest" | "RelatedDocument" | "RelatedEntity" | "RelatedSubject" | "Section" | "ServiceEvent" | "Specimen" | "SpecimenRole" | "StructuredBody" | "Subject" | "SubjectPerson" | "SubstanceAdministration" | "Supply";
realmCode?: CS[];
templateId?: II[];
typeId?: II;
}but it should be a backbone element with nested types:
[
{
"id": "SubstanceAdministration.consumable",
"path": "SubstanceAdministration.consumable",
"definition": "The consumable participation is used to bring in the LabeledDrug or Material entity that describes the administered substance. The LabeledDrug class, which is an Entity class playing the Role of Manufactured Product, identifies the drug that is consumed in the substance administration. The medication is identified by means of the LabeledDrug.code or the LabeledDrug.name. The Material entity is used to identify non-drug administered substances such as vaccines and blood products.",
"min": 1,
"max": "1",
"base": {
"path": "SubstanceAdministration.consumable",
"min": 1,
"max": "1"
},
"type": [
{
"code": "http://hl7.org/cda/stds/core/StructureDefinition/InfrastructureRoot"
}
]
},
{
"id": "SubstanceAdministration.consumable.nullFlavor",
"path": "SubstanceAdministration.consumable.nullFlavor",
"representation": [
"xmlAttr"
],
"label": "Exceptional Value Detail",
"definition": "If a value is an exceptional value (NULL-value), this specifies in what way and why proper information is missing.",
"min": 0,
"max": "1",
"base": {
"path": "ANY.nullFlavor",
"min": 0,
"max": "1"
},
"type": [
{
"code": "code",
"profile": [
"http://hl7.org/cda/stds/core/StructureDefinition/cs-simple"
]
}
],
"binding": {
"strength": "required",
"valueSet": "http://hl7.org/cda/stds/core/ValueSet/CDANullFlavor"
}
},
{
"id": "SubstanceAdministration.consumable.realmCode",
"path": "SubstanceAdministration.consumable.realmCode",
"definition": "When valued in an instance, this attribute signals the imposition of realm-specific constraints. The value of this attribute identifies the realm in question",
"min": 0,
"max": "*",
"base": {
"path": "InfrastructureRoot.realmCode",
"min": 0,
"max": "*"
},
"type": [
{
"code": "http://hl7.org/cda/stds/core/StructureDefinition/CS"
}
]
},
{
"id": "SubstanceAdministration.consumable.typeId",
"path": "SubstanceAdministration.consumable.typeId",
"definition": "When valued in an instance, this attribute signals the imposition of constraints defined in an HL7-specified message type. This might be a common type (also known as CMET in the messaging communication environment), or content included within a wrapper. The value of this attribute provides a unique identifier for the type in question.",
"min": 0,
"max": "1",
"base": {
"path": "InfrastructureRoot.typeId",
"min": 0,
"max": "1"
},
"type": [
{
"code": "http://hl7.org/cda/stds/core/StructureDefinition/II"
}
],
"constraint": [
{
"key": "II-1",
"severity": "error",
"human": "An II instance must have either a root or an nullFlavor.",
"expression": "root.exists() or nullFlavor.exists()"
}
]
}
]Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels