##clinical:hl-7-resource-datatypes
HL7 FHIR DataTypes - Building blocks for FHIR Resources.
===============================
Installation
meteor add cclinical:hl-7-resource-datatypes
===============================
Usage
Import any of the following HL7 FHIR datatypes, using SimpleSchema:
1import SimpleSchema from 'simpl-schema'; 2import { PatientSchema, Observation } from 'meteor/clinical:hl7-fhir-data-infrastructure'; 3 4import { 5 AddressSchema 6 AnnotationSchema 7 AttachmentSchema 8 BaseSchema 9 CodingSchema 10 CodeableConceptSchema 11 ContactPointSchema 12 ConformanceSchema 13 ContactPointSchema 14 DomainResourceSchema 15 GroupSchema 16 HumanNameSchema 17 IdentifierSchema 18 MetaSchema 19 MoneySchema 20 NarrativeSchema 21 OperationDefinitionSchema 22 PeriodSchema 23 QuantitySchema 24 RangeSchema 25 RatioSchema 26 ReferenceSchema 27 SampledDataSchema 28 SignatureSchema 29 StructureDefinitionSchema 30 TimingSchema 31 ValueSetSchema 32} from 'clinical:hl7-resource-datatypes'; 33 34// new FHIR resource 35const fooResource = new SimpleSchema({ 36 name: String 37}); 38fooResource.extend(BaseSchema); 39 40// sharding example 41const shardedObservationsSchema = new SimpleSchema({ 42 shardKey: String 43}); 44shardedObservationsSchema.extend(ObservationSchema);
===============================
Usage
This package is intended primarily to be used as a dependency in implementing other HL7 FHIR resource types within the Meteor ecosystem.
You may wish to import the simpl-schema
package via NPM, and/or the meteor/clinical:hl7-fhir-data-infrastructure
if you are running on Meteor and using the Atmosphere package manager.
===============================
Conformance Statement
The datatype schemas in this package are intended to be implementations of the HL7 FHIR DataTypes provided at https://www.hl7.org/fhir/datatypes.html. To the extent possible, all JSON schemas have been implemented as SimpleSchemas. The datatypes have been sort fairly stable since DSTU3 and should be mostly R4 compliant. If there is something missing for R4 compliance, please feel free to submit an issue or pull request.
===============================